public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug preprocessor/15824] New: uchar redefinition warnings in libcpp
@ 2004-06-04 17:20 gcc-bugzilla at gcc dot gnu dot org
  2004-06-04 17:24 ` [Bug preprocessor/15824] [3.5 Regression] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: gcc-bugzilla at gcc dot gnu dot org @ 2004-06-04 17:20 UTC (permalink / raw)
  To: gcc-bugs

[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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-11-24 14:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-04 17:20 [Bug preprocessor/15824] New: uchar redefinition warnings in libcpp gcc-bugzilla at gcc dot gnu dot org
2004-06-04 17:24 ` [Bug preprocessor/15824] [3.5 Regression] " pinskia at gcc dot gnu dot org
2004-10-08 14:50 ` [Bug preprocessor/15824] [4.0 " pinskia at gcc dot gnu dot org
2004-10-08 15:10 ` ro at techfak dot uni-bielefeld dot de
2004-11-24 14:02 ` cvs-commit at gcc dot gnu dot org
2004-11-24 14:08 ` pinskia at gcc dot gnu dot org

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).