Closed Bug 621004 Opened 14 years ago Closed 13 years ago

AIX(,HPUX): jsval.h JSVAL_ALIGNMENT definition for AIX / skip C++ enum usage

Categories

(Core :: JavaScript Engine, defect)

PowerPC
AIX
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: andrew, Assigned: andrew)

Details

(Whiteboard: fixed-in-tracemonkey)

Attachments

(1 file, 2 obsolete files)

The IBM XL C/C++ compile supports __attribute__((aligned (8))) just like gcc.
Attachment #499333 - Flags: review?(mrbkap)
Hmm.. modifying patch to also skip the enum typedef in C++ mode because xlC does not support unsigned integer enum constants.
Summary: AIX: jsval.h JSVAL_ALIGNMENT definition for AIX → AIX: jsval.h JSVAL_ALIGNMENT definition for AIX / skip C++ enum usage
Attachment #499333 - Attachment is obsolete: true
Attachment #499335 - Flags: review?(mrbkap)
Attachment #499333 - Flags: review?(mrbkap)
Attachment #499335 - Flags: approval2.0?
Added HP cc/aCC which also need to blank out JSVAL_ALIGNMENT.
Attachment #499335 - Attachment is obsolete: true
Attachment #499558 - Flags: review?(mrbkap)
Attachment #499558 - Flags: approval2.0?
Attachment #499335 - Flags: review?(mrbkap)
Attachment #499335 - Flags: approval2.0?
Summary: AIX: jsval.h JSVAL_ALIGNMENT definition for AIX / skip C++ enum usage → AIX(,HPUX): jsval.h JSVAL_ALIGNMENT definition for AIX / skip C++ enum usage
Comment on attachment 499558 [details] [diff] [review]
Define JSVAL_ALIGNMENT and skip enum type definition

r+ before a?, please

(we'll probably take these after we ship)
Attachment #499558 - Flags: approval2.0?
Attachment #499558 - Flags: review?(mrbkap) → review+
Assignee: general → andrew
http://hg.mozilla.org/mozilla-central/rev/e8dda9a82da7
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: