Fixed: Checked all extern "C" usage for correctness, fixed problems
Wrote a script that checks two conditions: - extern "C" blocks are closed in the same header file - no #includes are done inside extern "C" blocks
Found a couple of violations of both rules and fixed them. The Unix build now no longer reports strange errors about "static" in linkage specification.
Fixed: Checked all extern "C" usage for correctness, fixed problems
Wrote a script that checks two conditions:
- extern "C" blocks are closed in the same header file
- no #includes are done inside extern "C" blocks
Found a couple of violations of both rules and fixed them. The Unix
build now no longer reports strange errors about "static" in linkage
specification.