G
George R. Gonzalez
Ok, I've wasted two days trying to figure this out.
I'm stuck using Symantec C++ 7.5 on this one project.
I'd port it over to something more recent, but time is pressing...
I need to move some functions out to another file,
compile them separately, then link the whole shebang back together.
Good old C++ name mangling is getting in the way.
I tried "_cdecl" in the function bodies, the compiler accepts it, but no go,
names still are mangled.
I tried "extern "C"" in the declarations, this seems to work.
But I still can't export the actual code with the simple unmangled name!
Of course the Symantec C on-line help doesnt even mention _cdecl
or anythijng similar.
Any hints appreciated!!
I'm stuck using Symantec C++ 7.5 on this one project.
I'd port it over to something more recent, but time is pressing...
I need to move some functions out to another file,
compile them separately, then link the whole shebang back together.
Good old C++ name mangling is getting in the way.
I tried "_cdecl" in the function bodies, the compiler accepts it, but no go,
names still are mangled.
I tried "extern "C"" in the declarations, this seems to work.
But I still can't export the actual code with the simple unmangled name!
Of course the Symantec C on-line help doesnt even mention _cdecl
or anythijng similar.
Any hints appreciated!!