Skip to content

Instantly share code, notes, and snippets.

@krofna
Created June 23, 2013 09:21
Show Gist options
  • Save krofna/5844392 to your computer and use it in GitHub Desktop.
Save krofna/5844392 to your computer and use it in GitHub Desktop.
[ 4%] Building CXX object CMakeFiles/SSVOpenHexagon.dir/src/SSVOpenHexagon/Global/Config.cpp.o
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:26:2: error: ‘LinkedValueManager’ does not name a type
LinkedValueManager lvm{root};
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:26:30: warning: extra ‘;’ [-Wpedantic]
LinkedValueManager lvm{root};
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:28:20: error: ‘lvm’ was not declared in this scope
auto& online (lvm.create<bool>("online"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:28:31: error: expected primary-expression before ‘bool’
auto& online (lvm.create<bool>("online"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:29:22: error: ‘lvm’ was not declared in this scope
auto& official (lvm.create<bool>("official"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:29:33: error: expected primary-expression before ‘bool’
auto& official (lvm.create<bool>("official"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:30:23: error: ‘lvm’ was not declared in this scope
auto& noRotation (lvm.create<bool>("no_rotation"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:30:34: error: expected primary-expression before ‘bool’
auto& noRotation (lvm.create<bool>("no_rotation"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:31:25: error: ‘lvm’ was not declared in this scope
auto& noBackground (lvm.create<bool>("no_background"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:31:36: error: expected primary-expression before ‘bool’
auto& noBackground (lvm.create<bool>("no_background"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:32:21: error: ‘lvm’ was not declared in this scope
auto& noSound (lvm.create<bool>("no_sound"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:32:32: error: expected primary-expression before ‘bool’
auto& noSound (lvm.create<bool>("no_sound"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:33:21: error: ‘lvm’ was not declared in this scope
auto& noMusic (lvm.create<bool>("no_music"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:33:32: error: expected primary-expression before ‘bool’
auto& noMusic (lvm.create<bool>("no_music"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:34:26: error: ‘lvm’ was not declared in this scope
auto& blackAndWhite (lvm.create<bool>("black_and_white"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:34:37: error: expected primary-expression before ‘bool’
auto& blackAndWhite (lvm.create<bool>("black_and_white"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:35:25: error: ‘lvm’ was not declared in this scope
auto& pulseEnabled (lvm.create<bool>("pulse_enabled"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:35:36: error: expected primary-expression before ‘bool’
auto& pulseEnabled (lvm.create<bool>("pulse_enabled"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:36:23: error: ‘lvm’ was not declared in this scope
auto& _3DEnabled (lvm.create<bool>("3D_enabled"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:36:34: error: expected primary-expression before ‘bool’
auto& _3DEnabled (lvm.create<bool>("3D_enabled"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:37:26: error: ‘lvm’ was not declared in this scope
auto& _3DMultiplier (lvm.create<float>("3D_multiplier"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:37:37: error: expected primary-expression before ‘float’
auto& _3DMultiplier (lvm.create<float>("3D_multiplier"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:38:24: error: ‘lvm’ was not declared in this scope
auto& _3DMaxDepth (lvm.create<int>("3D_max_depth"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:38:35: error: expected primary-expression before ‘int’
auto& _3DMaxDepth (lvm.create<int>("3D_max_depth"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:39:23: error: ‘lvm’ was not declared in this scope
auto& invincible (lvm.create<bool>("invincible"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:39:34: error: expected primary-expression before ‘bool’
auto& invincible (lvm.create<bool>("invincible"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:40:24: error: ‘lvm’ was not declared in this scope
auto& autoRestart (lvm.create<bool>("auto_restart"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:40:35: error: expected primary-expression before ‘bool’
auto& autoRestart (lvm.create<bool>("auto_restart"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:41:24: error: ‘lvm’ was not declared in this scope
auto& soundVolume (lvm.create<int>("sound_volume"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:41:35: error: expected primary-expression before ‘int’
auto& soundVolume (lvm.create<int>("sound_volume"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:42:24: error: ‘lvm’ was not declared in this scope
auto& musicVolume (lvm.create<int>("music_volume"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:42:35: error: expected primary-expression before ‘int’
auto& musicVolume (lvm.create<int>("music_volume"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:43:25: error: ‘lvm’ was not declared in this scope
auto& flashEnabled (lvm.create<bool>("flash_enabled"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:43:36: error: expected primary-expression before ‘bool’
auto& flashEnabled (lvm.create<bool>("flash_enabled"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:44:23: error: ‘lvm’ was not declared in this scope
auto& zoomFactor (lvm.create<float>("zoom_factor"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:44:34: error: expected primary-expression before ‘float’
auto& zoomFactor (lvm.create<float>("zoom_factor"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:45:27: error: ‘lvm’ was not declared in this scope
auto& pixelMultiplier (lvm.create<int>("pixel_multiplier"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:45:38: error: expected primary-expression before ‘int’
auto& pixelMultiplier (lvm.create<int>("pixel_multiplier"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:46:24: error: ‘lvm’ was not declared in this scope
auto& playerSpeed (lvm.create<float>("player_speed"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:46:35: error: expected primary-expression before ‘float’
auto& playerSpeed (lvm.create<float>("player_speed"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:47:28: error: ‘lvm’ was not declared in this scope
auto& playerFocusSpeed (lvm.create<float>("player_focus_speed"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:47:39: error: expected primary-expression before ‘float’
auto& playerFocusSpeed (lvm.create<float>("player_focus_speed"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:48:23: error: ‘lvm’ was not declared in this scope
auto& playerSize (lvm.create<float>("player_size"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:48:34: error: expected primary-expression before ‘float’
auto& playerSize (lvm.create<float>("player_size"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:49:27: error: ‘lvm’ was not declared in this scope
auto& staticFrameTime (lvm.create<bool>("static_frametime"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:49:38: error: expected primary-expression before ‘bool’
auto& staticFrameTime (lvm.create<bool>("static_frametime"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:50:31: error: ‘lvm’ was not declared in this scope
auto& staticFrameTimeValue (lvm.create<float>("static_frametime_value"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:50:42: error: expected primary-expression before ‘float’
auto& staticFrameTimeValue (lvm.create<float>("static_frametime_value"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:51:22: error: ‘lvm’ was not declared in this scope
auto& limitFps (lvm.create<bool>("limit_fps"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:51:33: error: expected primary-expression before ‘bool’
auto& limitFps (lvm.create<bool>("limit_fps"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:52:20: error: ‘lvm’ was not declared in this scope
auto& vsync (lvm.create<bool>("vsync"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:52:31: error: expected primary-expression before ‘bool’
auto& vsync (lvm.create<bool>("vsync"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:53:26: error: ‘lvm’ was not declared in this scope
auto& autoZoomFactor (lvm.create<bool>("auto_zoom_factor"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:53:37: error: expected primary-expression before ‘bool’
auto& autoZoomFactor (lvm.create<bool>("auto_zoom_factor"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:54:23: error: ‘lvm’ was not declared in this scope
auto& fullscreen (lvm.create<bool>("fullscreen"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:54:34: error: expected primary-expression before ‘bool’
auto& fullscreen (lvm.create<bool>("fullscreen"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:55:32: error: ‘lvm’ was not declared in this scope
auto& windowedAutoResolution (lvm.create<bool>("windowed_auto_resolution"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:55:43: error: expected primary-expression before ‘bool’
auto& windowedAutoResolution (lvm.create<bool>("windowed_auto_resolution"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:56:34: error: ‘lvm’ was not declared in this scope
auto& fullscreenAutoResolution (lvm.create<bool>("fullscreen_auto_resolution"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:56:45: error: expected primary-expression before ‘bool’
auto& fullscreenAutoResolution (lvm.create<bool>("fullscreen_auto_resolution"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:57:27: error: ‘lvm’ was not declared in this scope
auto& fullscreenWidth (lvm.create<int>("fullscreen_width"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:57:38: error: expected primary-expression before ‘int’
auto& fullscreenWidth (lvm.create<int>("fullscreen_width"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:58:28: error: ‘lvm’ was not declared in this scope
auto& fullscreenHeight (lvm.create<int>("fullscreen_height"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:58:39: error: expected primary-expression before ‘int’
auto& fullscreenHeight (lvm.create<int>("fullscreen_height"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:59:26: error: ‘lvm’ was not declared in this scope
auto& windowedWidth (lvm.create<int>("windowed_width"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:59:37: error: expected primary-expression before ‘int’
auto& windowedWidth (lvm.create<int>("windowed_width"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:60:26: error: ‘lvm’ was not declared in this scope
auto& windowedHeight (lvm.create<int>("windowed_height"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:60:37: error: expected primary-expression before ‘int’
auto& windowedHeight (lvm.create<int>("windowed_height"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:61:25: error: ‘lvm’ was not declared in this scope
auto& showMessages (lvm.create<bool>("show_messages"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:61:36: error: expected primary-expression before ‘bool’
auto& showMessages (lvm.create<bool>("show_messages"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:62:25: error: ‘lvm’ was not declared in this scope
auto& changeStyles (lvm.create<bool>("change_styles"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:62:36: error: expected primary-expression before ‘bool’
auto& changeStyles (lvm.create<bool>("change_styles"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:63:24: error: ‘lvm’ was not declared in this scope
auto& changeMusic (lvm.create<bool>("change_music"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:63:35: error: expected primary-expression before ‘bool’
auto& changeMusic (lvm.create<bool>("change_music"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:64:20: error: ‘lvm’ was not declared in this scope
auto& debug (lvm.create<bool>("debug"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:64:31: error: expected primary-expression before ‘bool’
auto& debug (lvm.create<bool>("debug"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:65:23: error: ‘lvm’ was not declared in this scope
auto& beatPulse (lvm.create<bool>("beatpulse_enabled"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:65:34: error: expected primary-expression before ‘bool’
auto& beatPulse (lvm.create<bool>("beatpulse_enabled"));
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘void hg::loadConfig(const std::vector<std::basic_string<char> >&)’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:99:3: error: ‘lvm’ was not declared in this scope
lvm.syncFromRoot();
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘void hg::saveConfig()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:117:174: error: no matching function for call to ‘std::vector<bool>::vector(<brace-enclosed initializer list>)’
vector<bool> predicates{noRotation, noBackground, blackAndWhite, noSound, noMusic, pulseEnabled, _3DEnabled, invincible, autoRestart, online, official, flashEnabled};
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:117:174: note: candidates are:
In file included from /usr/include/c++/4.8/vector:65:0,
from /usr/local/include/SSVUtilsJson/Utils/UtilsJson.h:8,
from /usr/local/include/SSVUtilsJson/SSVUtilsJson.h:8,
from /usr/local/include/SSVStart/Json/UtilsJson.h:9,
from /home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:8:
/usr/include/c++/4.8/bits/stl_bvector.h:606:7: note: template<class _InputIterator, class> std::vector<bool, _Alloc>::vector(_InputIterator, _InputIterator, const allocator_type&)
vector(_InputIterator __first, _InputIterator __last,
^
/usr/include/c++/4.8/bits/stl_bvector.h:606:7: note: template argument deduction/substitution failed:
/usr/include/c++/4.8/bits/stl_bvector.h:594:5: note: std::vector<bool, _Alloc>::vector(std::initializer_list<bool>, const allocator_type&) [with _Alloc = std::allocator<bool>; std::vector<bool, _Alloc>::allocator_type = std::allocator<bool>]
vector(initializer_list<bool> __l,
^
/usr/include/c++/4.8/bits/stl_bvector.h:594:5: note: candidate expects 2 arguments, 12 provided
/usr/include/c++/4.8/bits/stl_bvector.h:591:5: note: std::vector<bool, _Alloc>::vector(std::vector<bool, _Alloc>&&) [with _Alloc = std::allocator<bool>]
vector(vector&& __x) noexcept
^
/usr/include/c++/4.8/bits/stl_bvector.h:591:5: note: candidate expects 1 argument, 12 provided
/usr/include/c++/4.8/bits/stl_bvector.h:583:5: note: std::vector<bool, _Alloc>::vector(const std::vector<bool, _Alloc>&) [with _Alloc = std::allocator<bool>]
vector(const vector& __x)
^
/usr/include/c++/4.8/bits/stl_bvector.h:583:5: note: candidate expects 1 argument, 12 provided
/usr/include/c++/4.8/bits/stl_bvector.h:563:5: note: std::vector<bool, _Alloc>::vector(std::vector<bool, _Alloc>::size_type, const bool&, const allocator_type&) [with _Alloc = std::allocator<bool>; std::vector<bool, _Alloc>::size_type = long unsigned int; std::vector<bool, _Alloc>::allocator_type = std::allocator<bool>]
vector(size_type __n, const bool& __value,
^
/usr/include/c++/4.8/bits/stl_bvector.h:563:5: note: candidate expects 3 arguments, 12 provided
/usr/include/c++/4.8/bits/stl_bvector.h:559:5: note: std::vector<bool, _Alloc>::vector(std::vector<bool, _Alloc>::size_type, const allocator_type&) [with _Alloc = std::allocator<bool>; std::vector<bool, _Alloc>::size_type = long unsigned int; std::vector<bool, _Alloc>::allocator_type = std::allocator<bool>]
vector(size_type __n, const allocator_type& __a = allocator_type())
^
/usr/include/c++/4.8/bits/stl_bvector.h:559:5: note: candidate expects 2 arguments, 12 provided
/usr/include/c++/4.8/bits/stl_bvector.h:554:5: note: std::vector<bool, _Alloc>::vector(const allocator_type&) [with _Alloc = std::allocator<bool>; std::vector<bool, _Alloc>::allocator_type = std::allocator<bool>]
vector(const allocator_type& __a)
^
/usr/include/c++/4.8/bits/stl_bvector.h:554:5: note: candidate expects 1 argument, 12 provided
/usr/include/c++/4.8/bits/stl_bvector.h:550:5: note: std::vector<bool, _Alloc>::vector() [with _Alloc = std::allocator<bool>]
vector()
^
/usr/include/c++/4.8/bits/stl_bvector.h:550:5: note: candidate expects 0 arguments, 12 provided
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘bool hg::getOnline()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:178:40: warning: control reaches end of non-void function [-Wreturn-type]
bool getOnline() { return online; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘bool hg::getOfficial()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:179:44: warning: control reaches end of non-void function [-Wreturn-type]
bool getOfficial() { return official; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘float hg::getZoomFactor()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:184:49: warning: control reaches end of non-void function [-Wreturn-type]
float getZoomFactor() { return zoomFactor; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘int hg::getPixelMultiplier()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:185:56: warning: control reaches end of non-void function [-Wreturn-type]
int getPixelMultiplier() { return pixelMultiplier; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘float hg::getPlayerSpeed()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:186:75: warning: control reaches end of non-void function [-Wreturn-type]
float getPlayerSpeed() { return getOfficial() ? 9.45f : playerSpeed; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘float hg::getPlayerFocusSpeed()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:187:84: warning: control reaches end of non-void function [-Wreturn-type]
float getPlayerFocusSpeed() { return getOfficial() ? 4.625f : playerFocusSpeed; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘float hg::getPlayerSize()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:188:72: warning: control reaches end of non-void function [-Wreturn-type]
float getPlayerSize() { return getOfficial() ? 7.3f : playerSize; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘bool hg::getNoRotation()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:189:72: warning: control reaches end of non-void function [-Wreturn-type]
bool getNoRotation() { return getOfficial() ? false : noRotation; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘bool hg::getNoBackground()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:190:76: warning: control reaches end of non-void function [-Wreturn-type]
bool getNoBackground() { return getOfficial() ? false : noBackground; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘bool hg::getBlackAndWhite()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:191:77: warning: control reaches end of non-void function [-Wreturn-type]
bool getBlackAndWhite() { return getOfficial() ? false : blackAndWhite; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘bool hg::getNoSound()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:192:42: warning: control reaches end of non-void function [-Wreturn-type]
bool getNoSound() { return noSound; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘bool hg::getNoMusic()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:193:42: warning: control reaches end of non-void function [-Wreturn-type]
bool getNoMusic() { return noMusic; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘int hg::getSoundVolume()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:194:50: warning: control reaches end of non-void function [-Wreturn-type]
int getSoundVolume() { return soundVolume; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘int hg::getMusicVolume()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:195:49: warning: control reaches end of non-void function [-Wreturn-type]
int getMusicVolume() { return musicVolume; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘bool hg::getStaticFrameTime()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:196:80: warning: control reaches end of non-void function [-Wreturn-type]
bool getStaticFrameTime() { return getOfficial() ? false : staticFrameTime; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘float hg::getStaticFrameTimeValue()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:197:66: warning: control reaches end of non-void function [-Wreturn-type]
float getStaticFrameTimeValue() { return staticFrameTimeValue; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘bool hg::getLimitFps()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:198:44: warning: control reaches end of non-void function [-Wreturn-type]
bool getLimitFps() { return limitFps; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘bool hg::getVsync()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:199:39: warning: control reaches end of non-void function [-Wreturn-type]
bool getVsync() { return vsync; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘bool hg::getAutoZoomFactor()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:200:77: warning: control reaches end of non-void function [-Wreturn-type]
bool getAutoZoomFactor() { return getOfficial() ? true : autoZoomFactor; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘bool hg::getFullscreen()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:201:47: warning: control reaches end of non-void function [-Wreturn-type]
bool getFullscreen() { return fullscreen; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘bool hg::getWindowedAutoResolution()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:203:68: warning: control reaches end of non-void function [-Wreturn-type]
bool getWindowedAutoResolution() { return windowedAutoResolution; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘bool hg::getFullscreenAutoResolution()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:204:73: warning: control reaches end of non-void function [-Wreturn-type]
bool getFullscreenAutoResolution() { return fullscreenAutoResolution; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘unsigned int hg::getFullscreenWidth()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:205:62: warning: control reaches end of non-void function [-Wreturn-type]
unsigned int getFullscreenWidth() { return fullscreenWidth; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘unsigned int hg::getFullscreenHeight()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:206:65: warning: control reaches end of non-void function [-Wreturn-type]
unsigned int getFullscreenHeight() { return fullscreenHeight; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘unsigned int hg::getWindowedWidth()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:207:59: warning: control reaches end of non-void function [-Wreturn-type]
unsigned int getWindowedWidth() { return windowedWidth; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘unsigned int hg::getWindowedHeight()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:208:60: warning: control reaches end of non-void function [-Wreturn-type]
unsigned int getWindowedHeight() { return windowedHeight; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘bool hg::getShowMessages()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:211:51: warning: control reaches end of non-void function [-Wreturn-type]
bool getShowMessages() { return showMessages; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘bool hg::getChangeStyles()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:212:51: warning: control reaches end of non-void function [-Wreturn-type]
bool getChangeStyles() { return changeStyles; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘bool hg::getChangeMusic()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:213:49: warning: control reaches end of non-void function [-Wreturn-type]
bool getChangeMusic() { return changeMusic; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘bool hg::getDebug()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:214:39: warning: control reaches end of non-void function [-Wreturn-type]
bool getDebug() { return debug; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘bool hg::getPulse()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:215:69: warning: control reaches end of non-void function [-Wreturn-type]
bool getPulse() { return getOfficial() ? true : pulseEnabled; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘bool hg::getBeatPulse()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:216:69: warning: control reaches end of non-void function [-Wreturn-type]
bool getBeatPulse() { return getOfficial() ? true : beatPulse; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘bool hg::getInvincible()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:217:70: warning: control reaches end of non-void function [-Wreturn-type]
bool getInvincible() { return getOfficial() ? false :invincible; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘bool hg::get3D()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:218:41: warning: control reaches end of non-void function [-Wreturn-type]
bool get3D() { return _3DEnabled; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘float hg::get3DMultiplier()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:219:53: warning: control reaches end of non-void function [-Wreturn-type]
float get3DMultiplier() { return _3DMultiplier; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘unsigned int hg::get3DMaxDepth()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:220:54: warning: control reaches end of non-void function [-Wreturn-type]
unsigned int get3DMaxDepth() { return _3DMaxDepth; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘bool hg::getAutoRestart()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:221:49: warning: control reaches end of non-void function [-Wreturn-type]
bool getAutoRestart() { return autoRestart; }
^
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp: In function ‘bool hg::getFlash()’:
/home/krofna/Development/SSVOpenHexagon/src/SSVOpenHexagon/Global/Config.cpp:222:46: warning: control reaches end of non-void function [-Wreturn-type]
bool getFlash() { return flashEnabled; }
^
make[2]: *** [CMakeFiles/SSVOpenHexagon.dir/src/SSVOpenHexagon/Global/Config.cpp.o] Error 1
make[1]: *** [CMakeFiles/SSVOpenHexagon.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment