Author Topic: Compile warnings: map.cpp.o  (Read 1049 times)

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Compile warnings: map.cpp.o
« on: 15 April 2011, 14:52:16 »
Code: [Select]
[ 36%] Building CXX object source/map_editor/CMakeFiles/gae_mapeditor.dir/map.cpp.o
/home/tomreyn/SCM/glestae/source/map_editor/map.cpp: In member function ‘void MapEditor::Map::loadFromFile(const std::string&)’:
/home/tomreyn/SCM/glestae/source/map_editor/map.cpp:579:47: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/tomreyn/SCM/glestae/source/map_editor/map.cpp:590:53: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/tomreyn/SCM/glestae/source/map_editor/map.cpp:591:53: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/tomreyn/SCM/glestae/source/map_editor/map.cpp:598:53: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/tomreyn/SCM/glestae/source/map_editor/map.cpp:605:53: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
/home/tomreyn/SCM/glestae/source/map_editor/map.cpp:613:37: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result

This is on b1070c1fcfb2e0865235261fc0671eb96e7912fa
« Last Edit: 18 April 2011, 16:59:14 by tomreyn »
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

 

anything