No, it is not possible. One thing that is certanly going to miss are exception handling functions. You have to compile the main using c++ compiler.
If you really want to develop in c, and use a c++ library, you can develop a c library, and compile main with g++.
Even if compiling succeeds, linking will fail at the end. See : Why can't I link a mixed C/C++ static library that has a C interface using gcc?Why can't I link a mixed C/C++ static library that has a C interface using gcc?
And it is not only exception functionality missing. There are lots of other things, which can be easily solved by using g++ to link everything.
As I said above, the solution is to call some function from main and link it with g++ :
#include "my_c_main.h" int main(int argc, char* argv[]) { return run_my_c_main( argc, argv ); }