Subj : Help: Upgrade project from Turbo C++ 3.0 to Borland C++ 5.02 To : borland.public.cpp.borlandcpp From : "Bryan Barton" Date : Mon Mar 01 2004 11:45 am I am attempting to upgrade a C++ project from TC++ 3.0 to BC++ 5.02 and I get the following error: stdlib.h(630,19): Templates and overloaded operators cannot have C linkage. Previously in my TC++ 3.0 project I basically wrapped all my C-library include directives with: extern "C" { #include "iolib.h" #include "commlib.h" } The TC++ project has always built correctly, but now I get this new error. I am assuming it's because the iolib.h file has the line #include . It didn't cause errors in the TC++ complier, are there big enough changes to the stdlib that would create such an error in the BC++ compiler? I have tried a few things like wrapping all the C function declarations in the iolib.h header file with the extern tag, but it created another list of errors, so I wanted to ask for some advice before continuing, just in case there is an easier way to solve it. I don't want to create a more hairy situation by modifying too much of the original code if there is a quicker fix. Is there a simpler way to upgrade the project to get it compiled and running correctly again? Thank you in advance for your help. - Bryan Barton .