This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

target/3817: fixincludes `fixes' ncurses.h



>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]