Closed Bug 403598 Opened 18 years ago Closed 17 years ago

Tamarin verbose build with GCC 4.2

Categories

(Tamarin Graveyard :: Build Config, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: sanxiyn, Unassigned)

Details

Attachments

(1 file, 1 obsolete file)

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.
Attached patch Verbose build fixes (obsolete) — Splinter Review
Attachment #288476 - Flags: review+
Attached patch UpdateSplinter Review
Attachment #288476 - Attachment is obsolete: true
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
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: