This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
cp/decl.c not ISO C
- To: gcc-bugs at gcc dot gnu dot org
- Subject: cp/decl.c not ISO C
- From: Jim Wilson <wilson at cygnus dot com>
- Date: Mon, 11 Oct 1999 22:00:47 -0700
- cc: mark at codesourcery dot com
It has
#define current_binding_level \
(current_function \
? cp_function_chain->bindings \
: scope_chain->bindings)
and then later
current_binding_level = newlevel;
An ISO C compiler (the SGI C compiler) complains that the left hand side is
not an lvalue.
If we've adopted the convention that the C++ front end is now written in
GNU C instead of ISO C then this is OK, but I thought I should mention it
in case it was accidental.
Jim