Closed Bug 40938 Opened 26 years ago Closed 26 years ago

nsXPIDLString.cpp compile problem with on Linux/ia64

Categories

(Core :: XPCOM, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED DUPLICATE of bug 40939

People

(Reporter: jim_nance, Assigned: dp)

Details

I have a problem building nsXPIDLString.cpp on an IA64 machine. I am not sure if its a source code problem or a configure script problem. The compile dies with the error: In file included from /home/users/jnance/mbuild/mozilla/xpcom/ds/nsXPIDLString.cpp:25: /home/users/jnance/mbuild/mozilla/xpcom/ds/nsXPIDLString.h: In function `PRBool operator== (const PRUnichar *, const nsXPIDLString &)': /home/users/jnance/mbuild/mozilla/xpcom/ds/nsXPIDLString.h:201: static_cast from `const nsXPIDLString' to `const PRUnichar *' and several other warnings about casts. If I go into the config-defs.h file generated by configure an undef HAVE_CPP_NEW_CASTS then the build works. I do not know if the source is wrong or if the configure script should detect this problem.
Sorry, I entered this one twice :-( *** This bug has been marked as a duplicate of 40939 ***
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → DUPLICATE
marking as verified/duplicate
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.