mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-29 05:29:47 +00:00
8f68ffd203
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. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
README.md | ||
wdef.c | ||
wdef.r | ||
wdefppc.r | ||
wdefshell.c | ||
wdefshell.r |
WDEF sample program
This sample program serves several purposes.
- It shows how to write a basic classic Mac application with windows, menus and desk accessories.
- It shows how to write a very primitive custom window definition (WDEF).
- It shows how to compile a WDEF (or a similar code resource) and include it in an application.
- It shows how to avoid 3. and include the window definition procedure directly in the application.