Closed
Bug 848270
Opened 10 years ago
Closed 10 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•10 years ago
|
||
clang in C++98 mode, even. It doesn't fail with clang in C++11 mode.
Assignee | ||
Comment 2•10 years ago
|
||
So, this happens on osx hosts :(
Assignee | ||
Comment 3•10 years ago
|
||
Attachment #721671 -
Flags: review?(nfroyd)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → mh+mozilla
![]() |
||
Updated•10 years ago
|
Attachment #721671 -
Flags: review?(nfroyd) → review+
Assignee | ||
Comment 4•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/a7cb66376172
Comment 5•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/a7cb66376172
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
You need to log in
before you can comment on or make changes to this bug.
Description
•