Hello,
I'm trying to compile a C app as C++, but it doesn't run. I looked at the .s files, and one difference with the C++ compilation is the line:
IMPORT ||Lib$$Request$$cpplib|| [CODE,WEAK]
Maybe this is the problem (or, one of the problems.)
Is there a way of preventing the compiler from including this library if I compile with the --cpp option?
It's possible to want to use references, classes, namespaces etc without wanting to use any C++ library functionality.
Some compilers/linkers manages to include quite a lot of C++ code even if the program doesn't really make use of STL, streams etc.