Closed Bug 942116 Opened 11 years ago Closed 11 years ago

Stop using the register keyword in the JS engine

Categories

(Core :: JavaScript Engine, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla28

People

(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)

Details

(Whiteboard: [qa-])

Attachments

(1 file)

0:04.14 In file included from Unified_cpp_1.cpp:6: 0:04.15 ../../../js/src/frontend/TokenStream.cpp:58:5: warning: 'register' storage class specifier is deprecated [-Wdeprecated-register] 0:04.15 register size_t i; 0:04.15 ^~~~~~~~~ 0:04.15 1 warning generated. 0:04.16 Unified_cpp_8.o 0:04.33 Unified_cpp_9.o 0:04.50 Unified_cpp_10.o 0:05.37 In file included from Unified_cpp_6.cpp:17: 0:05.37 In file included from ../../../js/src/jsdtoa.cpp:54: 0:05.37 ../../../js/src/dtoa.c:706:2: warning: 'register' storage class specifier is deprecated [-Wdeprecated-register] 0:05.37 register int k = 0; 0:05.37 ^~~~~~~~~ 0:05.37 ../../../js/src/dtoa.c:740:2: warning: 'register' storage class specifier is deprecated [-Wdeprecated-register] 0:05.37 register int k; 0:05.37 ^~~~~~~~~ 0:05.37 ../../../js/src/dtoa.c:741:2: warning: 'register' storage class specifier is deprecated [-Wdeprecated-register] 0:05.37 register ULong x = *y; 0:05.37 ^~~~~~~~~ 0:05.37 ../../../js/src/dtoa.c:1159:2: warning: 'register' storage class specifier is deprecated [-Wdeprecated-register] 0:05.37 register Long L; 0:05.37 ^~~~~~~~~ 0:05.37 4 warnings generated.
Attachment #8336754 - Flags: review?(luke)
Attachment #8336754 - Flags: review?(luke) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: