Errors in core/ArrayClass.cpp when compiling on Mac with --enable-debug and --enable-aot

NEW
Unassigned

Status

Tamarin
Build Config
P2
normal
6 years ago
6 years ago

People

(Reporter: James Sudduth, Unassigned)

Tracking

unspecified
Q1 12 - Brannan
x86
Mac OS X
Bug Flags:
in-testsuite -
flashplayer-qrb +
flashplayer-bug -
flashplayer-triage -

Details

(Reporter)

Description

6 years ago
When compiling on Mac with --enable-aot the release compile succeeds but the debug build fires the following errors:

true "Compiling core/ArrayClass"
cc1plus: warnings being treated as errors
../core/ArrayClass.cpp: In member function ‘avmplus::ArrayObject* avmplus::ArrayClass::newArray(avmplus::MethodEnv*, ADT, char*) [with ADT = uint32_t]’:
../core/ArrayClass.cpp:1353:   instantiated from here
../core/ArrayClass.cpp:1349: warning: comparison of unsigned expression >= 0 is always true
../core/ArrayClass.cpp: In member function ‘avmplus::ArrayObject* avmplus::ArrayClass::newArray(avmplus::MethodEnv*, ADT, char*) [with ADT = char*]’:
../core/ArrayClass.cpp:1354:   instantiated from here
../core/ArrayClass.cpp:1349: warning: comparison of unsigned expression >= 0 is always true
make: *** [core/ArrayClass.o] Error 1


This happens on both my Mac (OS X 10.6.8) and the Buildbot Mac-intel machine (OS X 10.6.6).
Flags: in-testsuite-
Flags: flashplayer-triage-
Flags: flashplayer-qrb+
Flags: flashplayer-bug-
(Reporter)

Updated

6 years ago
Blocks: 668183

Comment 1

6 years ago
changeset: 6688:992f6d925fae
user:      James Sudduth <jsudduth@adobe.com>
summary:   Bug 668183 - Add building avmshell with --enable-shell and --enable-aot + running built avmshell to nightly automation - remove all AOT builds except Mac Release (debug will follow when bug 696275 is fixed) (r=brbaker)

http://hg.mozilla.org/tamarin-redux/rev/992f6d925fae
You need to log in before you can comment on or make changes to this bug.