Closed Bug 439624 Opened 16 years ago Closed 16 years ago

SM: GCC warns that decltype will be C0X++ keyword

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: igor, Assigned: igor)

Details

Attachments

(1 file)

SM sources in few places uses decltype as a parameter name. GCC 4.3 warns about this since this token will be a keyword in the next revision of C++ standard. It would be nice to fix the warning and rename decltype into, for example, declType. This what the attached patch does.
Attachment #325401 - Flags: review?(brendan)
Attachment #325401 - Flags: review?(brendan) → review+
Pushed to mozilla-central:

changeset:   15431:451cd5466e68
tag:         tip
user:        Igor Bukanov <igor@mir2.org>
date:        Wed Jun 18 23:35:53 2008 +0200
summary:     [Bug 439624] renaming decltype to declType as the former is a keyword in the next C++ standard.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Flags: in-testsuite-
Flags: in-litmus-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: