Bug 18874 - /usr/include/stdlib.h Conflicts with local compiles.
Summary: /usr/include/stdlib.h Conflicts with local compiles.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: glibc
Version: 7.0
Hardware: i686
OS: Linux
medium
high
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Aaron Brown
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-10-11 08:17 UTC by Need Real Name
Modified: 2016-11-24 15:03 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-12-15 02:23:54 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2000-10-11 08:17:49 UTC
When trying to compile some programs on RH 7, /usr/include/stdlib.h causes
an error to occure listing this as the reason:

/usr/include/GL/glut.h:202: declaration of 'void exit (int)' throws
different exceptions
/usr/include/stdlib.h:578: than previous declaration 'void exit (int)
throw()'

This error occured when trying to compile tux-racer, and also running the
configure script for compiling Clan Lib.  These programs have no connection
with each other, so I think it might be a problem with glibc, but I have
been proven wrong before.

Tim

Comment 1 Ulrich Drepper 2001-02-07 04:55:14 UTC
It is illegal to redefine a function from the system libraries.  The application
code must be fixed.



Note You need to log in before you can comment on or make changes to this bug.