I have taken the opensoruce from
~wagnerr/ConfigFile.html for reading
configuration file. It perfectly works fine with gcc 3.2.3 and it fail
to compile with gcc 3.4.3 on RHEL 4

I am getting following error

g++ -Wno-trigraphs -Wno-unused -Wno-deprecated -Wpointer-arith
-fno-common -fno-strict-aliasing -fexceptions -DC_GCC_C -DC_GCCBJC
-DDINDICATIN_DIR=\"/var/cache/pegasus\" -g
"-DCM_WHATSTRING=\"evtfrmw IndicationProvider

\"" -fpermissive


-c -o

In file included from

sstream.tcc: In member function `virtual typename
std::basic_stringbuf<_CharT, _Traits, _Alloc>::int_type
std::basic_stringbuf<_CharT, _Traits, _Alloc>::overflow(typename
sstream.tcc:104: error: expected unqualified-id before '(' token
cons: []
Error 1
cons: errors constructing

Can anybody encounted this problem? Any idea where to fix this problem?

I have found the same error reported by somebody on Solaris
no responses

Thanks in Advance

g++ -Wno-trigraphs -Wno-unused -Wno-deprecated -Wpointer-arith

Why are you posting C++ in the C forum?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.