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
ca67a800ff
fix SharedLibrary example
2021-12-11 18:08:51 +01:00
Wolfgang Thaller
2d89db2e3c
MPWTest: only include Retro68Runtime.h on 68K
2021-12-08 22:35:00 +01:00
Wolfgang Thaller
fbdf2c4bcb
Fix Dialog sample for Carbon on classic MacOS ( #110 )
2020-07-22 20:02:29 +02:00
Wolfgang Thaller
3992bf904a
fix missing dependency in SharedLibrary sample ( #106 )
2020-04-25 11:24:14 +02:00
Wolfgang Thaller
e4b1ee0920
update/fix sample Makefile (see #98 )
2019-12-07 15:24:48 +01:00
Wolfgang Thaller
4cc414dbd7
Carbon requires certain 'SIZE' flags to be set
2019-11-12 00:09:00 +01:00
Wolfgang Thaller
7ea81a2ee6
don't require CMake 3.13 yet
2019-11-10 17:56:59 +01:00
Wolfgang Thaller
a7b75dcecc
fix comment
2019-11-10 17:40:23 +01:00
Wolfgang Thaller
b3ec14bf76
add SharedLibrary example
2019-11-09 20:20:07 +01:00
Wolfgang Thaller
898ebff404
improve MultiversalInterfaces compatibility
2019-09-09 01:05:01 +02:00
Wolfgang Thaller
e5185d23c3
Switch tab-indented files to 4-space indent
2019-08-18 13:21:00 +02:00
Wolfgang Thaller
f16edcfbef
another attempt at fixing dependencies
2019-08-12 22:37:22 +02:00
Ezra Buehler
b6ad702a0f
Samples: fix build for WDEF
2019-07-22 10:48:20 -04: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
8f645b0b9e
start figuring out how to create MPW Tools using Retro68
2018-05-05 12:34:12 +02:00
Wolfgang Thaller
310ad344c2
Calling RecoverHandle on the wrong address is bad, so don't, for now. (see #33 )
2018-04-17 19:07:48 +02:00
Wolfgang Thaller
12270f7caa
WDEF sample: PowerPC support
2018-01-07 17:28:28 +01:00
Wolfgang Thaller
e608b466ce
New Sample Program: WDEF
2018-01-06 03:11:48 +01:00
Wolfgang Thaller
8b5f06cb9b
Fix #28 : Don't pass Elf2Mac options on PPC. There is life beyond the 68K.
2017-10-02 09:21:28 +02:00
Wolfgang Thaller
c10538e350
build Samples/Dialog as single-segment app (to prevent the code path from rotting)
2017-09-30 23:38:23 +02:00
Wolfgang Thaller
821bc04a7a
set -ffunction-sections option on libretro and libConsole, and use gc-sections in Samples/HelloWorld.
2017-09-29 22:31:35 +02:00
Wolfgang Thaller
284126e13c
Elf2Mac now generates CODE resources itself; --mac-flat for the old functionality
2017-09-24 16:00:00 +02:00
Wolfgang Thaller
0ecc07538f
Make things work with Universal Interfaces 3.0
2017-09-21 15:41:10 +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
9866de71bb
More Carbon support (Dialogs example)
2015-10-08 22:44:18 +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
4ae36b70fb
startup code & cmake stuff for ppc
2015-09-01 00:04:20 +02:00
Wolfgang Thaller
d95202ca50
example Makefiles: use Rez instead of MakeAPPL
2015-07-21 23:40:07 +02:00
Wolfgang Thaller
b15b38d1b7
slight reorganisation of cmake toolchain files to clean up dependencies in build
2015-07-20 21:38:01 +02:00
Wolfgang Thaller
f1c4fe3a22
MakeAPPL is now obsolete, as everything it does can be done by Rez
2015-07-20 20:05:38 +02:00
Wolfgang Thaller
f549ead8ac
have startup code ensure that code resource is locked.
2015-07-20 02:02:28 +02:00
Wolfgang Thaller
d26d88f5ee
Rez: better error reporting
2015-07-19 00:59:46 +02:00
Wolfgang Thaller
ee00fe1ec5
build SystemExtension example in multiple formats
2015-07-18 23:58:41 +02:00
Wolfgang Thaller
7aaa3174df
One more example: a System Extension (INIT)
2015-07-18 01:14:43 +02:00
Wolfgang Thaller
e4d2e8bd00
fix build-toolchain, make Dialog sample compile with another Universal Headers version
2015-07-17 19:39:44 +02:00
Wolfgang Thaller
a6c14ce2cc
cleanup
2015-07-17 02:00:51 +02:00
Wolfgang Thaller
9237ce6392
Integrate Rez with the add_application cmake command, add "Dialog" sample
2015-07-17 00:32:27 +02:00
Wolfgang Thaller
9ecd799562
move Samples to subdirectory
2015-07-16 20:57:34 +02:00