Closed Bug 479320 Opened 15 years ago Closed 15 years ago

JS_STATIC_ASSERT in some situations causes WinCE compilers to barf

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: crowderbt, Assigned: crowderbt)

Details

Attachments

(1 file)

patch next...
Attachment #363196 - Flags: review?(jorendorff)
Comment on attachment 363196 [details] [diff] [review]
use __COUNTER__ when available

Great.  Funny, it seemed like more work than that. :)

But JS_SA and JS_SA1 seem unnecessarily terse.  The fewer places a name is used (directly), the *longer* it's supposed to be.  Or so says Huffman....

r=me with longer identifiers.
Attachment #363196 - Flags: review?(jorendorff) → review+
Changed the JS_SA macros to JS_STATIC_ASSERT_GLUE instead:
http://hg.mozilla.org/mozilla-central/rev/e34bb252511b
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Flags: in-testsuite-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: