Closed
Bug 1271389
Opened 8 years ago
Closed 8 months ago
Compiler error in nsStyleStruct.h with VC 2013 - blocking development
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: milan, Unassigned)
References
Details
Attachments
(1 file)
128.85 KB,
text/plain
|
Details |
0:32.46 c:\users\msreckovic\repos\mozilla-central\obj-i686-pc-mingw32\dist\include\nsStyleStruct.h(3662) : error C2275: 'nsPoint' : illegal use of this type as an expression 0:32.46 c:\users\msreckovic\repos\mozilla-central\obj-i686-pc-mingw32\dist\include\nsPoint.h(22) : see declaration of 'nsPoint' 0:32.46 c:\users\msreckovic\repos\mozilla-central\obj-i686-pc-mingw32\dist\include\nsStyleStruct.h(3662) : error C2275: 'nsPoint_Simple' : illegal use of thistype as an expression 0:32.46 c:\users\msreckovic\repos\mozilla-central\obj-i686-pc-mingw32\dist\include\nsStyleStruct.h(3658) : see declaration of 'nsPoint_Simple' 0:32.46 c:\users\msreckovic\repos\mozilla-central\obj-i686-pc-mingw32\dist\include\nsStyleStruct.h(3662) : error C3861: 'alignof': identifier not found 0:32.46 c:\users\msreckovic\repos\mozilla-central\obj-i686-pc-mingw32\dist\include\nsStyleStruct.h(3673) : error C2275: 'nsMargin' : illegal use of this type as an expression 0:32.46 c:\users\msreckovic\repos\mozilla-central\obj-i686-pc-mingw32\dist\include\nsMargin.h(14) : see declaration of 'nsMargin' 0:32.46 c:\users\msreckovic\repos\mozilla-central\obj-i686-pc-mingw32\dist\include\nsStyleStruct.h(3673) : error C2275: 'nsMargin_Simple' : illegal use of this type as an expression 0:32.46 c:\users\msreckovic\repos\mozilla-central\obj-i686-pc-mingw32\dist\include\nsStyleStruct.h(3669) : see declaration of 'nsMargin_Simple' 0:32.46 c:\users\msreckovic\repos\mozilla-central\obj-i686-pc-mingw32\dist\include\nsStyleStruct.h(3673) : error C3861: 'alignof': identifier not found 0:32.46 c:\users\msreckovic\repos\mozilla-central\obj-i686-pc-mingw32\dist\include\nsStyleStruct.h(3686) : error C2275: 'nsRect' : illegal use of this type asan expression 0:32.46 c:\Users\msreckovic\Repos\mozilla-central\obj-i686-pc-mingw32\dist\include\nsRect.h(24) : see declaration of 'nsRect' 0:32.46 c:\users\msreckovic\repos\mozilla-central\obj-i686-pc-mingw32\dist\include\nsStyleStruct.h(3686) : error C2275: 'nsRect_Simple' : illegal use of this type as an expression 0:32.46 c:\users\msreckovic\repos\mozilla-central\obj-i686-pc-mingw32\dist\include\nsStyleStruct.h(3682) : see declaration of 'nsRect_Simple' 0:32.46 c:\users\msreckovic\repos\mozilla-central\obj-i686-pc-mingw32\dist\include\nsStyleStruct.h(3686) : error C3861: 'alignof': identifier not found 0:32.46 c:\users\msreckovic\repos\mozilla-central\obj-i686-pc-mingw32\dist\include\nsStyleStruct.h(3705) : error C2275: 'nsTArray<T>' : illegal use of this type as an expression 0:32.46 with 0:32.46 [ 0:32.46 T=nsStyleImageLayers::Layer 0:32.46 ] 0:32.46 c:\users\msreckovic\repos\mozilla-central\obj-i686-pc-mingw32\dist\include\nsStyleStruct.h(3705) : error C2275: 'nsTArray_Simple<nsStyleImageLayers::Layer>' : illegal use of this type as an expression
Reporter | ||
Comment 1•8 years ago
|
||
I don't know when this started, so I'm going to spam with needinfo a few last people that touched that file.
Flags: needinfo?(tlin)
Flags: needinfo?(mstange)
Flags: needinfo?(ecoal95)
Flags: needinfo?(bobbyholley)
Comment 2•8 years ago
|
||
nsStyleImageLayers::Layer sounds like it was my fault. Are we missing an include?
Flags: needinfo?(mstange)
Comment 3•8 years ago
|
||
Milan, can you attach c:\users\msreckovic\repos\mozilla-central\obj-i686-pc-mingw32\dist\include\nsStyleStruct.h to this bug so that we can see what the error messages are referring to?
Comment 4•8 years ago
|
||
See bug 1270305#c9 and onward.
Flags: needinfo?(ecoal95)
Flags: needinfo?(bobbyholley)
Comment 5•8 years ago
|
||
Are we supporting VS2013? If so, why isn't it running on tinderbox?
Comment 6•8 years ago
|
||
(In reply to Bobby Holley (busy) from comment #5) > Are we supporting VS2013? If so, why isn't it running on tinderbox? We have not yet dropped support for VS2013, but it's not necessarily tier 1 anymore.
Reporter | ||
Comment 7•8 years ago
|
||
Reporter | ||
Comment 8•8 years ago
|
||
(In reply to Markus Stange [:mstange] from comment #3) > Milan, can you attach > c:\users\msreckovic\repos\mozilla-central\obj-i686-pc- > mingw32\dist\include\nsStyleStruct.h to this bug so that we can see what the > error messages are referring to? Done.
Flags: needinfo?(mstange)
Comment 9•8 years ago
|
||
Thanks, sounds like we don't need it any more since we know what the problem is (bug 1270305 comment 10).
Flags: needinfo?(tlin)
Flags: needinfo?(mstange)
Comment 10•8 years ago
|
||
I posted a workaround patch in bug 1270305.
Reporter | ||
Comment 11•8 years ago
|
||
That one works, thanks, now the Thread thing is the blocker.
Updated•2 years ago
|
Severity: normal → S3
Comment 12•8 months ago
|
||
7 years have passed, presumably this compiler error is a non-issue at this point. Feel free to reopen if anyone is still hitting this, though!
Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•