Bug 18874 - /usr/include/stdlib.h Conflicts with local compiles.
/usr/include/stdlib.h Conflicts with local compiles.
Product: Red Hat Linux
Classification: Retired
Component: glibc (Show other bugs)
i686 Linux
medium Severity high
: ---
: ---
Assigned To: Jakub Jelinek
Aaron Brown
Depends On:
  Show dependency treegraph
Reported: 2000-10-11 04:17 EDT by Need Real Name
Modified: 2016-11-24 10:03 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-12-14 21:23:54 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2000-10-11 04:17:49 EDT
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)

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.

Comment 1 Ulrich Drepper 2001-02-06 23:55:14 EST
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.