Re: C Linkage errors with templates

2001-12-06 Thread D. Stimits
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 o

C Linkage errors with templates

2001-12-04 Thread Altenau, Maureen D CECOM RDEC C2D
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 c