Commit Graph

6 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
Wolfgang Thaller
ca67a800ff fix SharedLibrary example 2021-12-11 18:08:51 +01:00
Wolfgang Thaller
3992bf904a fix missing dependency in SharedLibrary sample (#106) 2020-04-25 11:24:14 +02: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