Commit Graph

16 Commits

Author SHA1 Message Date
Ryan Schmidt
8f68ffd203 Declare all C function parameters
Specify parameters for all C functions. Not specifying parameters is the
same as specifying "void" in C++ and in C23 and later but that's not the
case in C prior to C23.

Compile C files with the same warnings as C++ files, additionally making
the strict prototypes warning an error to catch such problems in the
future. This commit isn't intended to address all the other warnings now
being emitted.
2022-12-05 06:48:30 -06:00
Ryan Schmidt
60fe5bdec9
Raytracer: Fix typo in comment 2022-07-31 12:24:34 -05:00
Wolfgang Thaller
e5185d23c3 Switch tab-indented files to 4-space indent 2019-08-18 13:21:00 +02:00
Wolfgang Thaller
c1839aed89 minor cmakelists cleanup 2019-01-22 18:29:03 +01:00
Wolfgang Thaller
35dedc550a setup -carbon flag in toolchain file 2019-01-09 00:11:12 +01:00
Wolfgang Thaller
380fef0114 cleanup CMAKE_CXX_FLAGS and fix various warnings 2019-01-04 03:35:32 +01:00
Wolfgang Thaller
ec8a5332b9 fix warning 2018-12-28 15:59:07 +01:00
Wolfgang Thaller
2dec12faee fix incorrect documentation for CMAKE_TOOLCHAIN_FILE parameter 2018-07-20 16:28:01 +02:00
Wolfgang Thaller
a919b6f1af build C version of raytracer without using c stdlib 2017-04-21 18:45:20 +02:00
Wolfgang Thaller
380c8115fe Carbon examples: some more port flushing 2015-10-12 02:48:43 +02:00
Wolfgang Thaller
79d23218a9 Clean up Carbon build 2015-10-07 00:03:28 +02:00
Wolfgang Thaller
5339e2419b uncomment QDFlushPortBuffer 2015-09-18 01:09:10 +02:00
Wolfgang Thaller
54591b457a Carbon HACKS (breaks other stuff) 2015-09-13 16:54:15 +02:00
Wolfgang Thaller
a65704d4fa update samples for powerpc 2015-09-08 18:05:00 +02:00
Wolfgang Thaller
d95202ca50 example Makefiles: use Rez instead of MakeAPPL 2015-07-21 23:40:07 +02:00
Wolfgang Thaller
9ecd799562 move Samples to subdirectory 2015-07-16 20:57:34 +02:00