This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/15824] New: uchar redefinition warnings in libcpp
- From: "gcc-bugzilla at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Jun 2004 17:20:15 -0000
- Subject: [Bug preprocessor/15824] New: uchar redefinition warnings in libcpp
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
[Btw., there's currently no libcpp category, so I'm reporting for preprocessor.]
Since libcpp was moved to the toplevel, bootstraps on Tru64 UNIX (both
alpha-dec-osf4.0f and alpha-dec-osf5.1b) again show redefinition warnings:
/vol/gnu/src/gcc/gcc-dist/libcpp/internal.h:49: warning: redefinition of `uchar'
/vol/gcc/obj/gnat/3.3.2/5.1b/lib/gcc-lib/alpha-dec-osf5.1b/3.3.2/include/sys/types.h:626: warning: `uchar' previously declared here
This seems to happen because the uchar test in libcpp/configure.ac now
incorrectly fails (from config.log):
configure:6450: gcc -c -g -O2 conftest.c >&5
conftest.c:50:22: ansidecl.h: No such file or directory
conftest.c:51:20: system.h: No such file or directory
conftest.c: In function `main':
conftest.c:56: error: `uchar' undeclared (first use in this function)
conftest.c:56: error: (Each undeclared identifier is reported only once
conftest.c:56: error: for each function it appears in.)
conftest.c:56: error: parse error before ')' token
configure:6456: $? = 1
Obviously the test needs to be adapted for the new location outside the gcc
directory.
Environment:
System: OSF1 bartok V5.1 2650 alpha
Machine: alpha
host: alpha-dec-osf5.1b
build: alpha-dec-osf5.1b
target: alpha-dec-osf5.1b
configured with: /vol/gnu/src/gcc/gcc-dist/configure --prefix=/vol/gcc --with-local-prefix=/vol/gcc --disable-nls --host alpha-dec-osf5.1b --build alpha-dec-osf5.1b --target alpha-dec-osf5.1b --disable-libmudflap
How-To-Repeat:
Bootstrap on Tru64 UNIX as described above.
--
Summary: uchar redefinition warnings in libcpp
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: preprocessor
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ro at techfak dot uni-bielefeld dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: alpha-dec-osf5.1b
GCC host triplet: alpha-dec-osf5.1b
GCC target triplet: alpha-dec-osf5.1b
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15824