#1664 closed defect (fixed)
non-pch build broken in A11
Reported by: | Julian Ospald | Owned by: | leper |
---|---|---|---|
Priority: | Must Have | Milestone: | Alpha 12 |
Component: | Core engine | Keywords: | |
Cc: | stwf | Patch: |
Description (last modified by )
../../../source/soundmanager/js/SoundPlayer.cpp: In member function ‘CStr8 JSoundPlayer::ToString(JSContext*, uintN, jsval*)’: ../../../source/soundmanager/js/SoundPlayer.cpp:76:21: error: aggregate ‘std::ostringstream stringStream’ has incomplete type and cannot be defined ../../../source/soundmanager/js/SoundPlayer.cpp:80:1: warning: control reaches end of non-void function
See http://irclogs.wildfiregames.com/2012-09-08-QuakeNet-%230ad-dev.log at 17:00 for another report.
MusicSound.cpp and SoundPlayer.cpp seem to be missing an include line.
Attachments (1)
Change History (7)
by , 12 years ago
Attachment: | 20120909-123823.log added |
---|
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Description: | modified (diff) |
---|
comment:3 by , 12 years ago
<leper> hasufell: I suppose the easy solution to that would be to add '#include <sstream>' to both files but I don't understand the use of ostringstream instead of CStr...
that worked. Please fiex.
comment:5 by , 12 years ago
Cc: | added |
---|---|
Milestone: | Backlog → Alpha 12 |
I'm adding stwf to cc even though this bug is fixed as I don't really understand the use of ostringstream instead of CStr (as we're returning one in both cases).
Note:
See TracTickets
for help on using tickets.
works nicely with pch enabled though...