cc1plus: warnings being treated as errors - part 2

Bug #489192 reported by Demophobie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Return To The Roots
Status tracked in S25client
S25client
Fix Released
Medium
FloSoft

Bug Description

Scanning dependencies of target audioSDL
[ 5%] Building CXX object driver/audio/SDL/src/CMakeFiles/audioSDL.dir/SDL.cpp.o
cc1plus: warnings being treated as errors
/storage/RTTR/svn/trunk/driver/audio/SDL/src/SDL.cpp: In member function ‘virtual Sound* AudioSDL::LoadEffect(unsigned int, unsigned char*, long unsigned int)’:
/storage/RTTR/svn/trunk/driver/audio/SDL/src/SDL.cpp:187: error: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/storage/RTTR/svn/trunk/driver/audio/SDL/src/SDL.cpp: In member function ‘virtual Sound* AudioSDL::LoadMusic(unsigned int, unsigned char*, long unsigned int)’:
/storage/RTTR/svn/trunk/driver/audio/SDL/src/SDL.cpp:270: error: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
make[2]: *** [driver/audio/SDL/src/CMakeFiles/audioSDL.dir/SDL.cpp.o] Error 1
make[1]: *** [driver/audio/SDL/src/CMakeFiles/audioSDL.dir/all] Error 2
make: *** [all] Error 2

Tags: rev5705
Demophobie (demophobie)
Changed in s25rttr:
assignee: nobody → FloSoft (flosoft)
milestone: none → nightly
importance: Undecided → Critical
importance: Critical → Medium
status: New → Confirmed
Demophobie (demophobie)
Changed in s25rttr:
status: Confirmed → Fix Released
Revision history for this message
FloSoft (flosoft) wrote :

fixed in rev5606

tags: added: rev5605
tags: added: rev5705
removed: rev5605
Revision history for this message
FloSoft (flosoft) wrote :

äh 5706 :)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.