|
From: Asko K. <ask...@sc...> - 2003-02-26 13:49:53
|
My problems with C/C++ differences still continue: - I have two almost identical libraries that I want to compile (with DevCpp 4.9.7.0). Lua40 (scripting language engine) compiles okay (objdump shows proper ANSI C function names), but (a newer version) Lua50 creates C++ mangled function names in the .o files. How can I prevent this and what might be causing it? I've tried "-xc" as compiler option (to force C language) - didn't work. I've lower-cap'd all the filenames so that they're not mistaken to be .C . The source itself should be plain ANSI C only, not C++. Can it be some old temporary file lurking somewhere, from the time my files were .C ...? Any other ideas? -ak |