public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: target/3817: fixincludes `fixes' ncurses.h
@ 2001-07-31 13:06 ljrittle
0 siblings, 0 replies; 3+ messages in thread
From: ljrittle @ 2001-07-31 13:06 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, jsberg, nobody
Synopsis: fixincludes `fixes' ncurses.h
State-Changed-From-To: open->closed
State-Changed-By: ljrittle
State-Changed-When: Tue Jul 31 13:06:39 2001
State-Changed-Why:
Closed at Bruce Korb's request (he patched it).
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3817&database=gcc
^ permalink raw reply [flat|nested] 3+ messages in thread
* target/3817: fixincludes `fixes' ncurses.h
@ 2001-07-25 11:36 Bruce Korb
0 siblings, 0 replies; 3+ messages in thread
From: Bruce Korb @ 2001-07-25 11:36 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR target/3817; it has been noted by GNATS.
From: Bruce Korb <bkorb@veritas.com>
To: gcc-gnats@gcc.gnu.org, jsberg@bnl.gov
Cc:
Subject: target/3817: fixincludes `fixes' ncurses.h
Date: Wed, 25 Jul 2001 11:27:56 -0700
I recommend closing this bug as a user error.
/usr/include is a *system* include directory.
Packages should not be installed with their
prefixes set to /usr. If you do, then you must
either figure out how to rerun fixincludes (left as
an exercise for the reader), or reinstall GCC.
You pick.
^ permalink raw reply [flat|nested] 3+ messages in thread
* target/3817: fixincludes `fixes' ncurses.h
@ 2001-07-25 10:36 jsberg
0 siblings, 0 replies; 3+ messages in thread
From: jsberg @ 2001-07-25 10:36 UTC (permalink / raw)
To: gcc-gnats
>Number: 3817
>Category: target
>Synopsis: fixincludes `fixes' ncurses.h
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jul 25 10:36:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: J. Scott Berg
>Release: 3.0
>Organization:
>Environment:
System: Linux jsberg1 2.2.18 #1 SMP Mon Dec 18 15:52:57 EST 2000 i686 unknown
Architecture: i686
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../gcc-3.0/configure --prefix=/opt/gcc-3.0
>Description:
when gcc-3.0 was built, ncurses-5.1 was installed. The build
felt the need to create
/opt/gcc-3.0/lib/gcc-lib/i686-pc-linux-gnu/3.0/include/ncurses.h
nurses was subsequently updated to 5.2, and now it doesn't work
since the ncurses.h file that gcc installed is incompatable with the
ncurses.h include files that were installed with ncurses-5.2.
>How-To-Repeat:
Install ncurses 5.1 with /usr prefix
Install gcc-3.0
Install ncurses 5.2 with /usr prefix
Create a file with the single line
#include <ncurses.h>
Compile with
gcc -c test.c
The result is
In file included from /opt/gcc-3.0/lib/gcc-lib/i686-pc-linux-gnu/3.0/include/ncurses.h:86,
from test00.c:1:
/usr/include/unctrl.h:57: parse error before "unctrl"
>Fix:
Remove ncurses.h and curses.h that gcc-3.0 installed.
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-07-31 13:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-31 13:06 target/3817: fixincludes `fixes' ncurses.h ljrittle
-- strict thread matches above, loose matches on Subject: below --
2001-07-25 11:36 Bruce Korb
2001-07-25 10:36 jsberg
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).