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

* [Bug preprocessor/15824] [3.5 Regression] uchar redefinition warnings in libcpp
  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 ` pinskia at gcc dot gnu dot org
  2004-10-08 14:50 ` [Bug preprocessor/15824] [4.0 " pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-06-04 17:24 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-06-04 17:24 -------
Confirmed. Another fallout.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |build
   Last reconfirmed|0000-00-00 00:00:00         |2004-06-04 17:24:08
               date|                            |
            Summary|uchar redefinition warnings |[3.5 Regression] uchar
                   |in libcpp                   |redefinition warnings in
                   |                            |libcpp
   Target Milestone|---                         |3.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15824


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

* [Bug preprocessor/15824] [4.0 Regression] uchar redefinition warnings in libcpp
  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 ` pinskia at gcc dot gnu dot org
  2004-10-08 15:10 ` ro at techfak dot uni-bielefeld dot de
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-08 14:50 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-08 14:50 -------
Does this still happen?

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15824


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

* [Bug preprocessor/15824] [4.0 Regression] uchar redefinition warnings in libcpp
  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
  4 siblings, 0 replies; 6+ messages in thread
From: ro at techfak dot uni-bielefeld dot de @ 2004-10-08 15:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ro at techfak dot uni-bielefeld dot de  2004-10-08 15:10 -------
Subject: Re:  [4.0 Regression] uchar redefinition warnings in libcpp

pinskia at gcc dot gnu dot org writes:

> Does this still happen?

It did when I last bootstrapped mainline on alpha-dec-osf5.1b as of
20040910.

	Rainer


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15824


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

* [Bug preprocessor/15824] [4.0 Regression] uchar redefinition warnings in libcpp
  2004-06-04 17:20 [Bug preprocessor/15824] New: uchar redefinition warnings in libcpp gcc-bugzilla at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  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
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-11-24 14:02 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-11-24 14:01 -------
Subject: Bug 15824

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	sayle@gcc.gnu.org	2004-11-24 14:00:43

Modified files:
	libcpp         : ChangeLog configure.ac configure 

Log message:
	PR preprocessor/15824
	* configure.ac: Correct HAVE_UCHAR test to #include <sys/types.h>
	directly, instead of the non-existant "system.h" and "ansidecl.h".
	* configure: Regenerate.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/ChangeLog.diff?cvsroot=gcc&r1=1.40&r2=1.41
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/configure.ac.diff?cvsroot=gcc&r1=1.9&r2=1.10
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/configure.diff?cvsroot=gcc&r1=1.10&r2=1.11



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15824


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

* [Bug preprocessor/15824] [4.0 Regression] uchar redefinition warnings in libcpp
  2004-06-04 17:20 [Bug preprocessor/15824] New: uchar redefinition warnings in libcpp gcc-bugzilla at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  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
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-24 14:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-24 14:07 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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