The construct 'extern "C"' is a C++ construct, and is illegal syntax in C code. Rename your file to main.cpp or use the --cpp_default (also known as -fg) option to tell the compiler that .c files are actually C++ files.
↧
The construct 'extern "C"' is a C++ construct, and is illegal syntax in C code. Rename your file to main.cpp or use the --cpp_default (also known as -fg) option to tell the compiler that .c files are actually C++ files.