You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
SCons: Re-enable treating #warning as error with werror
Replace all TODO uses of `#warning` by proper TODO comments, and will open matching bug reports to keep track of them. We don't have a great track record fixing TODOs, but I'd wager we're even worse for fixing these "TODO #warning" so we should prohibit this usage.
This commit is contained in:
@@ -1202,16 +1202,6 @@ float DisplayServerX11::screen_get_refresh_rate(int p_screen) const {
|
||||
return SCREEN_REFRESH_RATE_FALLBACK;
|
||||
}
|
||||
|
||||
bool DisplayServerX11::screen_is_touchscreen(int p_screen) const {
|
||||
_THREAD_SAFE_METHOD_
|
||||
|
||||
#ifndef _MSC_VER
|
||||
#warning Need to get from proper window
|
||||
#endif
|
||||
|
||||
return DisplayServer::screen_is_touchscreen(p_screen);
|
||||
}
|
||||
|
||||
#ifdef DBUS_ENABLED
|
||||
void DisplayServerX11::screen_set_keep_on(bool p_enable) {
|
||||
if (screen_is_kept_on() == p_enable) {
|
||||
|
||||
Reference in New Issue
Block a user