Closed
Bug 848270
Opened 12 years ago
Closed 12 years ago
mozglue/linker/SeekableZStream.h:56:19: error: invalid use of nonstatic data member 'chunkSize'
Categories
(Core :: mozglue, defect)
Tracking
()
RESOLVED
FIXED
mozilla22
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(1 file)
2.75 KB,
patch
|
froydnj
:
review+
|
Details | Diff | Splinter Review |
After the landing of bug 847479, building with clang as host compiler (which is far from being a common setup, but still), fails with:
mozglue/linker/SeekableZStream.h:56:19: error: invalid use of
nonstatic data member 'chunkSize'
1 << ((sizeof(chunkSize) < sizeof(lastChunkSize) ?
^~~~~~~~~
mozglue/linker/SeekableZStream.h:56:39: error: invalid use of
nonstatic data member 'lastChunkSize'
1 << ((sizeof(chunkSize) < sizeof(lastChunkSize) ?
^~~~~~~~~~~~~
mozglue/linker/SeekableZStream.h:57:19: error: invalid use of
nonstatic data member 'chunkSize'
sizeof(chunkSize) : sizeof(lastChunkSize)) - 1);
^~~~~~~~~
mozglue/linker/SeekableZStream.h:57:39: error: invalid use of
nonstatic data member 'lastChunkSize'
sizeof(chunkSize) : sizeof(lastChunkSize)) - 1);
Assignee | ||
Comment 1•12 years ago
|
||
clang in C++98 mode, even. It doesn't fail with clang in C++11 mode.
Assignee | ||
Comment 2•12 years ago
|
||
So, this happens on osx hosts :(
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #721671 -
Flags: review?(nfroyd)
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → mh+mozilla
Updated•12 years ago
|
Attachment #721671 -
Flags: review?(nfroyd) → review+
Assignee | ||
Comment 4•12 years ago
|
||
Comment 5•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
You need to log in
before you can comment on or make changes to this bug.
Description
•