Closed Bug 326849 Opened 19 years ago Closed 18 years ago

VC8 enables RTTI by default

Categories

(Firefox Build System :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: vlad, Assigned: vlad)

Details

Attachments

(1 file)

VC8 enables RTTI (/GR) by default; we should /GR- the build unless the configure flag is set.
Patch; defines _MOZ_RTTI_FLAGS_{ON,OFF} and _MOZ_EXCEPTIONS_FLAGS_{ON,OFF} for VC8; this makes the --enable-cpp-* configure flags work for both things and defaults to the right thing (no rtti, no exceptions).
Attachment #211538 - Flags: review?(benjamin)
Comment on attachment 211538 [details] [diff] [review]
vc8-exc-rtti-flags.patch

Is there any reason we can't move this hunk out of the version-specific ifs? AFAIK the same flags are valid on all the MSVC versions.
Attachment #211538 - Flags: review?(benjamin) → review+
Nope, I just didn't want to accidentally change any of the old build configs suddenly.. though they shuold be safe.  Do you know whether VC6 understands GR and GR-?  (I know VC7 does)
checked in, outside of the VC8 conditional (all VC versions)
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Assignee: nobody → vladimir
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: