In file included from tinywindow/Example/Example.cpp:2: tinywindow/Example/../Include/TinyWindow.h: In constructor ‘TinyWindow::monitor_t::monitor_t(std::string, std::string, std::string, bool)’: tinywindow/Example/../Include/TinyWindow.h:223:39: warning: unused parameter ‘displayName’ [-Wunused-parameter] 223 | monitor_t(std::string displayName, std::string deviceName, std::string monitorName, bool isPrimary = false) | ~~~~~~~~~~~~^~~~~~~~~~~ In file included from tinywindow/Example/Example.cpp:2: tinywindow/Example/../Include/TinyWindow.h: In constructor ‘TinyWindow::windowSetting_t::windowSetting_t(const char*, void*, TinyWindow::vec2_t, int, int, unsigned int, unsigned int, unsigned int, TinyWindow::state_t, TinyWindow::profile_t)’: tinywindow/Example/../Include/TinyWindow.h:327:31: error: ‘struct TinyWindow::windowSetting_t’ has no member named ‘versionMajor’ 327 | this->versionMajor = versionMajor; | ^~~~~~~~~~~~ tinywindow/Example/../Include/TinyWindow.h:328:31: error: ‘struct TinyWindow::windowSetting_t’ has no member named ‘versionMinor’ 328 | this->versionMinor = versionMinor; | ^~~~~~~~~~~~ tinywindow/Example/../Include/TinyWindow.h: In member function ‘void TinyWindow::windowSetting_t::SetProfile(TinyWindow::profile_t)’: tinywindow/Example/../Include/TinyWindow.h:334:43: warning: unused parameter ‘profile’ [-Wunused-parameter] 334 | void SetProfile(profile_t profile) | ~~~~~~~~~~^~~~~~~ tinywindow/Example/../Include/TinyWindow.h: In member function ‘std::error_code TinyWindow::tWindow::SetMousePosition(TinyWindow::vec2_t)’: tinywindow/Example/../Include/TinyWindow.h:1090:33: error: ‘resolution’ was not declared in this scope 1090 | resolution.width, resolution.height, | ^~~~~~~~~~ tinywindow/Example/../Include/TinyWindow.h: In member function ‘std::error_code TinyWindow::tWindow::Maximize(bool)’: tinywindow/Example/../Include/TinyWindow.h:1184:67: error: ‘currentState’ was not declared in this scope; did you mean ‘currentStyle’? 1184 | currentEvent.xclient.data.l[0] = (currentState == state_t::maximized); | ^~~~~~~~~~~~ | currentStyle tinywindow/Example/../Include/TinyWindow.h:1207:67: error: ‘currentState’ was not declared in this scope; did you mean ‘currentStyle’? 1207 | currentEvent.xclient.data.l[0] = (currentState == state_t::maximized); | ^~~~~~~~~~~~ | currentStyle tinywindow/Example/../Include/TinyWindow.h: In member function ‘std::error_code TinyWindow::tWindow::SetFullScreen(bool)’: tinywindow/Example/../Include/TinyWindow.h:1243:58: error: ‘currentState’ was not declared in this scope; did you mean ‘currentStyle’? 1243 | currentEvent.xclient.data.l[0] = currentState == state_t::fullscreen; | ^~~~~~~~~~~~ | currentStyle tinywindow/Example/../Include/TinyWindow.h: In member function ‘std::error_code TinyWindow::tWindow::ToggleFullscreen(TinyWindow::monitor_t*, unsigned int)’: tinywindow/Example/../Include/TinyWindow.h:1255:61: warning: unused parameter ‘monitor’ [-Wunused-parameter] 1255 | std::error_code ToggleFullscreen(monitor_t* monitor, unsigned int monitorSettingIndex) | ~~~~~~~~~~~^~~~~~~ tinywindow/Example/../Include/TinyWindow.h:1255:83: warning: unused parameter ‘monitorSettingIndex’ [-Wunused-parameter] 1255 | std::error_code ToggleFullscreen(monitor_t* monitor, unsigned int monitorSettingIndex) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ tinywindow/Example/../Include/TinyWindow.h: In member function ‘std::error_code TinyWindow::windowManager::SetWindowSwapInterval(TinyWindow::tWindow*, int)’: tinywindow/Example/../Include/TinyWindow.h:2010:17: warning: no return statement in function returning non-void [-Wreturn-type] 2010 | } | ^ tinywindow/Example/../Include/TinyWindow.h:1995:64: warning: unused parameter ‘window’ [-Wunused-parameter] 1995 | std::error_code SetWindowSwapInterval(tWindow* window, int interval) | ~~~~~~~~~^~~~~~ tinywindow/Example/../Include/TinyWindow.h:1995:76: warning: unused parameter ‘interval’ [-Wunused-parameter] 1995 | std::error_code SetWindowSwapInterval(tWindow* window, int interval) | ~~~~^~~~~~~~ tinywindow/Example/../Include/TinyWindow.h: In member function ‘int TinyWindow::windowManager::GetWindowSwapInterval(TinyWindow::tWindow*)’: tinywindow/Example/../Include/TinyWindow.h:2031:25: error: ‘else’ without a previous ‘if’ 2031 | else | ^~~~ tinywindow/Example/../Include/TinyWindow.h:2015:52: warning: unused parameter ‘window’ [-Wunused-parameter] 2015 | int GetWindowSwapInterval(tWindow* window) | ~~~~~~~~~^~~~~~ tinywindow/Example/../Include/TinyWindow.h: In member function ‘std::error_code TinyWindow::windowManager::CreateDummyContext()’: tinywindow/Example/../Include/TinyWindow.h:2070:17: warning: no return statement in function returning non-void [-Wreturn-type] 2070 | } | ^ tinywindow/Example/../Include/TinyWindow.h: In member function ‘void TinyWindow::windowManager::CheckWindowScreen(TinyWindow::tWindow*)’: tinywindow/Example/../Include/TinyWindow.h:2108:49: warning: unused parameter ‘window’ [-Wunused-parameter] 2108 | void CheckWindowScreen(tWindow* window) | ~~~~~~~~~^~~~~~ tinywindow/Example/../Include/TinyWindow.h: In member function ‘void TinyWindow::windowManager::ShutdownWindow(TinyWindow::tWindow*)’: tinywindow/Example/../Include/TinyWindow.h:2150:37: error: ‘class TinyWindow::tWindow’ has no member named ‘currentState’; did you mean ‘currentStyle’? 2150 | if (window->currentState == state_t::fullscreen) | ^~~~~~~~~~~~ | currentStyle tinywindow/Example/../Include/TinyWindow.h: In member function ‘void TinyWindow::windowManager::ShareContexts(TinyWindow::tWindow*, TinyWindow::tWindow*)’: tinywindow/Example/../Include/TinyWindow.h:2173:45: warning: unused parameter ‘sourceWindow’ [-Wunused-parameter] 2173 | void ShareContexts(tWindow* sourceWindow, tWindow* newWindow) | ~~~~~~~~~^~~~~~~~~~~~ tinywindow/Example/../Include/TinyWindow.h:2173:68: warning: unused parameter ‘newWindow’ [-Wunused-parameter] 2173 | void ShareContexts(tWindow* sourceWindow, tWindow* newWindow) | ~~~~~~~~~^~~~~~~~~ tinywindow/Example/../Include/TinyWindow.h: In member function ‘std::error_code TinyWindow::windowManager::Linux_InitializeWindow(TinyWindow::tWindow*)’: tinywindow/Example/../Include/TinyWindow.h:3995:41: error: ‘class TinyWindow::tWindow’ has no member named ‘depthBits’ 3995 | window->depthBits, | ^~~~~~~~~ tinywindow/Example/../Include/TinyWindow.h:4027:41: error: ‘class TinyWindow::tWindow’ has no member named ‘resolution’ 4027 | window->resolution.width, window->resolution.height, | ^~~~~~~~~~ tinywindow/Example/../Include/TinyWindow.h:4027:67: error: ‘class TinyWindow::tWindow’ has no member named ‘resolution’ 4027 | window->resolution.width, window->resolution.height, | ^~~~~~~~~~ tinywindow/Example/../Include/TinyWindow.h:4040:41: error: ‘class TinyWindow::tWindow’ has no member named ‘name’ 4040 | window->name); | ^~~~ tinywindow/Example/../Include/TinyWindow.h: In member function ‘void TinyWindow::windowManager::Linux_ProcessEvents(XEvent)’: tinywindow/Example/../Include/TinyWindow.h:4337:49: error: ‘class TinyWindow::tWindow’ has no member named ‘resolution’ 4337 | window->resolution.width = currentEvent.xresizerequest.width; | ^~~~~~~~~~ tinywindow/Example/../Include/TinyWindow.h:4338:49: error: ‘class TinyWindow::tWindow’ has no member named ‘resolution’ 4338 | window->resolution.height = currentEvent.xresizerequest.height; | ^~~~~~~~~~ tinywindow/Example/../Include/TinyWindow.h:4341:57: error: ‘class TinyWindow::tWindow’ has no member named ‘resolution’ 4341 | window->resolution.width, | ^~~~~~~~~~ tinywindow/Example/../Include/TinyWindow.h:4342:57: error: ‘class TinyWindow::tWindow’ has no member named ‘resolution’ 4342 | window->resolution.height); | ^~~~~~~~~~ tinywindow/Example/../Include/TinyWindow.h:4360:100: error: ‘class TinyWindow::tWindow’ has no member named ‘resolution’ 4360 | if ((unsigned int)currentEvent.xconfigure.width != window->resolution.width | ^~~~~~~~~~ tinywindow/Example/../Include/TinyWindow.h:4361:108: error: ‘class TinyWindow::tWindow’ has no member named ‘resolution’ 4361 | || (unsigned int)currentEvent.xconfigure.height != window->resolution.height) | ^~~~~~~~~~ tinywindow/Example/../Include/TinyWindow.h:4368:57: error: ‘class TinyWindow::tWindow’ has no member named ‘resolution’ 4368 | window->resolution.width = currentEvent.xconfigure.width; | ^~~~~~~~~~ tinywindow/Example/../Include/TinyWindow.h:4369:57: error: ‘class TinyWindow::tWindow’ has no member named ‘resolution’ 4369 | window->resolution.height = currentEvent.xconfigure.height; | ^~~~~~~~~~ tinywindow/Example/../Include/TinyWindow.h: In member function ‘__GLXFBConfigRec* TinyWindow::windowManager::GetBestFrameBufferConfig(TinyWindow::tWindow*)’: tinywindow/Example/../Include/TinyWindow.h:4912:55: error: ‘class TinyWindow::tWindow’ has no member named ‘colorBits’ 4912 | GLX_RED_SIZE, window->colorBits, | ^~~~~~~~~ tinywindow/Example/../Include/TinyWindow.h:4913:57: error: ‘class TinyWindow::tWindow’ has no member named ‘colorBits’ 4913 | GLX_GREEN_SIZE, window->colorBits, | ^~~~~~~~~ tinywindow/Example/../Include/TinyWindow.h:4914:56: error: ‘class TinyWindow::tWindow’ has no member named ‘colorBits’ 4914 | GLX_BLUE_SIZE, window->colorBits, | ^~~~~~~~~ tinywindow/Example/../Include/TinyWindow.h:4915:57: error: ‘class TinyWindow::tWindow’ has no member named ‘colorBits’ 4915 | GLX_ALPHA_SIZE, window->colorBits, | ^~~~~~~~~ tinywindow/Example/../Include/TinyWindow.h:4916:57: error: ‘class TinyWindow::tWindow’ has no member named ‘depthBits’ 4916 | GLX_DEPTH_SIZE, window->depthBits, | ^~~~~~~~~ tinywindow/Example/../Include/TinyWindow.h:4917:59: error: ‘class TinyWindow::tWindow’ has no member named ‘stencilBits’ 4917 | GLX_STENCIL_SIZE, window->stencilBits, | ^~~~~~~~~~~ tinywindow/Example/Example.cpp: In function ‘void HandleFileDrop(TinyWindow::tWindow*, const std::vector >&, const TinyWindow::vec2_t&)’: tinywindow/Example/Example.cpp:123:96: warning: unused parameter ‘windowMousePosition’ [-Wunused-parameter] 123 | void HandleFileDrop(tWindow* window, const std::vector& files, const vec2_t& windowMousePosition) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ tinywindow/Example/Example.cpp: In function ‘void HandleGamepadState(TinyWindow::gamepad_t*)’: tinywindow/Example/Example.cpp:176:18: warning: format ‘%i’ expects argument of type ‘int’, but argument 2 has type ‘double’ [-Wformat=] 176 | printf("%i \n", pad->rightStick[0]); | ~^ | | | int | %f