0

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
-DC_GCC_CPP -fPIC -D_GNU_SURCE -DC_GNUSTEP -DC_LITTLE_ENDIAN
-DDEBUG
-DDINDICATIN_DIR=\"/var/cache/pegasus\" -g
"-DCM_WHATSTRING=\"evtfrmw IndicationProvider


\"" -fpermissive

-I/opt/tog-pegasus/include

-c -o

In file included from
/
am:640,
from
,
from

/
sstream.tcc: In member function `virtual typename
std::basic_stringbuf<_CharT, _Traits, _Alloc>::int_type
std::basic_stringbuf<_CharT, _Traits, _Alloc>::overflow(typename
_Traits::int_type)':
/
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
with
no responses

Thanks in Advance

2
Contributors
1
Reply
4
Views
7 Years
Discussion Span
Last Post by gerard4143
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.