pending_lang_change duplication?
Mark Mitchell
mark@codesourcery.com
Sat Jan 20 15:00:00 GMT 2001
There are two definitions of pending_lang_change:
In cp/lex.c:
/* Pending language change.
Positive is push count, negative is pop count. */
int pending_lang_change = 0;
In c-lex.c:
int pending_lang_change; /* If we need to switch languages - C++ only */
Both are linked into cc1plus. I don't know if this is a problem or
not, but it is confusing, and the AIX linker warns about it. Are
these supposed to be the same variable? If so, let's annihilate the
cp/lex.c version. If not, we need to rename one of them!
Thanks,
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com
More information about the Gcc
mailing list