This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
[pch-branch] missing binary operator issue.
- From: Karel Gardas <kgardas at objectsecurity dot com>
- To: GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Fri, 13 Dec 2002 11:41:43 +0100 (CET)
- Subject: [pch-branch] missing binary operator issue.
Hello,
I've updated to todays pch-branch sources and try to compile MICO with
this compiler. Unfortunatelly, when using PCH it fails to compile first
file with:
os-unix.cc:194:12: missing binary operator before token "("
os-unix.cc:243:14: missing binary operator before token "("
../include/mico/code_set_registry.h:5: warning: `CORBA::Codeset::Info
_osf_cs_reg[193]' defined but not used
This file is perfectly compilable w/o using PCH with this compiler.
Problematic lines look:
193
194 #if defined(HAVE_DLOPEN) && defined(HAVE_DYNAMIC)
195
and
242
243 #elif defined(HAVE_SHL_LOAD) && defined(HAVE_DYNAMIC)
244
FYI: Comeau is perfectly ok with these sources even with PCH on, so I hope
they are ok from PCH point of view, but it might be a bug in gcc.
Anything what should I test for you?
Thanks,
Karel
--
Karel Gardas kgardas@objectsecurity.com
ObjectSecurity Ltd. http://www.objectsecurity.com