Closed
Bug 403598
Opened 18 years ago
Closed 17 years ago
Tamarin verbose build with GCC 4.2
Categories
(Tamarin Graveyard :: Build Config, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: sanxiyn, Unassigned)
Details
Attachments
(1 file, 1 obsolete file)
|
444 bytes,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.8) Gecko/20071004 Iceweasel/2.0.0.8 (Debian-2.0.0.8-1)
Build Identifier:
I couldn't find how to build Tamarin that can use -Dverbose on Linux, so I took a look and documented my method on MDC page.
http://developer.mozilla.org/en/docs/Tamarin_Build_Documentation
Which is, make CPPFLAGS=-DAVMPLUS_VERBOSE. If there is a better way please correct.
This breaks on GCC 4.2 like this:
g++ -o codegen/CodegenMIR.o -DAVMPLUS_VERBOSE -DAVMPLUS_CDECL -DAVMPLUS_IA32 -DUNIX -DAVMPLUS_UNIX -DSOFT_ASSERTS -DLINUX -fno-exceptions -Werror -Wall -Wno-reorder -Wno-switch -Wno-invalid-offsetof -Wno-uninitialized -Wno-strict-aliasing -fmessage-length=0 -finline-functions -finline-limit=65536 -fno-rtti -fno-exceptions -Os -I/home/tinuviel/hg/tamarin -I/home/tinuviel/hg/tamarin/MMgc -I/home/tinuviel/hg/tamarin/core -I/home/tinuviel/hg/tamarin/codegen -I/home/tinuviel/hg/tamarin/pcre -c codegen/CodegenMIR.ii
cc1plus: warnings being treated as errors
/home/tinuviel/hg/tamarin/codegen/CodegenMIR.cpp: In static member function ‘static MMgc::GCHashtable* avmplus::CodegenMIR::initMethodNames(avmplus::AvmCore*)’:
/home/tinuviel/hg/tamarin/codegen/CodegenMIR.cpp:1458: warning: deprecated conversion from string constant to ‘char*’
/home/tinuviel/hg/tamarin/codegen/CodegenMIR.cpp: In member function ‘void avmplus::CodegenMIR::showRegisterStats(avmplus::CodegenMIR::RegInfo&)’:
/home/tinuviel/hg/tamarin/codegen/CodegenMIR.cpp:10071: warning: unused variable ‘span’
Reproducible: Always
Actual Results:
Compile error, because of warnings.
Expected Results:
No error.
| Reporter | ||
Comment 1•18 years ago
|
||
Updated•18 years ago
|
Attachment #288476 -
Flags: review+
| Reporter | ||
Comment 2•18 years ago
|
||
Attachment #288476 -
Attachment is obsolete: true
Comment 3•17 years ago
|
||
triaging old bugs. I was able to build: make CPPFLAGS=-DAVMPLUS_VERBOSE on linux (gcc 4.2.3) and osx ok. marking as fixed.
Status: NEW → RESOLVED
Closed: 17 years ago
Flags: flashplayer-triage+
Resolution: --- → FIXED
Updated•16 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•