public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Hegde, Ramesh" <rameshh@hp.com>
To: <gcc-help@gcc.gnu.org>
Cc: "Hegde, Ramesh" <rameshh@hp.com>, <gcc@gcc.gnu.org>
Subject: FW:  error: expected unqualified-id before '(' token with gcc 3.4.3
Date: Mon, 25 Jul 2005 11:06:00 -0000	[thread overview]
Message-ID: <F93E06200225CD4A9FDDB7E7DEB3658801EEB024@bgeexc04.asiapacific.cpqcorp.net> (raw)

 
Hello 
 
I have taken the opensoruce from
http://www-personal.engin.umich.edu/~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 -DOC_GCC_C -DOC_GCC_OBJC
-DOC_GCC_CPP -fPIC -D_GNU_SOURCE -DOC_GNUSTEP -DOC_LITTLE_ENDIAN
-DPEGASUS_PLATFORM_LINUX_IX86_GNU -DDEBUG
-DDINDICATION_DIR=\"/var/cache/pegasus\" -O -g -O2
"-DCM_WHATSTRING=\"evtfrmw IndicationProvider
CM_WHATSTRING_PLACEHOLDER_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\"" -fpermissive
-I/opt/OC/OCSDK_supportability_W8_00/include
-I/opt/OC/OCSDK_supportability_W6_00/include -I/opt/tog-pegasus/include
-Ibuild/evtfrmw/code/IndicationProvider -Imod_exp/evtfrmw/export/libAis
-c build/evtfrmw/code/IndicationProvider/OCEventProvider.cpp -o
build/evtfrmw/code/IndicationProvider/OCEventProvider.o
In file included from
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c++/3.4.3/sstre
am:640,
                 from
build/evtfrmw/code/IndicationProvider/ConfigFile.h:50,
                 from
build/evtfrmw/code/IndicationProvider/OCEventProvider.cpp:12:
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c++/3.4.3/bits/
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)':
/usr/lib/gcc/i386-redhat-linux/3.4.3/../../../../include/c++/3.4.3/bits/
sstream.tcc:104: error: expected unqualified-id before '(' token
cons: *** [build/evtfrmw/code/IndicationProvider/OCEventProvider.o]
Error 1
cons: errors constructing
build/evtfrmw/code/IndicationProvider/OCEventProvider.o

Can anybody encounted this problem? Any idea where to fix this problem? 
 
I have found the same error reported by somebody on Solaris
http://www.opensolaris.org/jive/thread.jspa?threadID=974&tstart=0 with
no responses
 
Thanks in Advance
 
Regards
Ramesh

                 reply	other threads:[~2005-07-25 11:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F93E06200225CD4A9FDDB7E7DEB3658801EEB024@bgeexc04.asiapacific.cpqcorp.net \
    --to=rameshh@hp.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).