I did see something that might indicate it is a compiler problem that only exists in certain versions. Whether this applies to g++ or egcs in your current version, I don't know, but for a particular case someone said to do this: add -DBZ_DISABLE_XOPEN_SOURCE to the CXXFLAGS (CXXFLAGS just being options to compile of you c-plusplus source to intermediate .o object files; you can use it during link time also if you compile directly from c-plusplus to executable)
D. Stimits, [EMAIL PROTECTED] "Altenau, Maureen D CECOM RDEC C2D" wrote: > > I am getting errors when I compile my application code and I include .hpp > files that define templates. These files are found in the util directory > such as ValueArrayOf.hpp, ValueStackOf.hpp and ValueVectorOf.hpp. The error > I get is "Template with C Linkage". It was explained to me that if the > compiler sees C linkage then it will flag certain C++ features as errors. > The problem is that I do not see anywhere in the code where there is extern > C (which would indicate c linkage). I do not know why the compiler is > flagging these features. I am using g++. I thought that I may need to set > a compiler option or a compiler directive that I am not aware of. Any help > would be appreciated. > > Maureen > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]