public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/4256: Headers in CPLUS_INCLUDE_PATH treated as C code
@ 2001-12-02 17:32 rodrigc
  0 siblings, 0 replies; 4+ messages in thread
From: rodrigc @ 2001-12-02 17:32 UTC (permalink / raw)
  To: gcc-bugs, gcc-gnats, gcc-prs, nobody, rodrigc, scisim

Synopsis: Headers in CPLUS_INCLUDE_PATH treated as C code

State-Changed-From-To: feedback->closed
State-Changed-By: rodrigc
State-Changed-When: Sun Dec  2 17:32:48 2001
State-Changed-Why:
    No feedback.  Could not reproduce error with gcc 3.0.2.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4256&database=gcc


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

* Re: c++/4256: Headers in CPLUS_INCLUDE_PATH treated as C code
@ 2001-12-02 17:36 rodrigc
  0 siblings, 0 replies; 4+ messages in thread
From: rodrigc @ 2001-12-02 17:36 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR c++/4256; it has been noted by GNATS.

From: rodrigc@gcc.gnu.org
To: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org,
  nobody@gcc.gnu.org, rodrigc@gcc.gnu.org, scisim@astro.estec.esa.nl
Cc:  
Subject: Re: c++/4256: Headers in CPLUS_INCLUDE_PATH treated as C code
Date: 3 Dec 2001 01:32:49 -0000

 Synopsis: Headers in CPLUS_INCLUDE_PATH treated as C code
 
 State-Changed-From-To: feedback->closed
 State-Changed-By: rodrigc
 State-Changed-When: Sun Dec  2 17:32:48 2001
 State-Changed-Why:
     No feedback.  Could not reproduce error with gcc 3.0.2.
 
 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=4256&database=gcc


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

* Re: c++/4256: Headers in CPLUS_INCLUDE_PATH treated as C code
@ 2001-09-28 16:38 rodrigc
  0 siblings, 0 replies; 4+ messages in thread
From: rodrigc @ 2001-09-28 16:38 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, rodrigc, scisim

Synopsis: Headers in CPLUS_INCLUDE_PATH treated as C code

State-Changed-From-To: open->feedback
State-Changed-By: rodrigc
State-Changed-When: Fri Sep 28 16:38:25 2001
State-Changed-Why:
    I followed your instructions and could not reproduce
    the problem with gcc 3.0.1.
    Are you sure you do not have a configuration
    problem with PATH environment variables, or something
    else?

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4256&database=gcc


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

* c++/4256: Headers in CPLUS_INCLUDE_PATH treated as C code
@ 2001-09-07  2:06 scisim
  0 siblings, 0 replies; 4+ messages in thread
From: scisim @ 2001-09-07  2:06 UTC (permalink / raw)
  To: gcc-gnats

>Number:         4256
>Category:       c++
>Synopsis:       Headers in CPLUS_INCLUDE_PATH treated as C code
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 07 02:06:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jorgo Bakker
>Release:        gcc version 3.0.1
>Organization:
>Environment:
CPLUS_INCLUDE_PATH=include
>Description:
CPLUS_INCLUDE_PATH acts as if it is C_INCLUDE_PATH; treating
every header in that PATH as a C-header.
>How-To-Repeat:
$ c++ -v -c foo.cc 
Reading specs from /data/jbakker/local/solaris/gcc-3.0.1/bin/../lib/gcc-lib/sparc-sun-solaris2.6/3.0.1/specs
Configured with: ../gcc-3.0.1/configure --prefix=/data/jbakker/tmp/gcc-3.0.1 --with-gnu-as --with-as=/data/jbakker/tmp/local/bin/as --with-gnu-ld --with-ld=/data/jbakker/tmp/local/bin/ld --disable-shared --disable-threads
Thread model: single
gcc version 3.0.1
 /data/jbakker/local/solaris/gcc-3.0.1/bin/../lib/gcc-lib/sparc-sun-solaris2.6/3.0.1/cc1plus -v -iprefix /data/jbakker/local/solaris/gcc-3.0.1/bin/../lib/gcc-lib/sparc-sun-solaris2.6/3.0.1/ -D__GNUC__=3 -D__GNUC_MINOR__=0 -D__GNUC_PATCHLEVEL__=1 -Dsparc -Dsun -Dunix -D__svr4__ -D__SVR4 -D__sparc__ -D__sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__sparc -D__sun -D__unix -Asystem=unix -Asystem=svr4 -D__NO_INLINE__ -D__STDC_HOSTED__=1 -D_XOPEN_SOURCE=500 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -D__EXTENSIONS__ -D__GCC_NEW_VARARGS__ -Acpu=sparc -Amachine=sparc foo.cc -D__GNUG__=3 -D__GXX_DEPRECATED -D__EXCEPTIONS -D__GXX_ABI_VERSION=100 -quiet -dumpbase foo.cc -version -o /data/jbakker/tmp/ccDmFW9X.s
GNU CPP version 3.0.1 (cpplib) (sparc)
GNU C++ version 3.0.1 (sparc-sun-solaris2.6)
        compiled by GNU C version 3.0.1.
ignoring nonexistent directory "/data/jbakker/local/solaris/gcc-3.0.1/bin/../sparc-sun-solaris2.6/include"
ignoring nonexistent directory "/data/jbakker/tmp/gcc-3.0.1/sparc-sun-solaris2.6/include"
ignoring duplicate directory "/data/jbakker/tmp/gcc-3.0.1/include/g++-v3"
ignoring duplicate directory "/data/jbakker/tmp/gcc-3.0.1/include/g++-v3/sparc-sun-solaris2.6"
ignoring duplicate directory "/data/jbakker/tmp/gcc-3.0.1/include/g++-v3/backward"
ignoring duplicate directory "/data/jbakker/tmp/gcc-3.0.1/lib/gcc-lib/sparc-sun-solaris2.6/3.0.1/include"
#include "..." search starts here:
#include <...> search starts here:
 include
 /data/jbakker/local/solaris/gcc-3.0.1/bin/../include/g++-v3
 /data/jbakker/local/solaris/gcc-3.0.1/bin/../include/g++-v3/sparc-sun-solaris2.6
 /data/jbakker/local/solaris/gcc-3.0.1/bin/../include/g++-v3/backward
 /data/jbakker/local/solaris/gcc-3.0.1/bin/../lib/gcc-lib/sparc-sun-solaris2.6/3.0.1/include
 /usr/local/include
 /usr/include
End of search list.
In file included from foo.cc:1:
include/foo.h:4: declaration of C function `void foo(int)' conflicts with
include/foo.h:3: previous declaration `void foo(const char*)' here
include/foo.h:5: declaration of C function `void foo(double)' conflicts with
include/foo.h:4: previous declaration `void foo(int)' here
>Fix:
c++ -c -Iinclude foo.cc
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="foo.tgz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="foo.tgz"

H4sIAMmLmDsAA+3VvW7DIBAHcGY/xSld8qHUYMAeMvZJHEwUNylI2O4S5d1L61jtlE44Q/6/wRaH
JQ4dhw/evxrDkhKcl0oRI6KqGt/iNh6pKs5IVQpeCC7jrBCFZMTTpjUaur4OROx9X59ONtz5zoZu
joTm9dI6cx4aS4tDPAnHRda6nj7q1i1Xl2D7ITjiu2v26DQhkVv585RrkOKV1nf6n/jU/1qr8rv/
lVSMdMqkJk/e/1P9f7o/0Rr/3f+Cl1P9hdYiBgolC9z/c8hz2q63b5tNfGbZp28bikdhabzrejLH
OqxXu99w/Dn8HTZ+2J9tjDx6FwAAAAAAAAAAAAAAAAAAAM/tC6UVAOcAKAAA


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

end of thread, other threads:[~2001-12-03  1:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-02 17:32 c++/4256: Headers in CPLUS_INCLUDE_PATH treated as C code rodrigc
  -- strict thread matches above, loose matches on Subject: below --
2001-12-02 17:36 rodrigc
2001-09-28 16:38 rodrigc
2001-09-07  2:06 scisim

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