Closed Bug 177914 Opened 22 years ago Closed 22 years ago

Problem compiling nsSigHandlers.cpp, gcc 3.2, RH 8.0

Categories

(SeaMonkey :: Build Config, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 177912

People

(Reporter: gl, Assigned: netscape)

Details

I get an error when compiling with  gcc 3.2 under RH 8.0


In file included from ../../dist/include/xpcom/nsID.h:41,
                 from ../../dist/include/xpcom/nsISupportsBase.h:44,
                 from ../../dist/include/xpcom/nsISupportsUtils.h:49,
                 from nsSigHandlers.cpp:116:
/usr/include/string.h:319: declaration of `char* strsignal(int) throw ()'
   throws different exceptions
nsSigHandlers.cpp:71: than previous declaration `char* strsignal(int)'
make[3]: *** [nsSigHandlers.o] Error 1
make[3]: Leaving directory `/home/gl/mozilla/xpfe/bootstrap'
make[2]: *** [tier_99] Error 2
make[2]: Leaving directory `/home/gl/mozilla'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/gl/mozilla'
make: *** [build] Error 2


To workaround I commented out the following line in nsSigHandlers.cpp 
but that isnt the real solution
//extern "C" char * strsignal(int);

*** This bug has been marked as a duplicate of 177912 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Summary: Problem compiling nsSigHandlers.cpp, gcc 3.2, RH 8.0 → Problem compiling nsSigHandlers.cpp, gcc 3.2, RH 8.0
v
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.