Bug 17579

Summary: Mesa glut.h redefines void exit(int)
Product: [Retired] Red Hat Linux Reporter: roystgnr
Component: MesaAssignee: Bernhard Rosenkraenzer <bero>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-09-18 00:17:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description roystgnr 2000-09-18 00:17:32 UTC
Using Mesa-devel-3.3-5 and glibc-devel-2.1.92-5, I get an error compiling
kdebase (from KDE 1.94):

g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/lib/qt2/include
-I/usr/X11R6/include  -I/usr/X11R6/include -UQT_NO_ASCII_CAST   -O2 -m486
-fno-strength-reduce -frtti -I/usr/X11R6/include -DQT_CLEAN_NAMESPACE
-DQT_NO_COMPAT -DQT_NO_ASCII_CAST  -c morph3d.cpp
In file included from morph3d.cpp:65:
/usr/include/GL/glut.h:202: declaration of `void exit (int)' throws 
different exceptions
/usr/include/stdlib.h:577: than previous declaration `void exit (int) 
throw ()'

I haven't tried making a test case, but I'd be surprised if any program
including glut.h and stdlib.h didn't give the same error.  Commenting out
the definition in glut.h seemed to fix things.

Comment 1 Bernhard Rosenkraenzer 2000-09-23 15:21:10 UTC
Thanks for reporting this, fixed in 3.3-5.

Comment 2 Bernhard Rosenkraenzer 2000-09-23 15:28:57 UTC
Oops, make that 3.3-6