Last active
September 10, 2016 18:30
-
-
Save janisozaur/feda7c89566d4e03984ddd63e628e1fc to your computer and use it in GitHub Desktop.
OpenRCT2 compiler warnings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In file included from /home/janisozaur/workspace/OpenRCT2/src/audio/audio.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/audio/../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/audio/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/audio/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/audio/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/audio/audio.c:332:20: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (int m = 0; m < countof(gRideMusicInfoList); m++) { | |
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/audio/audio.c:401:20: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (int i = 0; i < countof(gVehicleSoundList); i++) { | |
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
4 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:95: CMakeFiles/openrct2.dir/src/audio/audio.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/cheats.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:119: CMakeFiles/openrct2.dir/src/cheats.c.o] Error 1 | |
/home/janisozaur/workspace/OpenRCT2/src/cmdline_sprite.c:263:23: error: comparison of integers of different signs: 'uint32' (aka 'unsigned int') and 'int' [-Werror,-Wsign-compare] | |
if (smallest_error == -1 || smallest_error > error){ | |
~~~~~~~~~~~~~~ ^ ~~ | |
1 error generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:143: CMakeFiles/openrct2.dir/src/cmdline_sprite.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/config.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/themes.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:93:16: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ "SOFTWARE", DRAWING_ENGINE_SOFTWARE }, | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:94:20: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ "SOFTWARE_HWD", DRAWING_ENGINE_SOFTWARE_WITH_HARDWARE_DISPLAY }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:95:14: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ "OPENGL", DRAWING_ENGINE_OPENGL }, | |
^~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:96:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
END_OF_ENUM | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:73:29: note: expanded from macro 'END_OF_ENUM' | |
#define END_OF_ENUM { NULL, 0 } | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:100:16: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ "IMPERIAL", MEASUREMENT_FORMAT_IMPERIAL }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:101:14: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ "METRIC", MEASUREMENT_FORMAT_METRIC }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:102:10: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ "SI", MEASUREMENT_FORMAT_SI }, | |
^~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:103:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
END_OF_ENUM | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:73:29: note: expanded from macro 'END_OF_ENUM' | |
#define END_OF_ENUM { NULL, 0 } | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:107:15: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ "CELSIUS", TEMPERATURE_FORMAT_C }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:108:18: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ "FAHRENHEIT", TEMPERATURE_FORMAT_F }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:109:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
END_OF_ENUM | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:73:29: note: expanded from macro 'END_OF_ENUM' | |
#define END_OF_ENUM { NULL, 0 } | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:113:11: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ "GBP", CURRENCY_POUNDS }, | |
^~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:114:11: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ "USD", CURRENCY_DOLLARS }, | |
^~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:115:11: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ "FRF", CURRENCY_FRANC }, | |
^~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:116:11: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ "DEM", CURRENCY_DEUTSCHMARK }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:117:11: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ "JPY", CURRENCY_YEN }, | |
^~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:118:11: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ "ESP", CURRENCY_PESETA }, | |
^~~~~~~~~~~~~~~ | |
{ } | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:167: CMakeFiles/openrct2.dir/src/config.c.o] Error 1 | |
/home/janisozaur/workspace/OpenRCT2/src/diagnostic.c:48:19: error: format string is not a string literal [-Werror,-Wformat-nonliteral] | |
vfprintf(stream, format, args); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/diagnostic.c:73:19: error: format string is not a string literal [-Werror,-Wformat-nonliteral] | |
vfprintf(stream, format, args); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:239: CMakeFiles/openrct2.dir/src/diagnostic.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/drawing/drawing.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/drawing/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:263: CMakeFiles/openrct2.dir/src/drawing/drawing.c.o] Error 1 | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/scrolling_text.c:1454:54: error: cast from 'utf8 **' (aka 'char **') to 'const utf8 **' (aka 'const char **') must have all intermediate pointers const qualified to be safe [-Werror,-Wcast-qual] | |
uint32 codepoint = utf8_get_next(ch, (const utf8**)&ch); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/scrolling_text.c:1511:54: error: cast from 'utf8 **' (aka 'char **') to 'const utf8 **' (aka 'const char **') must have all intermediate pointers const qualified to be safe [-Werror,-Wcast-qual] | |
while ((codepoint = utf8_get_next(ch, (const utf8**)&ch)) != 0) { | |
^ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:359: CMakeFiles/openrct2.dir/src/drawing/scrolling_text.c.o] Error 1 | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/sprite.c:129:28: error: passing 'const char [80]' to parameter of type 'utf8 *' (aka 'char *') discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
platform_show_messagebox("Unable to load g1.dat. Your RollerCoaster Tycoon 2 path may be incorrectly set."); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/../platform/platform.h:177:37: note: passing argument to parameter 'message' here | |
void platform_show_messagebox(utf8 *message); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/sprite.c:184:28: error: passing 'const char [22]' to parameter of type 'utf8 *' (aka 'char *') discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
platform_show_messagebox("Unable to load g2.dat"); | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/../platform/platform.h:177:37: note: passing argument to parameter 'message' here | |
void platform_show_messagebox(utf8 *message); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/sprite.c:195:20: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (int i = 0; i < countof(fadeSprites); i++) { | |
~ ^ ~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/sprite.c:197:16: error: comparison of integers of different signs: 'const uint32' (aka 'const unsigned int') and 'int' [-Werror,-Wsign-compare] | |
if (spriteId == SPR_NONE) { | |
~~~~~~~~ ^ ~~~~~~~~ | |
4 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:383: CMakeFiles/openrct2.dir/src/drawing/sprite.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/drawing/string.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/drawing/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/string.c:42:71: error: missing field 'font' initializer [-Werror,-Wmissing-field-initializers] | |
static ttf_cache_entry _ttfSurfaceCache[TTF_SURFACE_CACHE_SIZE] = { 0 }; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/string.c:42:69: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
static ttf_cache_entry _ttfSurfaceCache[TTF_SURFACE_CACHE_SIZE] = { 0 }; | |
^ | |
{} | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/string.c:54:82: error: missing field 'font' initializer [-Werror,-Wmissing-field-initializers] | |
static ttf_getwidth_cache_entry _ttfGetWidthCache[TTF_GETWIDTH_CACHE_SIZE] = { 0 }; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/string.c:54:80: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
static ttf_getwidth_cache_entry _ttfGetWidthCache[TTF_GETWIDTH_CACHE_SIZE] = { 0 }; | |
^ | |
{} | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/string.c:72:54: error: cast from 'utf8 **' (aka 'char **') to 'const utf8 **' (aka 'const char **') must have all intermediate pointers const qualified to be safe [-Werror,-Wcast-qual] | |
while ((codepoint = utf8_get_next(ch, (const utf8**)&nextCh)) != 0) { | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/string.c:124:54: error: cast from 'utf8 **' (aka 'char **') to 'const utf8 **' (aka 'const char **') must have all intermediate pointers const qualified to be safe [-Werror,-Wcast-qual] | |
while ((codepoint = utf8_get_next(ch, (const utf8**)&nextCh)) != 0) { | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/string.c:181:54: error: cast from 'utf8 **' (aka 'char **') to 'const utf8 **' (aka 'const char **') must have all intermediate pointers const qualified to be safe [-Werror,-Wcast-qual] | |
while ((codepoint = utf8_get_next(ch, (const utf8**)&nextCh)) != 0) { | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/string.c:572:17: error: cast from 'const char *' to 'char *' drops const qualifier [-Werror,-Wcast-qual] | |
text = (char*)(ch + 1); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/string.c:679:55: error: cast from 'utf8 **' (aka 'char **') to 'const utf8 **' (aka 'const char **') must have all intermediate pointers const qualified to be safe [-Werror,-Wcast-qual] | |
while ((codepoint = utf8_get_next(ch, (const utf8**)&nextCh)) != 0) { | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/string.c:1137:31: error: cast from 'const char *' to 'unsigned int *' drops const qualifier [-Werror,-Wcast-qual] | |
uint32 imageId = *((uint32*)(nextCh)); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/string.c:1344:34: error: cast from 'const char *' to 'char *' drops const qualifier [-Werror,-Wcast-qual] | |
if (gfx_get_string_width((char*)path) <= availableWidth) { | |
^ | |
13 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:407: CMakeFiles/openrct2.dir/src/drawing/string.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/editor.c:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:431: CMakeFiles/openrct2.dir/src/editor.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/game.c:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/game.c:96:20: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (int i = 0; i < countof(game_command_callback_table); i++ ) { | |
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/game.c:106:12: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
if (index < countof(game_command_callback_table)) { | |
~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/game.c:454:14: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
if (command >= countof(new_game_command_table)) { | |
~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/game.c:917:26: error: cast from 'const void *' to 'char **' drops const qualifier [-Werror,-Wcast-qual] | |
return strcmp(*(char **)a, *(char **)b); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/game.c:917:39: error: cast from 'const void *' to 'char **' drops const qualifier [-Werror,-Wcast-qual] | |
return strcmp(*(char **)a, *(char **)b); | |
^ | |
7 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:455: CMakeFiles/openrct2.dir/src/game.c.o] Error 1 | |
/home/janisozaur/workspace/OpenRCT2/src/image_io.c:221:24: error: cast from 'const void *' to 'unsigned char *' drops const qualifier [-Werror,-Wcast-qual] | |
uint8 *bits = (uint8*)pixels; | |
^ | |
1 error generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:503: CMakeFiles/openrct2.dir/src/image_io.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/input.c:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/input.c:139:15: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
} else if (x != 0x80000000) { | |
~ ^ ~~~~~~~~~~ | |
3 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:527: CMakeFiles/openrct2.dir/src/input.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/chat.c:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/../interface/themes.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:551: CMakeFiles/openrct2.dir/src/interface/chat.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/console.c:28: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/../drawing/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../drawing/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../drawing/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/console.c:334:33: error: format string is not a string literal [-Werror,-Wformat-nonliteral] | |
vsprintf(_consolePrintfBuffer, format, list); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/console.c:644:29: error: missing field 'y' initializer [-Werror,-Wmissing-field-initializers] | |
rct_xy16 mapCoord = { 0 }; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/console.c:777:31: error: initializing 'utf8 *' (aka 'char *') with an expression of type 'const char [13]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
utf8* climate_names[] = { "cool_and_wet", "warm", "hot_and_dry", "cold" }; | |
^~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/console.c:777:47: error: initializing 'utf8 *' (aka 'char *') with an expression of type 'const char [5]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
utf8* climate_names[] = { "cool_and_wet", "warm", "hot_and_dry", "cold" }; | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/console.c:777:55: error: initializing 'utf8 *' (aka 'char *') with an expression of type 'const char [12]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
utf8* climate_names[] = { "cool_and_wet", "warm", "hot_and_dry", "cold" }; | |
^~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/console.c:777:70: error: initializing 'utf8 *' (aka 'char *') with an expression of type 'const char [5]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
utf8* climate_names[] = { "cool_and_wet", "warm", "hot_and_dry", "cold" }; | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/console.c:987:2: error: initializing 'utf8 *' (aka 'char *') with an expression of type 'const char [12]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
"park_rating", | |
^~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/console.c:988:2: error: initializing 'utf8 *' (aka 'char *') with an expression of type 'const char [6]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
"money", | |
^~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/console.c:989:2: error: initializing 'utf8 *' (aka 'char *') with an expression of type 'const char [22]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
"scenario_initial_cash", | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/console.c:990:2: error: initializing 'utf8 *' (aka 'char *') with an expression of type 'const char [13]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
"current_loan", | |
^~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/console.c:991:2: error: initializing 'utf8 *' (aka 'char *') with an expression of type 'const char [9]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
"max_loan", | |
^~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/console.c:992:2: error: initializing 'utf8 *' (aka 'char *') with an expression of type 'const char [19]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
"guest_initial_cash", | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/console.c:993:2: error: initializing 'utf8 *' (aka 'char *') with an expression of type 'const char [24]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
"guest_initial_happiness", | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/console.c:994:2: error: initializing 'utf8 *' (aka 'char *') with an expression of type 'const char [21]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
"guest_initial_hunger", | |
^~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/console.c:995:2: error: initializing 'utf8 *' (aka 'char *') with an expression of type 'const char [21]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
"guest_initial_thirst", | |
^~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/console.c:996:2: error: initializing 'utf8 *' (aka 'char *') with an expression of type 'const char [32]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
"guest_prefer_less_intense_rides", | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/console.c:997:2: error: initializing 'utf8 *' (aka 'char *') with an expression of type 'const char [32]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
"guest_prefer_more_intense_rides", | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:599: CMakeFiles/openrct2.dir/src/interface/console.c.o] Error 1 | |
/home/janisozaur/workspace/OpenRCT2/src/interface/graph.c:107:18: error: comparison of integers of different signs: 'money32' (aka 'int') and 'unsigned int' [-Werror,-Wsign-compare] | |
if (history[i] != 0x80000000 && yearOver32 % 4 == 0) { | |
~~~~~~~~~~ ^ ~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/graph.c:127:18: error: comparison of integers of different signs: 'money32' (aka 'int') and 'unsigned int' [-Werror,-Wsign-compare] | |
if (history[i] != 0x80000000) { | |
~~~~~~~~~~ ^ ~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/graph.c:151:18: error: comparison of integers of different signs: 'money32' (aka 'int') and 'unsigned int' [-Werror,-Wsign-compare] | |
if (history[i] != 0x80000000) { | |
~~~~~~~~~~ ^ ~~~~~~~~~~ | |
3 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:623: CMakeFiles/openrct2.dir/src/interface/graph.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/keyboard_shortcut.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/keyboard_shortcut.c:80:42: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
if (shortcutIndex >= 0 && shortcutIndex < countof(shortcut_table)) { | |
~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~ | |
3 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:647: CMakeFiles/openrct2.dir/src/interface/keyboard_shortcut.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/screenshot.c:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/../audio/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../audio/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../audio/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/screenshot.c:240:16: error: cast from 'const char *' to 'char *' drops const qualifier [-Werror,-Wcast-qual] | |
strcpy((char*)language_get_string(stringId), path_get_filename(path)); | |
^ | |
3 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:671: CMakeFiles/openrct2.dir/src/interface/screenshot.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/title_sequences.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/title_sequences.c:29:49: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
title_command titleCommand = { (uint8)command, (uint8)parameter1, (uint8)parameter2 }; | |
^~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/interface/title_sequences.c:45:27: error: cast from 'const char *' to 'char *' drops const qualifier [-Werror,-Wcast-qual] | |
char *extension = (char*)path_get_extension(name); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/title_sequences.c:62:51: error: assigning to 'utf8string' (aka 'char *') from 'const char [6]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
gConfigInterface.current_title_sequence_preset = "*RCT1"; | |
^ ~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/title_sequences.c:65:51: error: assigning to 'utf8string' (aka 'char *') from 'const char [8]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
gConfigInterface.current_title_sequence_preset = "*RCT1AA"; | |
^ ~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/title_sequences.c:68:51: error: assigning to 'utf8string' (aka 'char *') from 'const char [10]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
gConfigInterface.current_title_sequence_preset = "*RCT1AALL"; | |
^ ~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/title_sequences.c:71:51: error: assigning to 'utf8string' (aka 'char *') from 'const char [6]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
gConfigInterface.current_title_sequence_preset = "*RCT2"; | |
^ ~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/title_sequences.c:74:51: error: assigning to 'utf8string' (aka 'char *') from 'const char [10]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
gConfigInterface.current_title_sequence_preset = "*OPENRCT2"; | |
^ ~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/title_sequences.c:230:27: error: cast from 'const char *' to 'char *' drops const qualifier [-Werror,-Wcast-qual] | |
char *extension = (char*)path_get_extension(newName); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/title_sequences.c:304:28: error: cast from 'const char *' to 'char *' drops const qualifier [-Werror,-Wcast-qual] | |
char *extension = (char*)path_get_extension(newName); | |
^ | |
11 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:695: CMakeFiles/openrct2.dir/src/interface/title_sequences.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/viewport.c:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/../paint/supports.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/../paint/../world/footpath.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/../paint/../world/../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:719: CMakeFiles/openrct2.dir/src/interface/viewport.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/viewport_interaction.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/viewport_interaction.c:59:26: error: missing field 'y' initializer [-Werror,-Wmissing-field-initializers] | |
rct_xy16 mapCoord = { 0 }; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/viewport_interaction.c:180:26: error: missing field 'y' initializer [-Werror,-Wmissing-field-initializers] | |
rct_xy16 mapCoord = { 0 }; | |
^ | |
4 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:743: CMakeFiles/openrct2.dir/src/interface/viewport_interaction.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/widget.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/../input.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/../drawing/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/widget.c:271:20: error: comparison of integers of different signs: 'uint32' (aka 'unsigned int') and 'int' [-Werror,-Wsign-compare] | |
if (widget->image == -2) { | |
~~~~~~~~~~~~~ ^ ~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/widget.c:293:20: error: comparison of integers of different signs: 'uint32' (aka 'unsigned int') and 'int' [-Werror,-Wsign-compare] | |
if (widget->image == -1) | |
~~~~~~~~~~~~~ ^ ~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/widget.c:347:21: error: comparison of integers of different signs: 'uint32' (aka 'unsigned int') and 'int' [-Werror,-Wsign-compare] | |
if (widget->image == -2) { | |
~~~~~~~~~~~~~ ^ ~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/widget.c:685:32: error: cast from 'const char *' to 'char *' drops const qualifier [-Werror,-Wcast-qual] | |
gfx_draw_string(dpi, (char*)CheckBoxMarkString, colour & 0x7F, l, yMid - 5); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/widget.c:784:30: error: cast from 'const char *' to 'char *' drops const qualifier [-Werror,-Wcast-qual] | |
gfx_draw_string(dpi, (char*)BlackLeftArrowString, 0, l + 1, t); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/widget.c:794:30: error: cast from 'const char *' to 'char *' drops const qualifier [-Werror,-Wcast-qual] | |
gfx_draw_string(dpi, (char*)BlackRightArrowString, 0, r - 6, t); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/widget.c:810:30: error: cast from 'const char *' to 'char *' drops const qualifier [-Werror,-Wcast-qual] | |
gfx_draw_string(dpi, (char*)BlackUpArrowString, 0, l + 1, t - 1); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/widget.c:820:30: error: cast from 'const char *' to 'char *' drops const qualifier [-Werror,-Wcast-qual] | |
gfx_draw_string(dpi, (char*)BlackDownArrowString, 0, l + 1, b - 9); | |
^ | |
10 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:767: CMakeFiles/openrct2.dir/src/interface/widget.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/window.c:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/window.c:1371:11: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
if (i >= countof(window_scroll_locations)) { | |
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
3 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:791: CMakeFiles/openrct2.dir/src/interface/window.c.o] Error 1 | |
/home/janisozaur/workspace/OpenRCT2/src/localisation/convert.c:74:26: error: cast from 'const void *' to 'unsigned short *' drops const qualifier [-Werror,-Wcast-qual] | |
uint16 key = *((uint16*)pKey); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/localisation/convert.c:75:59: error: cast from 'const void *' to 'struct encoding_convert_entry *' drops const qualifier [-Werror,-Wcast-qual] | |
encoding_convert_entry *entry = (encoding_convert_entry*)pEntry; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/localisation/convert.c:91:20: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (int i = 0; i < countof(RCT2ToUnicodeTable); i++) { | |
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
3 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:839: CMakeFiles/openrct2.dir/src/localisation/convert.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/localisation/date.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/localisation/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/localisation/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/localisation/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/localisation/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:887: CMakeFiles/openrct2.dir/src/localisation/date.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/localisation/localisation.c:28: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/localisation/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/localisation/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/localisation/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/localisation/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/localisation/localisation.c:406:16: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (i = 0; i < countof(format_code_tokens); i++) | |
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/localisation/localisation.c:415:16: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (i = 0; i < countof(format_code_tokens); i++) | |
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/localisation/localisation.c:479:54: error: cast from 'utf8 **' (aka 'char **') to 'const utf8 **' (aka 'const char **') must have all intermediate pointers const qualified to be safe [-Werror,-Wcast-qual] | |
uint32 code = utf8_get_next(readPtr, (const utf8**)&readPtr); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/localisation/localisation.c:1231:16: error: cast from 'const char *' to 'char *' drops const qualifier [-Werror,-Wcast-qual] | |
return (utf8*)(ch - 1); | |
^ | |
6 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:911: CMakeFiles/openrct2.dir/src/localisation/localisation.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/localisation/user.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/localisation/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/localisation/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/localisation/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/localisation/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:959: CMakeFiles/openrct2.dir/src/localisation/user.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/management/award.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/management/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/management/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/management/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/management/award.c:529:17: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (j = 0; j < countof(dazzling_ride_colours); j++) { | |
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
3 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:1007: CMakeFiles/openrct2.dir/src/management/award.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/management/finance.c:17: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/management/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/management/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/management/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/management/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:1031: CMakeFiles/openrct2.dir/src/management/finance.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/management/marketing.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/management/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/management/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/management/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/management/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/management/marketing.c:157:23: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
if (type < 0 || type >= countof(AdvertisingCampaignPricePerWeek)) | |
~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
3 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:1055: CMakeFiles/openrct2.dir/src/management/marketing.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/management/news_item.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/management/../input.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/management/../audio/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/management/../audio/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/management/../audio/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:1079: CMakeFiles/openrct2.dir/src/management/news_item.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/management/research.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/management/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/management/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/management/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/management/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/management/research.c:574:43: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
if (fundingAmount < 0 || fundingAmount >= countof(_researchRate)) { | |
~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~ | |
3 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:1103: CMakeFiles/openrct2.dir/src/management/research.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object_list.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/object_list.c:72:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
(void**)(gRideEntries ), RCT2_ADDRESS(0x00F3F03C ,rct_object_entry_extended), // rides | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/object_list.c:73:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
(void**)(gSmallSceneryEntries ), RCT2_ADDRESS(0x00F3F03C + (128 * 20),rct_object_entry_extended), // small scenery 0x009AD1A4, 0xF2FA3C | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/object_list.c:74:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
(void**)(gLargeSceneryEntries ), RCT2_ADDRESS(0x00F3F03C + (380 * 20),rct_object_entry_extended), // large scenery 0x009AD594, 0xF40DEC | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/object_list.c:75:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
(void**)(gWallSceneryEntries ), RCT2_ADDRESS(0x00F3F03C + (508 * 20),rct_object_entry_extended), // walls 0x009AD794, 0xF417EC | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/object_list.c:76:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
(void**)(gBannerSceneryEntries ), RCT2_ADDRESS(0x00F3F03C + (636 * 20),rct_object_entry_extended), // banners 0x009AD994, 0xF421EC | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/object_list.c:77:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
(void**)(gFootpathEntries ), RCT2_ADDRESS(0x00F3F03C + (668 * 20),rct_object_entry_extended), // paths 0x009ADA14, 0xF4246C | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/object_list.c:78:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
(void**)(gFootpathAdditionEntries ), RCT2_ADDRESS(0x00F3F03C + (684 * 20),rct_object_entry_extended), // path bits 0x009ADA54, 0xF425AC | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/object_list.c:79:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
(void**)(gSceneryGroupEntries ), RCT2_ADDRESS(0x00F3F03C + (699 * 20),rct_object_entry_extended), // scenery sets 0x009ADA90, 0xF426D8 | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/object_list.c:80:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
(void**)(gParkEntranceEntries ), RCT2_ADDRESS(0x00F3F03C + (718 * 20),rct_object_entry_extended), // park entrance 0x009ADADC, 0xF42854 | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/object_list.c:81:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
(void**)(gWaterEntries ), RCT2_ADDRESS(0x00F3F03C + (719 * 20),rct_object_entry_extended), // water 0x009ADAE0, 0xF42868 | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/object_list.c:82:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
(void**)(gStexEntries ), RCT2_ADDRESS(0x00F3F03C + (720 * 20),rct_object_entry_extended), // scenario text 0x009ADAE4, 0xF4287C | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/object_list.c:87:28: error: cast from 'const struct rct_object_entry *' to 'unsigned int *' drops const qualifier [-Werror,-Wcast-qual] | |
uint32 *dwords = (uint32*)entry; | |
^ | |
14 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:1127: CMakeFiles/openrct2.dir/src/object_list.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/openrct2.c:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/openrct2.c:592:36: error: arithmetic on a pointer to void is a GNU extension [-Werror,-Wpointer-arith] | |
void *start = (void *)segments + i * pageSize; | |
~~~~~~~~~~~~~~~~ ^ | |
/home/janisozaur/workspace/OpenRCT2/src/openrct2.c:593:34: error: arithmetic on a pointer to void is a GNU extension [-Werror,-Wpointer-arith] | |
void *end = (void *)segments + (i + 1) * pageSize - 1; | |
~~~~~~~~~~~~~~~~ ^ | |
/home/janisozaur/workspace/OpenRCT2/src/openrct2.c:593:55: error: arithmetic on a pointer to void is a GNU extension [-Werror,-Wpointer-arith] | |
void *end = (void *)segments + (i + 1) * pageSize - 1; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ | |
5 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:1151: CMakeFiles/openrct2.dir/src/openrct2.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/map_element/banner.c:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:1175: CMakeFiles/openrct2.dir/src/paint/map_element/banner.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/map_element/entrance.c:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:1199: CMakeFiles/openrct2.dir/src/paint/map_element/entrance.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/map_element/fence.c:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:1223: CMakeFiles/openrct2.dir/src/paint/map_element/fence.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/map_element/map_element.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:1247: CMakeFiles/openrct2.dir/src/paint/map_element/map_element.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/map_element/path.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:1271: CMakeFiles/openrct2.dir/src/paint/map_element/path.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/map_element/scenery.c:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:1295: CMakeFiles/openrct2.dir/src/paint/map_element/scenery.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/map_element/scenery_multiple.c:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../supports.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../world/footpath.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../world/../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/scenery_multiple.c:97:85: error: cast from 'utf8 **' (aka 'char **') to 'const utf8 **' (aka 'const char **') must have all intermediate pointers const qualified to be safe [-Werror,-Wcast-qual] | |
while (w <= text->max_width && (codepoint = utf8_get_next(fitStrEnd, (const utf8**)&fitStrEnd)) != 0) { | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/scenery_multiple.c:163:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 3, 3, 26, 26 }, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/scenery_multiple.c:163:12: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 3, 3, 26, 26 }, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/scenery_multiple.c:164:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 17, 17, 12, 12 }, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/scenery_multiple.c:164:12: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 17, 17, 12, 12 }, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/scenery_multiple.c:165:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 17, 3, 12, 12 }, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/scenery_multiple.c:165:12: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 17, 3, 12, 12 }, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/scenery_multiple.c:166:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 17, 3, 12, 26 }, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/scenery_multiple.c:166:12: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 17, 3, 12, 26 }, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/scenery_multiple.c:167:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 3, 3, 12, 12 }, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/scenery_multiple.c:167:12: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 3, 3, 12, 12 }, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/scenery_multiple.c:168:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 3, 3, 26, 26 }, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/scenery_multiple.c:168:12: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 3, 3, 26, 26 }, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/scenery_multiple.c:169:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 3, 3, 28, 12 }, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/scenery_multiple.c:169:12: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 3, 3, 28, 12 }, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/scenery_multiple.c:170:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 3, 3, 26, 26 }, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/scenery_multiple.c:170:12: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 3, 3, 26, 26 }, | |
^~~~~~ | |
{ } | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:1319: CMakeFiles/openrct2.dir/src/paint/map_element/scenery_multiple.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/map_element/surface.c:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/surface.c:441:20: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
rct_xy8 offset = {0, 0}; | |
^~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/surface.c:441:20: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
rct_xy8 offset = {0, 0}; | |
^~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/surface.c:442:20: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
rct_xy8 bounds = {0, 0}; | |
^~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/surface.c:442:20: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
rct_xy8 bounds = {0, 0}; | |
^~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/surface.c:537:20: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
rct_xy8 offset = {0, 0}; | |
^~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/surface.c:537:20: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
rct_xy8 offset = {0, 0}; | |
^~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/surface.c:538:20: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
rct_xy8 bounds = {0, 0}; | |
^~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/surface.c:538:20: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
rct_xy8 bounds = {0, 0}; | |
^~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/surface.c:695:20: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
rct_xy8 offset = {0, 0}; | |
^~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/surface.c:695:20: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
rct_xy8 offset = {0, 0}; | |
^~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/surface.c:696:20: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
rct_xy8 bounds = {0, 0}; | |
^~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/surface.c:696:20: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
rct_xy8 bounds = {0, 0}; | |
^~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/surface.c:797:20: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
rct_xy8 offset = {0, 0}; | |
^~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/surface.c:797:20: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
rct_xy8 offset = {0, 0}; | |
^~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/surface.c:798:20: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
rct_xy8 bounds = {0, 0}; | |
^~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/surface.c:798:20: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
rct_xy8 bounds = {0, 0}; | |
^~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/map_element/surface.c:1243:27: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
registers regs = { 0 }; | |
^ | |
{} | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:1343: CMakeFiles/openrct2.dir/src/paint/map_element/surface.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/paint.c:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/paint/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/paint/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/paint/paint.c:875:10: error: comparison of integers of different signs: 'uint32' (aka 'unsigned int') and 'int' [-Werror,-Wsign-compare] | |
if (edi == -1) | |
~~~ ^ ~~ | |
3 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:1367: CMakeFiles/openrct2.dir/src/paint/paint.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/sprite/litter.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/sprite/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/sprite/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/paint/sprite/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/paint/sprite/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:1391: CMakeFiles/openrct2.dir/src/paint/sprite/litter.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/sprite/misc.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/sprite/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/sprite/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/paint/sprite/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/paint/sprite/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/paint/sprite/misc.c:66:73: error: cast from 'const signed char *' to 'signed char *' drops const qualifier [-Werror,-Wcast-qual] | |
sub_685EBC(amount, stringId, moneyEffect.y, moneyEffect.z, (sint8 *) &money_wave[moneyEffect.wiggle % 22], moneyEffect.offset_x, get_current_rotation()); | |
^ | |
3 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:1415: CMakeFiles/openrct2.dir/src/paint/sprite/misc.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/sprite/peep.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/sprite/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/sprite/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/paint/sprite/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/paint/sprite/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:1439: CMakeFiles/openrct2.dir/src/paint/sprite/peep.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/sprite/sprite.c:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/sprite/../../ride/ride_data.h:21: | |
/home/janisozaur/workspace/OpenRCT2/src/paint/sprite/../../world/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/paint/sprite/../../world/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:1463: CMakeFiles/openrct2.dir/src/paint/sprite/sprite.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/supports.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/paint/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/paint/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/paint/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/paint/supports.c:24:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{4, 4}, | |
^~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/supports.c:24:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{4, 4}, | |
^~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/supports.c:25:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{28, 4}, | |
^~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/supports.c:25:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{28, 4}, | |
^~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/supports.c:26:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{4, 28}, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/supports.c:26:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{4, 28}, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/supports.c:27:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{28, 28}, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/supports.c:27:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{28, 28}, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/supports.c:28:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{16, 16}, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/supports.c:28:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{16, 16}, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/supports.c:29:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{16, 4}, | |
^~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/supports.c:29:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{16, 4}, | |
^~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/supports.c:30:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{4, 16}, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/supports.c:30:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{4, 16}, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/supports.c:31:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{28, 16}, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/supports.c:31:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{28, 16}, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/paint/supports.c:32:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{16, 28} | |
^~~~~~ | |
{ } | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:1487: CMakeFiles/openrct2.dir/src/paint/supports.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/peep/peep.c:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/peep/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/peep/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/peep/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/peep/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/peep/peep.c:7367:16: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (i = 0; i < countof(gPeepEasterEggNames); i++) | |
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/peep/peep.c:11138:20: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (int i = 0; i < countof(_peepRideConsideration); i++) { | |
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/peep/peep.c:11251:20: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (int i = 0; i < countof(_peepRideConsideration); i++) { | |
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/peep/peep.c:11358:20: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (int i = 0; i < countof(_peepRideConsideration); i++) { | |
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/peep/peep.c:11478:46: error: cast from 'const void *' to 'unsigned short *' drops const qualifier [-Werror,-Wcast-qual] | |
rct_peep const *peep_a = GET_PEEP(*(uint16*)sprite_index_a); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/peep/peep.c:11479:46: error: cast from 'const void *' to 'unsigned short *' drops const qualifier [-Werror,-Wcast-qual] | |
rct_peep const *peep_b = GET_PEEP(*(uint16*)sprite_index_b); | |
^ | |
8 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:1511: CMakeFiles/openrct2.dir/src/peep/peep.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/peep/staff.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/peep/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/peep/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/peep/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/peep/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/peep/staff.c:234:26: error: comparison of integers of different signs: 'uint32' (aka 'unsigned int') and 'int' [-Werror,-Wsign-compare] | |
if (idSearchPeep->id == newStaffIndex) { | |
~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~ | |
3 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:1559: CMakeFiles/openrct2.dir/src/peep/staff.c.o] Error 1 | |
/home/janisozaur/workspace/OpenRCT2/src/platform/linux.c:287:14: error: passing 'const char [13]' to parameter of type 'char *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
execute_cmd("which zenity", &exit_value, cmd, &size); | |
^~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/platform/linux.c:243:31: note: passing argument to parameter 'command' here | |
static void execute_cmd(char *command, int *exit_value, char *buf, size_t *buf_size) { | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/platform/linux.c:292:15: error: passing 'const char [14]' to parameter of type 'char *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
execute_cmd("which kdialog", &exit_value, cmd, &size); | |
^~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/platform/linux.c:243:31: note: passing argument to parameter 'command' here | |
static void execute_cmd(char *command, int *exit_value, char *buf, size_t *buf_size) { | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/platform/linux.c:326:13: error: assigning to 'char *' from 'const char [18]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
action = "--getopenfilename"; | |
^ ~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/platform/linux.c:329:13: error: assigning to 'char *' from 'const char [18]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
action = "--getsavefilename"; | |
^ ~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/platform/linux.c:349:64: error: cast from 'const char *' to 'char *' drops const qualifier [-Werror,-Wcast-qual] | |
snprintf(filterTemp, countof(filterTemp), "*|%s", (char *)language_get_string(STR_ALL_FILES)); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/platform/linux.c:351:67: error: cast from 'const char *' to 'char *' drops const qualifier [-Werror,-Wcast-qual] | |
snprintf(filterTemp, countof(filterTemp), "\\n*|%s", (char *)language_get_string(STR_ALL_FILES)); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/platform/linux.c:369:11: error: assigning to 'char *' from 'const char [17]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
action = "--file-selection"; | |
^ ~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/platform/linux.c:372:12: error: assigning to 'char *' from 'const char [27]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
flags = "--confirm-overwrite --save"; | |
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/platform/linux.c:375:12: error: assigning to 'char *' from 'const char [1]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
flags = ""; | |
^ ~~ | |
/home/janisozaur/workspace/OpenRCT2/src/platform/linux.c:407:83: error: cast from 'const char *' to 'char *' drops const qualifier [-Werror,-Wcast-qual] | |
snprintf(filterTemp, countof(filterTemp), " --file-filter=\"%s | *\"", (char *)language_get_string(STR_ALL_FILES)); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/platform/linux.c:335:23: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (int j = 0; j < countof(desc->filters); j++) { | |
~ ^ ~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/platform/linux.c:380:22: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (int j = 0; j < countof(desc->filters); j++) { | |
~ ^ ~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/platform/linux.c:383:23: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for(int i = 0; i <= strlen(desc->filters[j].pattern); i++) { | |
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
13 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:1583: CMakeFiles/openrct2.dir/src/platform/linux.c.o] Error 1 | |
/home/janisozaur/workspace/OpenRCT2/src/platform/posix.c:286:60: error: missing field 'pattern' initializer [-Werror,-Wmissing-field-initializers] | |
static enumerate_file_info _enumerateFileInfoList[8] = { 0 }; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/platform/posix.c:286:58: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
static enumerate_file_info _enumerateFileInfoList[8] = { 0 }; | |
^ | |
{} | |
/home/janisozaur/workspace/OpenRCT2/src/platform/posix.c:344:20: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (int i = 0; i < countof(_enumerateFileInfoList); i++) { | |
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/platform/posix.c:483:20: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (int i = 0; i < countof(_enumerateFileInfoList); i++) { | |
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
4 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:1607: CMakeFiles/openrct2.dir/src/platform/posix.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/platform/shared.c:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/platform/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/platform/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/platform/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/platform/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/platform/shared.c:73:37: error: cast from 'const void *' to 'struct resolution *' drops const qualifier [-Werror,-Wcast-qual] | |
const resolution *a = (resolution*)pa; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/platform/shared.c:74:37: error: cast from 'const void *' to 'struct resolution *' drops const qualifier [-Werror,-Wcast-qual] | |
const resolution *b = (resolution*)pb; | |
^ | |
4 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:1631: CMakeFiles/openrct2.dir/src/platform/shared.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/rct1.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:1679: CMakeFiles/openrct2.dir/src/rct1.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/rct2.c:25: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:1703: CMakeFiles/openrct2.dir/src/rct2.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/cable_lift.c:20: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:1727: CMakeFiles/openrct2.dir/src/ride/cable_lift.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/coaster/junior_roller_coaster.c:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/coaster/../../paint/supports.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/coaster/../../paint/../world/footpath.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/coaster/../../paint/../world/../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/coaster/../../paint/../world/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/coaster/../../paint/../world/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/coaster/../../paint/../world/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/coaster/junior_roller_coaster.c:2072:8: error: missing field 'z' initializer [-Werror,-Wmissing-field-initializers] | |
{0, 6}, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/coaster/junior_roller_coaster.c:2073:10: error: missing field 'z' initializer [-Werror,-Wmissing-field-initializers] | |
{0, 16}, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/coaster/junior_roller_coaster.c:2074:9: error: missing field 'z' initializer [-Werror,-Wmissing-field-initializers] | |
{0, 0}, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/coaster/junior_roller_coaster.c:2075:9: error: missing field 'z' initializer [-Werror,-Wmissing-field-initializers] | |
{16, 0}, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/coaster/junior_roller_coaster.c:2076:8: error: missing field 'z' initializer [-Werror,-Wmissing-field-initializers] | |
{6, 0}, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/coaster/junior_roller_coaster.c:2079:8: error: missing field 'z' initializer [-Werror,-Wmissing-field-initializers] | |
{6, 0}, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/coaster/junior_roller_coaster.c:2080:9: error: missing field 'z' initializer [-Werror,-Wmissing-field-initializers] | |
{16, 0}, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/coaster/junior_roller_coaster.c:2081:10: error: missing field 'z' initializer [-Werror,-Wmissing-field-initializers] | |
{0, 16}, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/coaster/junior_roller_coaster.c:2082:9: error: missing field 'z' initializer [-Werror,-Wmissing-field-initializers] | |
{0, 0}, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/coaster/junior_roller_coaster.c:2083:8: error: missing field 'z' initializer [-Werror,-Wmissing-field-initializers] | |
{0, 6}, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/coaster/junior_roller_coaster.c:2086:9: error: missing field 'z' initializer [-Werror,-Wmissing-field-initializers] | |
{0, 27}, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/coaster/junior_roller_coaster.c:2090:9: error: missing field 'z' initializer [-Werror,-Wmissing-field-initializers] | |
{27, 0}, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/coaster/junior_roller_coaster.c:2093:8: error: missing field 'z' initializer [-Werror,-Wmissing-field-initializers] | |
{6, 0}, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/coaster/junior_roller_coaster.c:2094:9: error: missing field 'z' initializer [-Werror,-Wmissing-field-initializers] | |
{0, 0}, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/coaster/junior_roller_coaster.c:2095:9: error: missing field 'z' initializer [-Werror,-Wmissing-field-initializers] | |
{16, 0}, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/coaster/junior_roller_coaster.c:2096:10: error: missing field 'z' initializer [-Werror,-Wmissing-field-initializers] | |
{0, 16}, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/coaster/junior_roller_coaster.c:2097:8: error: missing field 'z' initializer [-Werror,-Wmissing-field-initializers] | |
{0, 6}, | |
^ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:1991: CMakeFiles/openrct2.dir/src/ride/coaster/junior_roller_coaster.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/coaster/reverser_roller_coaster.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/coaster/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/coaster/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/coaster/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/coaster/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:2231: CMakeFiles/openrct2.dir/src/ride/coaster/reverser_roller_coaster.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/coaster/virginia_reel.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/coaster/../track_paint.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/coaster/../ride_data.h:21: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/coaster/../ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/coaster/../ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/coaster/virginia_reel.c:222:21: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (int i = 0; i < countof(draw_order); i++) { | |
~ ^ ~~~~~~~~~~~~~~~~~~~ | |
3 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:2423: CMakeFiles/openrct2.dir/src/ride/coaster/virginia_reel.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/car_ride.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../track_paint.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../ride_data.h:21: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:2519: CMakeFiles/openrct2.dir/src/ride/gentle/car_ride.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/circus_show.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:2543: CMakeFiles/openrct2.dir/src/ride/gentle/circus_show.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/crooked_house.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:2567: CMakeFiles/openrct2.dir/src/ride/gentle/crooked_house.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/dodgems.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:2591: CMakeFiles/openrct2.dir/src/ride/gentle/dodgems.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/ferris_wheel.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:2615: CMakeFiles/openrct2.dir/src/ride/gentle/ferris_wheel.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/flying_saucers.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:2639: CMakeFiles/openrct2.dir/src/ride/gentle/flying_saucers.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/ghost_train.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../track_paint.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../ride_data.h:21: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:2663: CMakeFiles/openrct2.dir/src/ride/gentle/ghost_train.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/haunted_house.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/haunted_house.c:36:4: error: missing field 'offset_y' initializer [-Werror,-Wmissing-field-initializers] | |
{0}, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/haunted_house.c:38:4: error: missing field 'offset_y' initializer [-Werror,-Wmissing-field-initializers] | |
{0}, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/haunted_house.c:40:4: error: missing field 'offset_y' initializer [-Werror,-Wmissing-field-initializers] | |
{0} | |
^ | |
5 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:2687: CMakeFiles/openrct2.dir/src/ride/gentle/haunted_house.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/maze.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../paint/supports.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../paint/../world/footpath.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../paint/../world/../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../paint/../world/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../paint/../world/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../paint/../world/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:2711: CMakeFiles/openrct2.dir/src/ride/gentle/maze.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/merry_go_round.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:2735: CMakeFiles/openrct2.dir/src/ride/gentle/merry_go_round.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/mini_golf.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:2759: CMakeFiles/openrct2.dir/src/ride/gentle/mini_golf.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/mini_helicopters.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../track_paint.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../ride_data.h:21: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:2783: CMakeFiles/openrct2.dir/src/ride/gentle/mini_helicopters.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/monorail_cycles.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../track_paint.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../ride_data.h:21: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:2807: CMakeFiles/openrct2.dir/src/ride/gentle/monorail_cycles.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/observation_tower.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:2831: CMakeFiles/openrct2.dir/src/ride/gentle/observation_tower.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/space_rings.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:2855: CMakeFiles/openrct2.dir/src/ride/gentle/space_rings.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/spiral_slide.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/gentle/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:2879: CMakeFiles/openrct2.dir/src/ride/gentle/spiral_slide.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:24: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3584:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
INIT_MUSIC_INFO(PATH_ID_CSS4, 1378, 8139054, 0), | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | |
{ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3580:83: note: expanded from macro 'INIT_MUSIC_INFO' | |
#define INIT_MUSIC_INFO(path_id, offset, length, unknown) (rct_ride_music_info[]){length, offset, path_id, unknown} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3585:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
INIT_MUSIC_INFO(PATH_ID_CSS5, 1378, 7796656, 0), | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | |
{ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3580:83: note: expanded from macro 'INIT_MUSIC_INFO' | |
#define INIT_MUSIC_INFO(path_id, offset, length, unknown) (rct_ride_music_info[]){length, offset, path_id, unknown} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3586:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
INIT_MUSIC_INFO(PATH_ID_CSS6, 1378, 15787850, 0), | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | |
{ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3580:83: note: expanded from macro 'INIT_MUSIC_INFO' | |
#define INIT_MUSIC_INFO(path_id, offset, length, unknown) (rct_ride_music_info[]){length, offset, path_id, unknown} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3587:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
INIT_MUSIC_INFO(PATH_ID_CSS7, 1378, 15331658, 0), | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | |
{ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3580:83: note: expanded from macro 'INIT_MUSIC_INFO' | |
#define INIT_MUSIC_INFO(path_id, offset, length, unknown) (rct_ride_music_info[]){length, offset, path_id, unknown} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3588:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
INIT_MUSIC_INFO(PATH_ID_CSS8, 1378, 17503414, 0), | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | |
{ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3580:83: note: expanded from macro 'INIT_MUSIC_INFO' | |
#define INIT_MUSIC_INFO(path_id, offset, length, unknown) (rct_ride_music_info[]){length, offset, path_id, unknown} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3589:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
INIT_MUSIC_INFO(PATH_ID_CSS9, 1378, 7005802, 0), | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | |
{ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3580:83: note: expanded from macro 'INIT_MUSIC_INFO' | |
#define INIT_MUSIC_INFO(path_id, offset, length, unknown) (rct_ride_music_info[]){length, offset, path_id, unknown} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3590:27: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
INIT_MUSIC_INFO(0, 1378, 0, 0), // Referred to the nearly empty CSS10.DAT file | |
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ | |
{ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3580:83: note: expanded from macro 'INIT_MUSIC_INFO' | |
#define INIT_MUSIC_INFO(path_id, offset, length, unknown) (rct_ride_music_info[]){length, offset, path_id, unknown} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3591:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
INIT_MUSIC_INFO(PATH_ID_CSS11, 1378, 7023288, 0), | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | |
{ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3580:83: note: expanded from macro 'INIT_MUSIC_INFO' | |
#define INIT_MUSIC_INFO(path_id, offset, length, unknown) (rct_ride_music_info[]){length, offset, path_id, unknown} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3592:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
INIT_MUSIC_INFO(PATH_ID_CSS12, 1378, 2767948, 0), | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | |
{ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3580:83: note: expanded from macro 'INIT_MUSIC_INFO' | |
#define INIT_MUSIC_INFO(path_id, offset, length, unknown) (rct_ride_music_info[]){length, offset, path_id, unknown} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3593:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
INIT_MUSIC_INFO(PATH_ID_CSS13, 1378, 3373390, 0), | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | |
{ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3580:83: note: expanded from macro 'INIT_MUSIC_INFO' | |
#define INIT_MUSIC_INFO(path_id, offset, length, unknown) (rct_ride_music_info[]){length, offset, path_id, unknown} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3594:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
INIT_MUSIC_INFO(PATH_ID_CSS14, 1378, 20783042, 0), | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | |
{ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3580:83: note: expanded from macro 'INIT_MUSIC_INFO' | |
#define INIT_MUSIC_INFO(path_id, offset, length, unknown) (rct_ride_music_info[]){length, offset, path_id, unknown} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3595:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
INIT_MUSIC_INFO(PATH_ID_CSS15, 1378, 10009312, 0), | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | |
{ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3580:83: note: expanded from macro 'INIT_MUSIC_INFO' | |
#define INIT_MUSIC_INFO(path_id, offset, length, unknown) (rct_ride_music_info[]){length, offset, path_id, unknown} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3596:27: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
INIT_MUSIC_INFO(0, 1378, 0, 0), // Referred to the nearly empty CSS16.DAT file | |
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ | |
{ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3580:83: note: expanded from macro 'INIT_MUSIC_INFO' | |
#define INIT_MUSIC_INFO(path_id, offset, length, unknown) (rct_ride_music_info[]){length, offset, path_id, unknown} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3597:37: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
INIT_MUSIC_INFO(PATH_ID_CSS3, 689, 1244886, 1), | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | |
{ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3580:83: note: expanded from macro 'INIT_MUSIC_INFO' | |
#define INIT_MUSIC_INFO(path_id, offset, length, unknown) (rct_ride_music_info[]){length, offset, path_id, unknown} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3598:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
INIT_MUSIC_INFO(PATH_ID_CSS17, 2756, -1, 0), | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | |
{ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3580:83: note: expanded from macro 'INIT_MUSIC_INFO' | |
#define INIT_MUSIC_INFO(path_id, offset, length, unknown) (rct_ride_music_info[]){length, offset, path_id, unknown} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3599:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
INIT_MUSIC_INFO(PATH_ID_CSS18, 2756, 8429568, 1), | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ | |
{ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3580:83: note: expanded from macro 'INIT_MUSIC_INFO' | |
#define INIT_MUSIC_INFO(path_id, offset, length, unknown) (rct_ride_music_info[]){length, offset, path_id, unknown} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3600:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
INIT_MUSIC_INFO(PATH_ID_CSS19, 2756, 10143784, 1), | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | |
{ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.c:3580:83: note: expanded from macro 'INIT_MUSIC_INFO' | |
#define INIT_MUSIC_INFO(path_id, offset, length, unknown) (rct_ride_music_info[]){length, offset, path_id, unknown} | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:2903: CMakeFiles/openrct2.dir/src/ride/ride.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/ride_data.c:28: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride_data.c:1122:279: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ 20, 20, RIDE_TYPE_FLAG4_ALLOW_MUSIC | RIDE_TYPE_FLAG4_PEEP_CHECK_GFORCES | RIDE_TYPE_FLAG4_HAS_ENTRANCE_EXIT | RIDE_TYPE_FLAG4_HAS_AIR_TIME | RIDE_TYPE_FLAG4_ALLOW_MULTIPLE_CIRCUITS | RIDE_TYPE_FLAG4_11 | RIDE_TYPE_FLAG4_13, MUSIC_STYLE_ROCK_STYLE_3, 0 }, // RIDE_TYPE_SPIRAL_ROLLER_COASTER | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride_data.c:1123:275: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ 20, 20, RIDE_TYPE_FLAG4_ALLOW_MUSIC | RIDE_TYPE_FLAG4_PEEP_CHECK_GFORCES | RIDE_TYPE_FLAG4_HAS_ENTRANCE_EXIT | RIDE_TYPE_FLAG4_HAS_AIR_TIME | RIDE_TYPE_FLAG4_ALLOW_MULTIPLE_CIRCUITS | RIDE_TYPE_FLAG4_11 | RIDE_TYPE_FLAG4_13, MUSIC_STYLE_TECHNO, 0 }, // RIDE_TYPE_STAND_UP_ROLLER_COASTER | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride_data.c:1124:242: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ 20, 20, RIDE_TYPE_FLAG4_ALLOW_MUSIC | RIDE_TYPE_FLAG4_PEEP_CHECK_GFORCES | RIDE_TYPE_FLAG4_HAS_ENTRANCE_EXIT | RIDE_TYPE_FLAG4_HAS_AIR_TIME | RIDE_TYPE_FLAG4_11 | RIDE_TYPE_FLAG4_13, MUSIC_STYLE_ROCK, 0 }, // RIDE_TYPE_SUSPENDED_SWINGING_COASTER | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride_data.c:1125:275: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ 20, 20, RIDE_TYPE_FLAG4_ALLOW_MUSIC | RIDE_TYPE_FLAG4_PEEP_CHECK_GFORCES | RIDE_TYPE_FLAG4_HAS_ENTRANCE_EXIT | RIDE_TYPE_FLAG4_HAS_AIR_TIME | RIDE_TYPE_FLAG4_ALLOW_MULTIPLE_CIRCUITS | RIDE_TYPE_FLAG4_11 | RIDE_TYPE_FLAG4_13, MUSIC_STYLE_TECHNO, 0 }, // RIDE_TYPE_INVERTED_ROLLER_COASTER | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride_data.c:1126:290: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ 20, 20, RIDE_TYPE_FLAG4_0 | RIDE_TYPE_FLAG4_ALLOW_MUSIC | RIDE_TYPE_FLAG4_PEEP_CHECK_GFORCES | RIDE_TYPE_FLAG4_HAS_ENTRANCE_EXIT | RIDE_TYPE_FLAG4_HAS_AIR_TIME | RIDE_TYPE_FLAG4_ALLOW_MULTIPLE_CIRCUITS | RIDE_TYPE_FLAG4_11 | RIDE_TYPE_FLAG4_13, MUSIC_STYLE_SUMMER, 0 }, // RIDE_TYPE_JUNIOR_ROLLER_COASTER | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride_data.c:1127:232: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ 10, 0, RIDE_TYPE_FLAG4_ALLOW_MUSIC | RIDE_TYPE_FLAG4_HAS_ENTRANCE_EXIT | RIDE_TYPE_FLAG4_6 | RIDE_TYPE_FLAG4_ALLOW_MULTIPLE_CIRCUITS | RIDE_TYPE_FLAG4_TRANSPORT_RIDE, MUSIC_STYLE_SUMMER, 0 }, // RIDE_TYPE_MINIATURE_RAILWAY | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride_data.c:1128:232: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ 10, 0, RIDE_TYPE_FLAG4_ALLOW_MUSIC | RIDE_TYPE_FLAG4_HAS_ENTRANCE_EXIT | RIDE_TYPE_FLAG4_6 | RIDE_TYPE_FLAG4_ALLOW_MULTIPLE_CIRCUITS | RIDE_TYPE_FLAG4_TRANSPORT_RIDE, MUSIC_STYLE_SUMMER, 0 }, // RIDE_TYPE_MONORAIL | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride_data.c:1129:246: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ 20, 20, RIDE_TYPE_FLAG4_ALLOW_MUSIC | RIDE_TYPE_FLAG4_PEEP_CHECK_GFORCES | RIDE_TYPE_FLAG4_HAS_ENTRANCE_EXIT | RIDE_TYPE_FLAG4_HAS_AIR_TIME | RIDE_TYPE_FLAG4_11 | RIDE_TYPE_FLAG4_13, MUSIC_STYLE_WILD_WEST, 0 }, // RIDE_TYPE_MINI_SUSPENDED_COASTER | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride_data.c:1130:159: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ 10, 0, RIDE_TYPE_FLAG4_ALLOW_MUSIC | RIDE_TYPE_FLAG4_HAS_ENTRANCE_EXIT, MUSIC_STYLE_WATER, 0 }, // RIDE_TYPE_BOAT_RIDE | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride_data.c:1131:261: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ 20, 20, RIDE_TYPE_FLAG4_0 | RIDE_TYPE_FLAG4_ALLOW_MUSIC | RIDE_TYPE_FLAG4_PEEP_CHECK_GFORCES | RIDE_TYPE_FLAG4_HAS_ENTRANCE_EXIT | RIDE_TYPE_FLAG4_HAS_AIR_TIME | RIDE_TYPE_FLAG4_11 | RIDE_TYPE_FLAG4_13, MUSIC_STYLE_WILD_WEST, 0 }, // RIDE_TYPE_WOODEN_WILD_MOUSE | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride_data.c:1132:242: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ 20, 20, RIDE_TYPE_FLAG4_ALLOW_MUSIC | RIDE_TYPE_FLAG4_PEEP_CHECK_GFORCES | RIDE_TYPE_FLAG4_HAS_ENTRANCE_EXIT | RIDE_TYPE_FLAG4_HAS_AIR_TIME | RIDE_TYPE_FLAG4_11 | RIDE_TYPE_FLAG4_13, MUSIC_STYLE_ROCK, 0 }, // RIDE_TYPE_STEEPLECHASE | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride_data.c:1133:206: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ 15, 0, RIDE_TYPE_FLAG4_0 | RIDE_TYPE_FLAG4_ALLOW_MUSIC | RIDE_TYPE_FLAG4_HAS_ENTRANCE_EXIT | RIDE_TYPE_FLAG4_6 | RIDE_TYPE_FLAG4_14, MUSIC_STYLE_SUMMER, 0 }, // RIDE_TYPE_CAR_RIDE | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride_data.c:1134:176: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ 20, 0, RIDE_TYPE_FLAG4_ALLOW_MUSIC | RIDE_TYPE_FLAG4_HAS_ENTRANCE_EXIT | RIDE_TYPE_FLAG4_13, MUSIC_STYLE_TECHNO, 0 }, // RIDE_TYPE_LAUNCHED_FREEFALL | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride_data.c:1135:273: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ 20, 20, RIDE_TYPE_FLAG4_ALLOW_MUSIC | RIDE_TYPE_FLAG4_PEEP_CHECK_GFORCES | RIDE_TYPE_FLAG4_HAS_ENTRANCE_EXIT | RIDE_TYPE_FLAG4_HAS_AIR_TIME | RIDE_TYPE_FLAG4_ALLOW_MULTIPLE_CIRCUITS | RIDE_TYPE_FLAG4_11 | RIDE_TYPE_FLAG4_13, MUSIC_STYLE_ROCK, 0 }, // RIDE_TYPE_BOBSLEIGH_COASTER | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride_data.c:1136:176: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ 10, 0, RIDE_TYPE_FLAG4_ALLOW_MUSIC | RIDE_TYPE_FLAG4_HAS_ENTRANCE_EXIT | RIDE_TYPE_FLAG4_14, MUSIC_STYLE_SUMMER, 0 }, // RIDE_TYPE_OBSERVATION_TOWER | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride_data.c:1137:273: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ 20, 20, RIDE_TYPE_FLAG4_ALLOW_MUSIC | RIDE_TYPE_FLAG4_PEEP_CHECK_GFORCES | RIDE_TYPE_FLAG4_HAS_ENTRANCE_EXIT | RIDE_TYPE_FLAG4_HAS_AIR_TIME | RIDE_TYPE_FLAG4_ALLOW_MULTIPLE_CIRCUITS | RIDE_TYPE_FLAG4_11 | RIDE_TYPE_FLAG4_13, MUSIC_STYLE_ROCK, 0 }, // RIDE_TYPE_LOOPING_ROLLER_COASTER | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride_data.c:1138:215: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ 20, 20, RIDE_TYPE_FLAG4_ALLOW_MUSIC | RIDE_TYPE_FLAG4_HAS_ENTRANCE_EXIT | RIDE_TYPE_FLAG4_HAS_AIR_TIME | RIDE_TYPE_FLAG4_11 | RIDE_TYPE_FLAG4_13, MUSIC_STYLE_WATER, 0 }, // RIDE_TYPE_DINGHY_SLIDE | |
^ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:2927: CMakeFiles/openrct2.dir/src/ride/ride_data.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/ride_ratings.c:17: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride_ratings.c:789:16: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (i = 0; i < countof(intensityBounds); i++) | |
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ | |
3 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:2951: CMakeFiles/openrct2.dir/src/ride/ride_ratings.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/shops/facility.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/shops/../../paint/supports.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/shops/../../paint/../world/footpath.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/shops/../../paint/../world/../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/shops/../../paint/../world/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/shops/../../paint/../world/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/shops/../../paint/../world/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:2975: CMakeFiles/openrct2.dir/src/ride/shops/facility.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/shops/misc.c:17: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/shops/../../paint/supports.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/shops/../../paint/../world/footpath.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/shops/../../paint/../world/../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/shops/../../paint/../world/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/shops/../../paint/../world/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/shops/../../paint/../world/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:2999: CMakeFiles/openrct2.dir/src/ride/shops/misc.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/shops/shop.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/shops/../../paint/supports.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/shops/../../paint/../world/footpath.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/shops/../../paint/../world/../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/shops/../../paint/../world/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/shops/../../paint/../world/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/shops/../../paint/../world/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3023: CMakeFiles/openrct2.dir/src/ride/shops/shop.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/station.c:17: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3047: CMakeFiles/openrct2.dir/src/ride/station.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/3d_cinema.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3071: CMakeFiles/openrct2.dir/src/ride/thrill/3d_cinema.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/enterprise.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3095: CMakeFiles/openrct2.dir/src/ride/thrill/enterprise.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/go_karts.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../track_paint.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../ride_data.h:21: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3119: CMakeFiles/openrct2.dir/src/ride/thrill/go_karts.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/launched_freefall.c:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3143: CMakeFiles/openrct2.dir/src/ride/thrill/launched_freefall.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/magic_carpet.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3167: CMakeFiles/openrct2.dir/src/ride/thrill/magic_carpet.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/motion_simulator.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3191: CMakeFiles/openrct2.dir/src/ride/thrill/motion_simulator.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/pirate_ship.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3215: CMakeFiles/openrct2.dir/src/ride/thrill/pirate_ship.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/roto_drop.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3239: CMakeFiles/openrct2.dir/src/ride/thrill/roto_drop.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/swinging_inverter_ship.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3263: CMakeFiles/openrct2.dir/src/ride/thrill/swinging_inverter_ship.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/top_spin.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../paint/supports.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../paint/../world/footpath.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../paint/../world/../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../paint/../world/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../paint/../world/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../paint/../world/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/thrill/top_spin.c:159:21: error: comparison of integers of different signs: 'sint8' (aka 'signed char') and 'unsigned int' [-Werror,-Wsign-compare] | |
assert(armRotation < sizeof(TopSpinSeatPositionOffset)); | |
~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/assert.h:86:5: note: expanded from macro 'assert' | |
((expr) \ | |
^~~~ | |
3 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3287: CMakeFiles/openrct2.dir/src/ride/thrill/top_spin.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/twist.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/thrill/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3311: CMakeFiles/openrct2.dir/src/ride/thrill/twist.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/track.c:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track.c:46:111: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ TRACK_FLAT, TRACK_SLOPE_NONE, TRACK_SLOPE_NONE, TRACK_BANK_NONE, TRACK_BANK_NONE, TRACK_NONE }, // ELEM_FLAT | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track.c:47:116: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ TRACK_STATION_END, TRACK_SLOPE_NONE, TRACK_SLOPE_NONE, TRACK_BANK_NONE, TRACK_BANK_NONE, TRACK_NONE }, // ELEM_END_STATION | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track.c:48:111: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ TRACK_FLAT, TRACK_SLOPE_NONE, TRACK_SLOPE_NONE, TRACK_BANK_NONE, TRACK_BANK_NONE, TRACK_NONE }, // ELEM_BEGIN_STATION | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track.c:49:111: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ TRACK_FLAT, TRACK_SLOPE_NONE, TRACK_SLOPE_NONE, TRACK_BANK_NONE, TRACK_BANK_NONE, TRACK_NONE }, // ELEM_MIDDLE_STATION | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track.c:50:113: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ TRACK_FLAT, TRACK_SLOPE_UP_25, TRACK_SLOPE_UP_25, TRACK_BANK_NONE, TRACK_BANK_NONE, TRACK_NONE }, // ELEM_25_DEG_UP | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track.c:51:113: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ TRACK_FLAT, TRACK_SLOPE_UP_60, TRACK_SLOPE_UP_60, TRACK_BANK_NONE, TRACK_BANK_NONE, TRACK_NONE }, // ELEM_60_DEG_UP | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track.c:52:112: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ TRACK_FLAT, TRACK_SLOPE_UP_25, TRACK_SLOPE_NONE, TRACK_BANK_NONE, TRACK_BANK_NONE, TRACK_NONE }, // ELEM_FLAT_TO_25_DEG_UP | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track.c:53:113: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ TRACK_FLAT, TRACK_SLOPE_UP_60, TRACK_SLOPE_UP_25, TRACK_BANK_NONE, TRACK_BANK_NONE, TRACK_NONE }, // ELEM_25_DEG_UP_TO_60_DEG_UP | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track.c:54:113: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ TRACK_FLAT, TRACK_SLOPE_UP_25, TRACK_SLOPE_UP_60, TRACK_BANK_NONE, TRACK_BANK_NONE, TRACK_NONE }, // ELEM_60_DEG_UP_TO_25_DEG_UP | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track.c:55:112: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ TRACK_FLAT, TRACK_SLOPE_NONE, TRACK_SLOPE_UP_25, TRACK_BANK_NONE, TRACK_BANK_NONE, TRACK_NONE }, // ELEM_25_DEG_UP_TO_FLAT | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track.c:56:115: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ TRACK_FLAT, TRACK_SLOPE_DOWN_25, TRACK_SLOPE_DOWN_25, TRACK_BANK_NONE, TRACK_BANK_NONE, TRACK_NONE }, // ELEM_25_DEG_DOWN | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track.c:57:115: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ TRACK_FLAT, TRACK_SLOPE_DOWN_60, TRACK_SLOPE_DOWN_60, TRACK_BANK_NONE, TRACK_BANK_NONE, TRACK_NONE }, // ELEM_60_DEG_DOWN | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track.c:58:113: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ TRACK_FLAT, TRACK_SLOPE_DOWN_25, TRACK_SLOPE_NONE, TRACK_BANK_NONE, TRACK_BANK_NONE, TRACK_NONE }, // ELEM_FLAT_TO_25_DEG_DOWN | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track.c:59:115: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ TRACK_FLAT, TRACK_SLOPE_DOWN_60, TRACK_SLOPE_DOWN_25, TRACK_BANK_NONE, TRACK_BANK_NONE, TRACK_NONE }, // ELEM_25_DEG_DOWN_TO_60_DEG_DOWN | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track.c:60:115: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ TRACK_FLAT, TRACK_SLOPE_DOWN_25, TRACK_SLOPE_DOWN_60, TRACK_BANK_NONE, TRACK_BANK_NONE, TRACK_NONE }, // ELEM_60_DEG_DOWN_TO_25_DEG_DOWN | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track.c:61:113: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ TRACK_FLAT, TRACK_SLOPE_NONE, TRACK_SLOPE_DOWN_25, TRACK_BANK_NONE, TRACK_BANK_NONE, TRACK_NONE }, // ELEM_25_DEG_DOWN_TO_FLAT | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track.c:62:111: error: missing field 'pad' initializer [-Werror,-Wmissing-field-initializers] | |
{ TRACK_FLAT, TRACK_SLOPE_NONE, TRACK_SLOPE_NONE, TRACK_BANK_NONE, TRACK_BANK_NONE, TRACK_NONE }, // ELEM_LEFT_QUARTER_TURN_5_TILES | |
^ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3335: CMakeFiles/openrct2.dir/src/ride/track.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/track_data.c:17: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/track.h:22: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3359: CMakeFiles/openrct2.dir/src/ride/track_data.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/track_design.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/../audio/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/../audio/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/../audio/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track_design.c:624:10: error: explicitly assigning value of variable of type 'uint8' (aka 'unsigned char') to itself [-Werror,-Wself-assign] | |
bh = bh; | |
~~ ^ ~~ | |
3 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3383: CMakeFiles/openrct2.dir/src/ride/track_design.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/track_design_index.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track_design_index.c:330:35: error: missing field 'ride_entry' initializer [-Werror,-Wmissing-field-initializers] | |
td_index_item tdIndexItem = { 0 }; | |
^ | |
3 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3407: CMakeFiles/openrct2.dir/src/ride/track_design_index.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/track_design_save.c:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track_design_save.c:1248:50: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
const rct_td6_maze_element EndMarkerForMaze = { 0 }; | |
^ | |
{} | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track_design_save.c:1254:30: error: missing field 'length' initializer [-Werror,-Wmissing-field-initializers] | |
auto_buffer td6Buffer = { 0 }; | |
^ | |
4 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3431: CMakeFiles/openrct2.dir/src/ride/track_design_save.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/track_paint.c:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/../paint/supports.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/../paint/../world/footpath.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/../paint/../world/../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/../paint/../world/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/../paint/../world/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/../paint/../world/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track_paint.c:556:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{32, 20}, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track_paint.c:557:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{16, 16}, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track_paint.c:558:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{20, 32} | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track_paint.c:561:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{20, 32}, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track_paint.c:562:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{16, 16}, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track_paint.c:566:7: error: missing field 'y' initializer [-Werror,-Wmissing-field-initializers] | |
{ {0}, {32, 1} }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track_paint.c:567:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{16, 16}, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track_paint.c:568:7: error: missing field 'y' initializer [-Werror,-Wmissing-field-initializers] | |
{ {0}, {1, 32} } | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track_paint.c:572:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{16, 16}, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track_paint.c:573:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{32, 20}, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track_paint.c:579:8: error: missing field 'z' initializer [-Werror,-Wmissing-field-initializers] | |
{0, 6}, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track_paint.c:579:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{0, 6}, | |
^~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track_paint.c:580:10: error: missing field 'z' initializer [-Werror,-Wmissing-field-initializers] | |
{16, 16}, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track_paint.c:580:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{16, 16}, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track_paint.c:581:8: error: missing field 'z' initializer [-Werror,-Wmissing-field-initializers] | |
{6, 0}, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track_paint.c:581:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{6, 0}, | |
^~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/ride/track_paint.c:584:8: error: missing field 'z' initializer [-Werror,-Wmissing-field-initializers] | |
{6, 0}, | |
^ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3455: CMakeFiles/openrct2.dir/src/ride/track_paint.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/transport/chairlift.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/transport/../track_paint.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/transport/../ride_data.h:21: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/transport/../ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/transport/../ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3479: CMakeFiles/openrct2.dir/src/ride/transport/chairlift.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/transport/lift.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/transport/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/transport/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/transport/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/transport/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3503: CMakeFiles/openrct2.dir/src/ride/transport/lift.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/transport/monorail.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/transport/../track_paint.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/transport/../ride_data.h:21: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/transport/../ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/transport/../ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3551: CMakeFiles/openrct2.dir/src/ride/transport/monorail.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/vehicle.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/vehicle.c:320:9: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
if (cd >= countof(gTrackVehicleInfo)) { | |
~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/vehicle.c:355:44: error: missing field 'y' initializer [-Werror,-Wmissing-field-initializers] | |
static const rct_vehicle_info zero = { 0 }; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/vehicle.c:590:21: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for(int i = 0; i < countof(gVehicleSoundList); i++){ | |
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/vehicle.c:677:14: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
if (i >= countof(gVehicleSoundList)) { | |
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/vehicle.c:2058:82: error: missing field 'station_id' initializer [-Werror,-Wmissing-field-initializers] | |
rct_synchronised_vehicle _synchronisedVehicles[SYNCHRONISED_VEHICLE_COUNT] = { 0 }; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/vehicle.c:2058:80: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
rct_synchronised_vehicle _synchronisedVehicles[SYNCHRONISED_VEHICLE_COUNT] = { 0 }; | |
^ | |
{} | |
/home/janisozaur/workspace/OpenRCT2/src/ride/vehicle.c:7054:21: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
registers regs = { 0 }; | |
^ | |
{} | |
/home/janisozaur/workspace/OpenRCT2/src/ride/vehicle.c:7054:23: error: missing field '' initializer [-Werror,-Wmissing-field-initializers] | |
registers regs = { 0 }; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/vehicle.c:7229:21: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
registers regs = { 0 }; | |
^ | |
{} | |
/home/janisozaur/workspace/OpenRCT2/src/ride/vehicle.c:7229:23: error: missing field '' initializer [-Werror,-Wmissing-field-initializers] | |
registers regs = { 0 }; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/vehicle.c:7589:21: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
registers regs = { 0 }; | |
^ | |
{} | |
/home/janisozaur/workspace/OpenRCT2/src/ride/vehicle.c:7589:23: error: missing field '' initializer [-Werror,-Wmissing-field-initializers] | |
registers regs = { 0 }; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/vehicle.c:7713:21: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
registers regs = { 0 }; | |
^ | |
{} | |
/home/janisozaur/workspace/OpenRCT2/src/ride/vehicle.c:7713:23: error: missing field '' initializer [-Werror,-Wmissing-field-initializers] | |
registers regs = { 0 }; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/vehicle.c:8347:21: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
registers regs = { 0 }; | |
^ | |
{} | |
/home/janisozaur/workspace/OpenRCT2/src/ride/vehicle.c:8347:23: error: missing field '' initializer [-Werror,-Wmissing-field-initializers] | |
registers regs = { 0 }; | |
^ | |
18 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3599: CMakeFiles/openrct2.dir/src/ride/vehicle.c.o] Error 1 | |
/home/janisozaur/workspace/OpenRCT2/src/ride/vehicle_data.c:461:9: error: missing field 'bank_rotation' initializer [-Werror,-Wmissing-field-initializers] | |
{ 0xFF }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/vehicle_data.c:566:9: error: missing field 'bank_rotation' initializer [-Werror,-Wmissing-field-initializers] | |
{ 0xFF }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/vehicle_data.c:706:9: error: missing field 'bank_rotation' initializer [-Werror,-Wmissing-field-initializers] | |
{ 0xFF }, | |
^ | |
3 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3623: CMakeFiles/openrct2.dir/src/ride/vehicle_data.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/vehicle_paint.c:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/../ride/ride_data.h:21: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3647: CMakeFiles/openrct2.dir/src/ride/vehicle_paint.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/water/boat_ride.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/water/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/water/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/water/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/water/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3671: CMakeFiles/openrct2.dir/src/ride/water/boat_ride.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/water/river_rafts.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/water/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/water/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/water/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/water/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/water/river_rafts.c:174:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
SPR_RIVER_RAFTS_TURN_LEFT_5_TOP_SW_NW_SEQ_0, { 0, 0, 0 }, { 0, 2, 0 }, { 32, 27, 2 }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/ride/water/river_rafts.c:175:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
SPR_RIVER_RAFTS_TURN_LEFT_5_TOP_SW_NW_SEQ_2, { 0, 0, 0 }, { 0, 0, 0 }, { 32, 16, 2 }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/ride/water/river_rafts.c:176:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
SPR_RIVER_RAFTS_TURN_LEFT_5_TOP_SW_NW_SEQ_3, { 0, 0, 0 }, { 0, 16, 0 }, { 16, 16, 2 }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/ride/water/river_rafts.c:177:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
SPR_RIVER_RAFTS_TURN_LEFT_5_TOP_SW_NW_SEQ_5, { 0, 0, 0 }, { 16, 0, 0 }, { 16, 34, 2 }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/ride/water/river_rafts.c:178:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
SPR_RIVER_RAFTS_TURN_LEFT_5_TOP_SW_NW_SEQ_6, { 0, 0, 0 }, { 2, 0, 0 }, { 32, 32, 2 }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/ride/water/river_rafts.c:181:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
SPR_RIVER_RAFTS_TURN_LEFT_5_TOP_NW_NE_SEQ_0, { 0, 0, 0 }, { 2, 0, 0 }, { 27, 32, 2 }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/ride/water/river_rafts.c:182:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
SPR_RIVER_RAFTS_TURN_LEFT_5_TOP_NW_NE_SEQ_2, { 0, 0, 0 }, { 0, 0, 0 }, { 16, 32, 2 }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/ride/water/river_rafts.c:183:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
SPR_RIVER_RAFTS_TURN_LEFT_5_TOP_NW_NE_SEQ_3, { 0, 0, 0 }, { 16, 16, 0 }, { 16, 16, 2 }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/ride/water/river_rafts.c:184:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
SPR_RIVER_RAFTS_TURN_LEFT_5_TOP_NW_NE_SEQ_5, { 0, 0, 0 }, { 0, 0, 0 }, { 32, 16, 2 }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/ride/water/river_rafts.c:185:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
SPR_RIVER_RAFTS_TURN_LEFT_5_TOP_NW_NE_SEQ_6, { 0, 0, 0 }, { 0, 2, 0 }, { 32, 27, 2 }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/ride/water/river_rafts.c:188:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
SPR_RIVER_RAFTS_TURN_LEFT_5_TOP_NE_SE_SEQ_0, { 0, 0, 0 }, { 0, 2, 0 }, { 32, 32, 2 }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/ride/water/river_rafts.c:189:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
SPR_RIVER_RAFTS_TURN_LEFT_5_TOP_NE_SE_SEQ_2, { 0, 0, 0 }, { 0, 16, 0 }, { 32, 16, 2 }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/ride/water/river_rafts.c:190:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
SPR_RIVER_RAFTS_TURN_LEFT_5_TOP_NE_SE_SEQ_3, { 0, 0, 0 }, { 16, 0, 0 }, { 16, 16, 2 }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/ride/water/river_rafts.c:191:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
SPR_RIVER_RAFTS_TURN_LEFT_5_TOP_NE_SE_SEQ_5, { 0, 0, 0 }, { 0, 0, 0 }, { 16, 32, 2 }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/ride/water/river_rafts.c:192:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
SPR_RIVER_RAFTS_TURN_LEFT_5_TOP_NE_SE_SEQ_6, { 0, 0, 0 }, { 2, 0, 0 }, { 27, 32, 2 }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/ride/water/river_rafts.c:195:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
SPR_RIVER_RAFTS_TURN_LEFT_5_TOP_SE_SW_SEQ_0, { 0, 0, 0 }, { 2, 0, 0 }, { 32, 32, 2 }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/ride/water/river_rafts.c:196:3: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
SPR_RIVER_RAFTS_TURN_LEFT_5_TOP_SE_SW_SEQ_2, { 0, 0, 0 }, { 16, 0, 0 }, { 16, 32, 2 }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3743: CMakeFiles/openrct2.dir/src/ride/water/river_rafts.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/water/river_rapids.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/water/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/water/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/water/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/water/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3767: CMakeFiles/openrct2.dir/src/ride/water/river_rapids.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/water/splash_boats.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/water/../../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/water/../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/water/../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/water/../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3791: CMakeFiles/openrct2.dir/src/ride/water/splash_boats.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/water/submarine_ride.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/water/../track_paint.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/water/../ride_data.h:21: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/water/../ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/water/../ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3815: CMakeFiles/openrct2.dir/src/ride/water/submarine_ride.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/scenario.c:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/scenario.c:922:44: error: comparison of integers of different signs: 'money32' (aka 'int') and 'unsigned int' [-Werror,-Wsign-compare] | |
} else if (gScenarioCompletedCompanyValue != 0x80000001) { | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~ | |
3 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3863: CMakeFiles/openrct2.dir/src/scenario.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/scenario_list.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object_list.h:3: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3887: CMakeFiles/openrct2.dir/src/scenario_list.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/scenario_sources.c:17: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/scenario_sources.c:247:20: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (int i = 0; i < countof(ScenarioTitlesBySource); i++) { | |
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/scenario_sources.c:275:20: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (int i = 0; i < countof(ScenarioTitlesBySource); i++) { | |
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/scenario_sources.c:317:20: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (int i = 0; i < countof(ScenarioAliases); i++) { | |
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ | |
5 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3911: CMakeFiles/openrct2.dir/src/scenario_sources.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/title.c:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/title.c:361:18: error: cast from 'const unsigned char *' to 'unsigned char *' drops const qualifier [-Werror,-Wcast-qual] | |
free((uint8*)_currentScript); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/title.c:794:26: error: cast from 'const unsigned char *' to 'unsigned char *' drops const qualifier [-Werror,-Wcast-qual] | |
_loadedScript = (uint8*)_magicMountainScript; | |
^ | |
4 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3935: CMakeFiles/openrct2.dir/src/title.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/util/sawyercoding.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/util/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/util/../platform/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/util/../platform/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/util/sawyercoding.c:331:36: error: cast from 'const unsigned char *' to 'unsigned int *' drops const qualifier [-Werror,-Wcast-qual] | |
uint32 file_checksum = *((uint32*)&src[length - 4]); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/util/sawyercoding.c:587:31: error: cast from 'const unsigned char *' to 'unsigned int *' drops const qualifier [-Werror,-Wcast-qual] | |
uint32 checksum = *((uint32*)&src[length - 4]); | |
^ | |
4 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3959: CMakeFiles/openrct2.dir/src/util/sawyercoding.c.o] Error 1 | |
/home/janisozaur/workspace/OpenRCT2/src/util/util.c:260:55: error: cast from 'char **' to 'const utf8 **' (aka 'const char **') must have all intermediate pointers const qualified to be safe [-Werror,-Wcast-qual] | |
while ((codepoint = utf8_get_next(ch, (const utf8 **)&ch)) != 0) { | |
^ | |
1 error generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:3983: CMakeFiles/openrct2.dir/src/util/util.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/about.c:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/about.c:33:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 399, 0, 329, 0xFFFFFFFF, STR_NONE }, // panel / background | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/about.c:34:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 398, 1, 14, STR_ROLLERCOASTER_TYCOON_2, STR_WINDOW_TITLE_TIP }, // title bar | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/about.c:35:43: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 387, 397, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, // close x button | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/about.c:36:49: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 100, 299, 230, 241, STR_MUSIC_ACKNOWLEDGEMENTS_ELLIPSIS, STR_NONE }, // music credits button | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/about.c:37:49: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 157, 356, 307, 318, STR_INFOGRAMES_INTERACTIVE_CREDITS, STR_NONE }, // infogrames credits button | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/about.c:38:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
8 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4031: CMakeFiles/openrct2.dir/src/windows/about.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/banner.c:17: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/banner.c:66:46: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, WW - 1, 0, WH - 1, 0xFFFFFFFF, STR_NONE}, // panel / background | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/banner.c:67:45: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, WW - 2, 1, 14, STR_BANNER_WINDOW_TITLE, STR_WINDOW_TITLE_TIP}, // title bar | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/banner.c:68:50: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, WW - 13, WW - 3, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP}, // close x button | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/banner.c:69:50: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_VIEWPORT, 1, 3, WW - 26,17, WH - 20, 0x0FFFFFFFE, STR_NONE}, // tab content panel | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/banner.c:70:50: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, WW - 25, WW - 2, 19, 42, SPR_RENAME, STR_CHANGE_BANNER_TEXT_TIP}, // change banner button | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/banner.c:71:50: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, WW - 25, WW - 2, 43, 66, SPR_NO_ENTRY, STR_SET_AS_NO_ENTRY_BANNER_TIP}, // no entry button | |
^~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/banner.c:72:50: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, WW - 25, WW - 2, 67, 90, SPR_DEMOLISH, STR_DEMOLISH_BANNER_TIP}, // demolish button | |
^~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/banner.c:73:50: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_COLOURBTN, 1, 5, 16, WH - 16,WH - 5, 0xFFFFFFFF, STR_SELECT_MAIN_SIGN_COLOUR_TIP}, // high money | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/banner.c:74:51: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN, 1, 43, 81, WH - 16,WH - 5, 0xFFFFFFFF, STR_NONE}, // high money | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/banner.c:75:56: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 70, 80, WH - 15,WH - 6, STR_DROPDOWN_GLYPH, STR_SELECT_TEXT_COLOUR_TIP}, // high money | |
^~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/banner.c:76:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
13 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4055: CMakeFiles/openrct2.dir/src/windows/banner.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/changelog.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/themes.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/changelog.c:44:46: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, WW - 1, 0, WH - 1, 0xFFFFFFFF, STR_NONE }, // panel / background | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/changelog.c:45:45: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, WW - 2, 1, 14, STR_CHANGELOG_TITLE, STR_WINDOW_TITLE_TIP }, // title bar | |
^~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/changelog.c:46:50: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, WW - 13, WW - 3, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, // close x button | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/changelog.c:47:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_RESIZE, 1, 0, WW - 1, 14, WH - 1, 0xFFFFFFFF, STR_NONE }, // content panel | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/changelog.c:48:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SCROLL, 1, 3, WW - 3, 16, WH - 15, SCROLL_BOTH, STR_NONE }, // scroll area | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/changelog.c:49:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
8 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4079: CMakeFiles/openrct2.dir/src/windows/changelog.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:177:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_CHEATS_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:167:46: note: expanded from macro 'MAIN_CHEATS_WIDGETS' | |
{ WWT_FRAME, 0, 0, WW - 1, 0, WH - 1, 0xFFFFFFFF, STR_NONE }, /* panel / background */ \ | |
^~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:177:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_CHEATS_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:168:45: note: expanded from macro 'MAIN_CHEATS_WIDGETS' | |
{ WWT_CAPTION, 0, 1, WW - 2, 1, 14, STR_CHEAT_TITLE, STR_WINDOW_TITLE_TIP }, /* title bar */ \ | |
^~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:177:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_CHEATS_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:169:50: note: expanded from macro 'MAIN_CHEATS_WIDGETS' | |
{ WWT_CLOSEBOX, 0, WW - 13, WW - 3, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, /* close x button */ \ | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:177:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_CHEATS_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:170:48: note: expanded from macro 'MAIN_CHEATS_WIDGETS' | |
{ WWT_IMGBTN, 1, 0, WW - 1, 43, WH - 1, 0xFFFFFFFF, STR_NONE }, /* tab content panel */ \ | |
^~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:177:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_CHEATS_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:171:40: note: expanded from macro 'MAIN_CHEATS_WIDGETS' | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_FINANCIAL_CHEATS_TIP }, /* tab 1 */ \ | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:177:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_CHEATS_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:172:41: note: expanded from macro 'MAIN_CHEATS_WIDGETS' | |
{ WWT_TAB, 1, 34, 64, 17, 43, 0x20000000 | SPR_TAB, STR_GUEST_CHEATS_TIP }, /* tab 2 */ \ | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:177:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_CHEATS_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:173:41: note: expanded from macro 'MAIN_CHEATS_WIDGETS' | |
{ WWT_TAB, 1, 65, 95, 17, 43, 0x20000000 | SPR_TAB, STR_PARK_CHEATS_TIP }, /* tab 3 */ \ | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:177:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_CHEATS_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:174:41: note: expanded from macro 'MAIN_CHEATS_WIDGETS' | |
{ WWT_TAB, 1, 96, 126, 17, 43, 0x20000000 | SPR_TAB, STR_RIDE_CHEATS_TIP } /* tab 4 */ | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:178:68: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 1, XPL(0), WPL(0), YPL(1), HPL(1), STR_CHEAT_5K_MONEY, STR_NONE }, // high money | |
^~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:179:68: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 1, XPL(0), WPL(0), YPL(3), HPL(3), STR_CHEAT_CLEAR_LOAN, STR_NONE }, // Clear loan | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:180:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:184:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_CHEATS_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:167:46: note: expanded from macro 'MAIN_CHEATS_WIDGETS' | |
{ WWT_FRAME, 0, 0, WW - 1, 0, WH - 1, 0xFFFFFFFF, STR_NONE }, /* panel / background */ \ | |
^~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:184:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_CHEATS_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:168:45: note: expanded from macro 'MAIN_CHEATS_WIDGETS' | |
{ WWT_CAPTION, 0, 1, WW - 2, 1, 14, STR_CHEAT_TITLE, STR_WINDOW_TITLE_TIP }, /* title bar */ \ | |
^~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:184:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_CHEATS_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:169:50: note: expanded from macro 'MAIN_CHEATS_WIDGETS' | |
{ WWT_CLOSEBOX, 0, WW - 13, WW - 3, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, /* close x button */ \ | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:184:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_CHEATS_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:170:48: note: expanded from macro 'MAIN_CHEATS_WIDGETS' | |
{ WWT_IMGBTN, 1, 0, WW - 1, 43, WH - 1, 0xFFFFFFFF, STR_NONE }, /* tab content panel */ \ | |
^~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:184:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_CHEATS_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:171:40: note: expanded from macro 'MAIN_CHEATS_WIDGETS' | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_FINANCIAL_CHEATS_TIP }, /* tab 1 */ \ | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:184:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_CHEATS_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/cheats.c:172:41: note: expanded from macro 'MAIN_CHEATS_WIDGETS' | |
{ WWT_TAB, 1, 34, 64, 17, 43, 0x20000000 | SPR_TAB, STR_GUEST_CHEATS_TIP }, /* tab 2 */ \ | |
^~~~~~~~~~~~~~~~~~~~ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4103: CMakeFiles/openrct2.dir/src/windows/cheats.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/clear_scenery.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../input.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/clear_scenery.c:43:32: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 97, 0, 93, 0xFFFFFFFF, STR_NONE }, // panel / background | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/clear_scenery.c:44:34: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 96, 1, 14, STR_CLEAR_SCENERY, STR_WINDOW_TITLE_TIP }, // title bar | |
^~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/clear_scenery.c:45:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 85, 95, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, // close x button | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/clear_scenery.c:46:35: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_IMGBTN, 0, 27, 70, 17, 48, SPR_LAND_TOOL_SIZE_0, STR_NONE }, // preview box | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/clear_scenery.c:47:35: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TRNBTN, 1, 28, 43, 18, 33, 0x20000000 | SPR_LAND_TOOL_DECREASE, STR_ADJUST_SMALLER_LAND_TIP }, // decrement size | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/clear_scenery.c:48:35: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TRNBTN, 1, 54, 69, 32, 47, 0x20000000 | SPR_LAND_TOOL_INCREASE, STR_ADJUST_LARGER_LAND_TIP }, // increment size | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/clear_scenery.c:49:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 7, 30, 53, 76, 0x20000000 | SPR_G2_BUTTON_TREES, STR_CLEAR_SCENERY_REMOVE_SMALL_SCENERY_TIP }, // small scenery | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/clear_scenery.c:50:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 37, 60, 53, 76, 0x20000000 | SPR_G2_BUTTON_LARGE_SCENERY, STR_CLEAR_SCENERY_REMOVE_LARGE_SCENERY_TIP }, // large scenery | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/clear_scenery.c:51:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 67, 90, 53, 76, 0x20000000 | SPR_G2_BUTTON_FOOTPATH, STR_CLEAR_SCENERY_REMOVE_FOOTPATHS_TIP }, // footpaths | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/clear_scenery.c:52:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
12 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4127: CMakeFiles/openrct2.dir/src/windows/clear_scenery.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/custom_currency.c:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/custom_currency.c:40:37: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 399, 0, 99, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/custom_currency.c:41:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 398, 1, 14, STR_CUSTOM_CURRENCY_WINDOW_TITLE, STR_WINDOW_TITLE_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/custom_currency.c:42:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 387, 397, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/custom_currency.c:43:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SPINNER, 1, 100, 200, 30, 40, STR_CHEAT_CURRENCY_FORMAT, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/custom_currency.c:44:47: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 189, 199, 31, 35, STR_NUMERIC_UP, STR_NONE }, | |
^~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/custom_currency.c:45:47: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 189, 199, 36, 40, STR_NUMERIC_DOWN, STR_NONE }, | |
^~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/custom_currency.c:46:47: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 120, 200, 50, 60, 0, STR_NONE }, | |
^ | |
{} | |
/home/janisozaur/workspace/OpenRCT2/src/windows/custom_currency.c:47:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN, 1, 220, 350, 50, 60, STR_STRINGID, STR_NONE }, | |
^~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/custom_currency.c:48:47: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 339, 349, 51, 59, STR_DROPDOWN_GLYPH, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/custom_currency.c:49:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
12 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4151: CMakeFiles/openrct2.dir/src/windows/custom_currency.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/debug_paint.c:17: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../input.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/debug_paint.c:40:64: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, WINDOW_WIDTH - 1, 0, WINDOW_HEIGHT - 1, 0xFFFFFFFF, STR_NONE}, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/debug_paint.c:41:59: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CHECKBOX, 1, 8, WINDOW_WIDTH - 8, 8, 8 + 11, STR_DEBUG_PAINT_USE_OLD_DRAWING, STR_NONE}, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/debug_paint.c:42:66: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CHECKBOX, 1, 8, WINDOW_WIDTH - 8, 8 + 15, 8 + 15 + 11, STR_DEBUG_PAINT_SHOW_SEGMENT_HEIGHTS, STR_NONE}, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/debug_paint.c:43:73: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CHECKBOX, 1, 8, WINDOW_WIDTH - 8, 8 + 15 + 15, 8 + 15 + 15 + 11, STR_DEBUG_PAINT_SHOW_BOUND_BOXES, STR_NONE}, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/debug_paint.c:44:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
7 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4175: CMakeFiles/openrct2.dir/src/windows/debug_paint.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/demolish_ride_prompt.c:17: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/demolish_ride_prompt.c:40:46: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, WW - 1, 0, WH - 1, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/demolish_ride_prompt.c:41:45: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, WW - 2, 1, 14, STR_DEMOLISH_RIDE, STR_WINDOW_TITLE_TIP }, | |
^~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/demolish_ride_prompt.c:42:51: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, WW - 13, WW - 3, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/demolish_ride_prompt.c:43:56: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 0, 10, 94, WH - 20, WH - 9, STR_DEMOLISH, STR_NONE }, | |
^~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/demolish_ride_prompt.c:44:63: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 0, WW - 95, WW - 11, WH - 20, WH - 9, STR_SAVE_PROMPT_CANCEL, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/demolish_ride_prompt.c:45:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END } | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
8 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4199: CMakeFiles/openrct2.dir/src/windows/demolish_ride_prompt.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/dropdown.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../input.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/dropdown.c:38:31: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_IMGBTN, 0, 0, 0, 0, 0, SPR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/dropdown.c:39:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
4 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4223: CMakeFiles/openrct2.dir/src/windows/dropdown.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/editor_bottom_toolbar.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_bottom_toolbar.c:45:34: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_IMGBTN, 0, 0, 199, 0, 33, 0xFFFFFFFF, 0xFFFF }, // 1 0x9A9958 | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_bottom_toolbar.c:46:35: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 0, 2, 197, 2, 31, 0xFFFFFFFF, 0xFFFF }, // 2 0x9A9968 | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_bottom_toolbar.c:47:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_IMGBTN, 0, 440, 639, 0, 33, 0xFFFFFFFF, 0xFFFF }, // 4 0x9A9978 | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_bottom_toolbar.c:48:37: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 0, 442, 637, 2, 31, 0xFFFFFFFF, 0xFFFF }, // 8 0x9A9988 | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_bottom_toolbar.c:49:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_bottom_toolbar.c:257:20: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (int i = 0; i < countof(RideTypePossibleTrackConfigurations); i++) { | |
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
8 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4247: CMakeFiles/openrct2.dir/src/windows/editor_bottom_toolbar.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/editor_inventions_list.c:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../input.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_inventions_list.c:51:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 599, 0, 399, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_inventions_list.c:52:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 598, 1, 14, STR_INVENTION_LIST, STR_WINDOW_TITLE_TIP }, | |
^~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_inventions_list.c:53:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 587, 597, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_inventions_list.c:54:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_RESIZE, 1, 0, 599, 43, 399, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_inventions_list.c:55:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_inventions_list.c:56:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SCROLL, 1, 4, 371, 56, 175, SCROLL_VERTICAL, STR_NONE }, | |
^~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_inventions_list.c:57:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SCROLL, 1, 4, 371, 189, 396, SCROLL_VERTICAL, STR_NONE }, | |
^~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_inventions_list.c:58:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 431, 544, 106, 219, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_inventions_list.c:59:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 375, 594, 385, 396, STR_RANDOM_SHUFFLE, STR_RANDOM_SHUFFLE_TIP }, | |
^~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_inventions_list.c:60:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 375, 594, 372, 383, STR_MOVE_ALL_BOTTOM, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_inventions_list.c:61:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 375, 594, 359, 370, STR_MOVE_ALL_TOP, STR_NONE }, | |
^~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_inventions_list.c:62:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END } | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_inventions_list.c:66:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_IMGBTN, 0, 0, 149, 0, 13, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_inventions_list.c:67:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END } | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_inventions_list.c:262:20: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (int i = 0; i < countof(RequiredSelectedObjects); i++) { | |
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_inventions_list.c:665:31: error: comparison of integers of different signs: 'sint32' (aka 'int') and 'uint32' (aka 'unsigned int') [-Werror,-Wsign-compare] | |
if (researchItem->entryIndex < (uint32)RESEARCHED_ITEMS_END_2 && research_item_is_always_researched(researchItem)) | |
~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_inventions_list.c:720:31: error: comparison of integers of different signs: 'sint32' (aka 'int') and 'uint32' (aka 'unsigned int') [-Werror,-Wsign-compare] | |
if (researchItem->entryIndex < (uint32)RESEARCHED_ITEMS_END_2 && research_item_is_always_researched(researchItem)) { | |
~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
19 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4271: CMakeFiles/openrct2.dir/src/windows/editor_inventions_list.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/editor_main.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_main.c:57:43: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_VIEWPORT, 0, 0, 0xFFFF, 0, 0xFFFF, 0xFFFFFFFE, 0xFFFF }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_main.c:58:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
4 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4295: CMakeFiles/openrct2.dir/src/windows/editor_main.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/editor_object_selection.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_object_selection.c:143:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 599, 0, 399, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_object_selection.c:144:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 598, 1, 14, STR_OBJECT_SELECTION, STR_WINDOW_TITLE_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_object_selection.c:145:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 587, 597, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_object_selection.c:146:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_RESIZE, 1, 0, 599, 43, 399, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_object_selection.c:147:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_STRING_DEFINED_TOOLTIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_object_selection.c:148:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 34, 64, 17, 43, 0x20000000 | SPR_TAB, STR_STRING_DEFINED_TOOLTIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_object_selection.c:149:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 65, 95, 17, 43, 0x20000000 | SPR_TAB, STR_STRING_DEFINED_TOOLTIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_object_selection.c:150:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 96, 126, 17, 43, 0x20000000 | SPR_TAB, STR_STRING_DEFINED_TOOLTIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_object_selection.c:151:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 127, 157, 17, 43, 0x20000000 | SPR_TAB, STR_STRING_DEFINED_TOOLTIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_object_selection.c:152:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 158, 188, 17, 43, 0x20000000 | SPR_TAB, STR_STRING_DEFINED_TOOLTIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_object_selection.c:153:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 189, 219, 17, 43, 0x20000000 | SPR_TAB, STR_STRING_DEFINED_TOOLTIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_object_selection.c:154:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 220, 250, 17, 43, 0x20000000 | SPR_TAB, STR_STRING_DEFINED_TOOLTIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_object_selection.c:155:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 251, 281, 17, 43, 0x20000000 | SPR_TAB, STR_STRING_DEFINED_TOOLTIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_object_selection.c:156:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 282, 312, 17, 43, 0x20000000 | SPR_TAB, STR_STRING_DEFINED_TOOLTIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_object_selection.c:157:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 313, 343, 17, 43, 0x20000000 | SPR_TAB, STR_STRING_DEFINED_TOOLTIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_object_selection.c:158:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 0, 470, 591, 23, 34, STR_OBJECT_SELECTION_ADVANCED, STR_OBJECT_SELECTION_ADVANCED_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_object_selection.c:159:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SCROLL, 1, 4, 291, 60, 386, SCROLL_VERTICAL, STR_NONE }, | |
^~~~~~~~~~~~~~~ | |
{ } | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4319: CMakeFiles/openrct2.dir/src/windows/editor_object_selection.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/editor_objective_options.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_objective_options.c:90:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 449, 0, 228, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_objective_options.c:91:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 448, 1, 14, STR_OBJECTIVE_SELECTION, STR_WINDOW_TITLE_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_objective_options.c:92:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 437, 447, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_objective_options.c:93:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_RESIZE, 1, 0, 279, 43, 148, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_objective_options.c:94:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_SELECT_OBJECTIVE_AND_PARK_NAME_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_objective_options.c:95:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 34, 64, 17, 46, 0x20000000 | SPR_TAB, STR_SELECT_RIDES_TO_BE_PRESERVED_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_objective_options.c:96:43: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN, 1, 98, 441, 48, 59, STR_NONE, STR_SELECT_OBJECTIVE_FOR_THIS_SCENARIO_TIP }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_objective_options.c:97:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 430, 440, 49, 58, STR_DROPDOWN_GLYPH, STR_SELECT_OBJECTIVE_FOR_THIS_SCENARIO_TIP }, | |
^~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_objective_options.c:98:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SPINNER, 1, 158, 237, 65, 76, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_objective_options.c:99:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 226, 236, 66, 70, STR_NUMERIC_UP, STR_NONE }, | |
^~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_objective_options.c:100:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 226, 236, 71, 75, STR_NUMERIC_DOWN, STR_NONE }, | |
^~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_objective_options.c:101:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SPINNER, 1, 158, 277, 82, 93, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_objective_options.c:102:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 266, 276, 83, 87, STR_NUMERIC_UP, STR_NONE }, | |
^~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_objective_options.c:103:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 266, 276, 88, 92, STR_NUMERIC_DOWN, STR_NONE }, | |
^~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_objective_options.c:104:43: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN, 1, 98, 277, 99, 110, STR_NONE, STR_SELECT_CLIMATE_TIP }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_objective_options.c:105:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 266, 276, 100, 109, STR_DROPDOWN_GLYPH, STR_SELECT_CLIMATE_TIP }, | |
^~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_objective_options.c:106:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 370, 444, 116, 127, STR_CHANGE, STR_CHANGE_NAME_OF_PARK_TIP }, | |
^~~~~~~~~~ | |
{ } | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4343: CMakeFiles/openrct2.dir/src/windows/editor_objective_options.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/editor_scenario_options.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_scenario_options.c:93:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 279, 0, 148, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_scenario_options.c:94:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 278, 1, 14, STR_SCENARIO_OPTIONS_FINANCIAL, STR_WINDOW_TITLE_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_scenario_options.c:95:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 267, 277, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_scenario_options.c:96:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_RESIZE, 1, 0, 279, 43, 148, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_scenario_options.c:97:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_SCENARIO_OPTIONS_FINANCIAL_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_scenario_options.c:98:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 34, 64, 17, 46, 0x20000000 | SPR_TAB, STR_SCENARIO_OPTIONS_GUESTS_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_scenario_options.c:99:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 65, 95, 17, 43, 0x20000000 | SPR_TAB, STR_SCENARIO_OPTIONS_PARK_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_scenario_options.c:101:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CHECKBOX, 1, 8, 271, 48, 59, STR_MAKE_PARK_NO_MONEY, STR_MAKE_PARK_NO_MONEY_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_scenario_options.c:102:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SPINNER, 1, 168, 267, 65, 76, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_scenario_options.c:103:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 256, 266, 66, 70, STR_NUMERIC_UP, STR_NONE }, | |
^~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_scenario_options.c:104:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 256, 266, 71, 75, STR_NUMERIC_DOWN, STR_NONE }, | |
^~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_scenario_options.c:105:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SPINNER, 1, 168, 267, 82, 93, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_scenario_options.c:106:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 256, 266, 83, 87, STR_NUMERIC_UP, STR_NONE }, | |
^~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_scenario_options.c:107:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 256, 266, 88, 92, STR_NUMERIC_DOWN, STR_NONE }, | |
^~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_scenario_options.c:108:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SPINNER, 1, 168, 267, 99, 110, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_scenario_options.c:109:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 256, 266, 100, 104, STR_NUMERIC_UP, STR_NONE }, | |
^~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/editor_scenario_options.c:110:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 256, 266, 105, 109, STR_NUMERIC_DOWN, STR_NONE }, | |
^~~~~~~~~~~~~~~~ | |
{ } | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4367: CMakeFiles/openrct2.dir/src/windows/editor_scenario_options.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/error.c:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/error.c:31:34: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_IMGBTN, 0, 0, 199, 0, 41, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/error.c:32:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END } | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
4 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4391: CMakeFiles/openrct2.dir/src/windows/error.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/finances.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/finances.c:84:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 529, 0, 256, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/finances.c:85:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 528, 1, 14, STR_FINANCIAL_SUMMARY, STR_WINDOW_TITLE_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/finances.c:86:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 517, 527, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/finances.c:87:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_RESIZE, 1, 0, 529, 43, 256, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/finances.c:88:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_FINANCES_SHOW_SUMMARY_TAB_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/finances.c:89:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 34, 64, 17, 43, 0x20000000 | SPR_TAB, STR_FINANCES_SHOW_CASH_TAB_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/finances.c:90:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 65, 95, 17, 43, 0x20000000 | SPR_TAB, STR_FINANCES_SHOW_PARK_VALUE_TAB_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/finances.c:91:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 96, 126, 17, 43, 0x20000000 | SPR_TAB, STR_FINANCES_SHOW_WEEKLY_PROFIT_TAB_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/finances.c:92:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 127, 157, 17, 43, 0x20000000 | SPR_TAB, STR_FINANCES_SHOW_MARKETING_TAB_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/finances.c:93:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 158, 188, 17, 43, 0x20000000 | SPR_TAB, STR_FINANCES_RESEARCH_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/finances.c:94:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SPINNER, 1, 64, 153, 229, 240, STR_FINANCES_SUMMARY_LOAN_VALUE, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/finances.c:95:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 142, 152, 230, 234, STR_NUMERIC_UP, STR_NONE }, | |
^~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/finances.c:96:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 142, 152, 235, 239, STR_NUMERIC_DOWN, STR_NONE }, | |
^~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/finances.c:97:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/finances.c:101:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 529, 0, 256, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/finances.c:102:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 528, 1, 14, STR_FINANCIAL_GRAPH, STR_WINDOW_TITLE_TIP }, | |
^~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/finances.c:103:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 517, 527, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4415: CMakeFiles/openrct2.dir/src/windows/finances.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/footpath.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/footpath.c:70:37: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 105, 0, 380, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/footpath.c:71:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 104, 1, 14, STR_FOOTPATHS, STR_WINDOW_TITLE_TIP }, | |
^~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/footpath.c:72:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 93, 103, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/footpath.c:74:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_GROUPBOX, 0, 3, 102, 17, 71, STR_TYPE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/footpath.c:75:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 6, 52, 30, 65, 0xFFFFFFFF, STR_FOOTPATH_TIP }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/footpath.c:76:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 53, 99, 30, 65, 0xFFFFFFFF, STR_QUEUE_LINE_PATH_TIP }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/footpath.c:79:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_GROUPBOX, 0, 3, 102, 75, 151, STR_DIRECTION, STR_NONE }, | |
^~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/footpath.c:80:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 53, 97, 87, 115, SPR_CONSTRUCTION_DIRECTION_NE, STR_DIRECTION_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/footpath.c:81:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 53, 97, 116, 144, SPR_CONSTRUCTION_DIRECTION_SE, STR_DIRECTION_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/footpath.c:82:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 8, 52, 116, 144, SPR_CONSTRUCTION_DIRECTION_SW, STR_DIRECTION_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/footpath.c:83:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 8, 52, 87, 115, SPR_CONSTRUCTION_DIRECTION_NW, STR_DIRECTION_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/footpath.c:86:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_GROUPBOX, 0, 3, 102, 155, 195, STR_SLOPE, STR_NONE }, | |
^~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/footpath.c:87:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 17, 40, 167, 190, SPR_RIDE_CONSTRUCTION_SLOPE_DOWN, STR_SLOPE_DOWN_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/footpath.c:88:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 41, 64, 167, 190, SPR_RIDE_CONSTRUCTION_SLOPE_LEVEL, STR_LEVEL_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/footpath.c:89:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 65, 88, 167, 190, SPR_RIDE_CONSTRUCTION_SLOPE_UP, STR_SLOPE_UP_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/footpath.c:90:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 8, 97, 202, 291, 0xFFFFFFFF, STR_CONSTRUCT_THE_SELECTED_FOOTPATH_SECTION_TIP }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/footpath.c:91:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 30, 75, 295, 318, SPR_DEMOLISH_CURRENT_SECTION, STR_REMOVE_PREVIOUS_FOOTPATH_SECTION_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4439: CMakeFiles/openrct2.dir/src/windows/footpath.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/game_bottom_toolbar.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/game_bottom_toolbar.c:57:54: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_IMGBTN, 0, 0x0000, 0x0077+WIDTH_MOD, 0, 33, 0xFFFFFFFF, STR_NONE }, // Left outset panel | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/game_bottom_toolbar.c:58:54: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_IMGBTN, 0, 0x0002, 0x0075+WIDTH_MOD, 2, 31, 0xFFFFFFFF, STR_NONE }, // Left inset panel | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/game_bottom_toolbar.c:59:55: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 0, 0x0002, 0x0075+WIDTH_MOD, 1, 12, 0xFFFFFFFF, STR_PROFIT_PER_WEEK_AND_PARK_VALUE_TIP }, // Money window | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/game_bottom_toolbar.c:60:56: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 0, 0x0002, 0x0075+WIDTH_MOD, 11, 22, 0xFFFFFFFF, STR_NONE }, // Guests window | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/game_bottom_toolbar.c:61:56: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 0, 0x0002, 0x0075+WIDTH_MOD, 21, 31, 0xFFFFFFFF, STR_PARK_RATING_TIP }, // Park rating window | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/game_bottom_toolbar.c:63:64: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_IMGBTN, 2, 0x0078+WIDTH_MOD, 0x0207-WIDTH_MOD, 0, 33, 0xFFFFFFFF, STR_NONE }, // Middle outset panel | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/game_bottom_toolbar.c:64:61: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_25, 2, 0x007A+WIDTH_MOD, 0x0205-WIDTH_MOD, 2, 31, 0xFFFFFFFF, STR_NONE }, // Middle inset panel | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/game_bottom_toolbar.c:65:65: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 2, 0x007D+WIDTH_MOD, 0x0094+WIDTH_MOD, 5, 28, 0xFFFFFFFF, STR_SHOW_SUBJECT_TIP }, // Associated news item window | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/game_bottom_toolbar.c:66:65: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 2, 0x01EB-WIDTH_MOD, 0x0202-WIDTH_MOD, 5, 28, SPR_LOCATE, STR_LOCATE_SUBJECT_TIP }, // Scroll to news item target | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/game_bottom_toolbar.c:68:54: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_IMGBTN, 0, 0x0208-WIDTH_MOD, 0x027F, 0, 33, 0xFFFFFFFF, STR_NONE }, // Right outset panel | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/game_bottom_toolbar.c:69:54: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_IMGBTN, 0, 0x020A-WIDTH_MOD, 0x027D, 2, 31, 0xFFFFFFFF, STR_NONE }, // Right inset panel | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/game_bottom_toolbar.c:70:55: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 0, 0x020A-WIDTH_MOD, 0x027D, 2, 13, 0xFFFFFFFF, STR_NONE }, // Date | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/game_bottom_toolbar.c:71:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
15 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4463: CMakeFiles/openrct2.dir/src/windows/game_bottom_toolbar.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/guest.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest.c:73:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{WWT_FRAME, 0, 0, 191, 0, 156, 0xFFFFFFFF, STR_NONE}, // Panel / Background | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest.c:74:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{WWT_CAPTION, 0, 1, 190, 1, 14, STR_STRINGID, STR_WINDOW_TITLE_TIP}, // Title | |
^~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest.c:75:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{WWT_CLOSEBOX, 0, 179, 189, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP}, // Close x button | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest.c:76:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{WWT_RESIZE, 1, 0, 191, 43, 156, 0xFFFFFFFF, STR_NONE}, // Resize | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest.c:77:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_SHOW_GUEST_VIEW_TIP}, // Tab 1 | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest.c:78:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{WWT_TAB, 1, 73, 64, 17, 43, 0x20000000 | SPR_TAB, STR_SHOW_GUEST_NEEDS_TIP}, // Tab 2 | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest.c:79:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{WWT_TAB, 1, 65, 95, 17, 43, 0x20000000 | SPR_TAB, STR_SHOW_GUEST_VISITED_RIDES_TIP}, // Tab 3 | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest.c:80:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{WWT_TAB, 1, 96, 126, 17, 43, 0x20000000 | SPR_TAB, STR_SHOW_GUEST_FINANCE_TIP}, // Tab 4 | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest.c:81:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{WWT_TAB, 1, 127, 157, 17, 43, 0x20000000 | SPR_TAB, STR_SHOW_GUEST_THOUGHTS_TIP}, // Tab 5 | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest.c:82:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{WWT_TAB, 1, 158, 188, 17, 43, 0x20000000 | SPR_TAB, STR_SHOW_GUEST_ITEMS_TIP}, // Tab 6 | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest.c:83:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{WWT_12, 1, 3, 166, 45, 56, 0xFFFFFFFF, STR_NONE}, // Label Thought marquee | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest.c:84:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{WWT_VIEWPORT, 1, 3, 166, 57, 143, 0xFFFFFFFF, STR_NONE}, // Viewport | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest.c:85:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{WWT_12, 1, 3, 166, 144, 154, 0xFFFFFFFF, STR_NONE}, // Label Action | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest.c:86:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{WWT_FLATBTN, 1, 167, 190, 45, 68, SPR_PICKUP_BTN, STR_PICKUP_TIP}, // Pickup Button | |
^~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest.c:87:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{WWT_FLATBTN, 1, 167, 190, 69, 92, SPR_RENAME, STR_NAME_GUEST_TIP}, // Rename Button | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest.c:88:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{WWT_FLATBTN, 1, 167, 190, 93, 116, SPR_LOCATE, STR_LOCATE_SUBJECT_TIP}, // Locate Button | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest.c:89:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{WWT_FLATBTN, 1, 167, 190, 117, 140, SPR_TRACK_PEEP, STR_TOGGLE_GUEST_TRACKING_TIP}, // Track Button | |
^~~~~~~~~~~~~~ | |
{ } | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4487: CMakeFiles/openrct2.dir/src/windows/guest.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/guest_list.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest_list.c:77:37: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 349, 0, 329, 0xFFFFFFFF, STR_NONE }, // panel / background | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest_list.c:78:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 348, 1, 14, STR_GUESTS, STR_WINDOW_TITLE_TIP }, // title bar | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest_list.c:79:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 337, 347, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, // close x button | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest_list.c:80:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_RESIZE, 1, 0, 349, 43, 329, 0xFFFFFFFF, STR_NONE }, // tab content panel | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest_list.c:81:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN, 1, 5, 84, 59, 70, STR_PAGE_1, STR_NONE }, // page dropdown | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest_list.c:82:47: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 73, 83, 60, 69, STR_DROPDOWN_GLYPH, STR_NONE }, // page dropdown button | |
^~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest_list.c:83:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN, 1, 120, 295, 59, 70, 0xFFFFFFFF, STR_INFORMATION_TYPE_TIP }, // information type dropdown | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest_list.c:84:47: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 284, 294, 60, 69, STR_DROPDOWN_GLYPH, STR_INFORMATION_TYPE_TIP }, // information type dropdown button | |
^~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest_list.c:85:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 297, 320, 46, 69, SPR_MAP, STR_SHOW_GUESTS_ON_MAP_TIP }, // map | |
^~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest_list.c:86:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 321, 344, 46, 69, SPR_TRACK_PEEP, STR_TRACKED_GUESTS_ONLY_TIP }, // tracking | |
^~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest_list.c:87:37: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_INDIVIDUAL_GUESTS_TIP }, // tab 1 | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest_list.c:88:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 34, 64, 17, 43, 0x20000000 | SPR_TAB, STR_SUMMARISED_GUESTS_TIP }, // tab 2 | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest_list.c:89:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SCROLL, 1, 3, 346, 72, 326, SCROLL_BOTH, STR_NONE }, // guest list | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest_list.c:90:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest_list.c:893:39: error: comparison of integers of different signs: 'int' and 'uint32' (aka 'unsigned int') [-Werror,-Wsign-compare] | |
if (_window_guest_list_selected_view == _window_guest_list_last_find_groups_selected_view) { | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/guest_list.c:895:45: error: comparison of integers of different signs: 'uint32' (aka 'unsigned int') and 'int' [-Werror,-Wsign-compare] | |
_window_guest_list_last_find_groups_tick == tick256 | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~ | |
18 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4511: CMakeFiles/openrct2.dir/src/windows/guest_list.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/install_track.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/themes.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/install_track.c:43:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 401, 0, 399, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/install_track.c:44:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 400, 1, 14, STR_TRACK_DESIGN_INSTALL_WINDOW_TITLE, STR_WINDOW_TITLE_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/install_track.c:45:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 389, 399, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/install_track.c:46:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 0, 15, 386, 18, 236, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/install_track.c:47:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 0, 376, 399, 374, 397, SPR_ROTATE_ARROW, STR_ROTATE_90_TIP }, | |
^~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/install_track.c:48:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 0, 376, 399, 350, 373, SPR_SCENERY, STR_TOGGLE_SCENERY_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/install_track.c:49:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 0, 303, 397, 241, 252, STR_INSTALL_NEW_TRACK_DESIGN_INSTALL, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/install_track.c:50:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 0, 303, 397, 256, 267, STR_INSTALL_NEW_TRACK_DESIGN_CANCEL, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/install_track.c:51:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
11 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4535: CMakeFiles/openrct2.dir/src/windows/install_track.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/land.c:17: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../input.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/land.c:43:34: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 97, 0, 159, 0xFFFFFFFF, STR_NONE }, // panel / background | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/land.c:44:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 96, 1, 14, STR_LAND, STR_WINDOW_TITLE_TIP }, // title bar | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/land.c:45:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 85, 95, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, // close x button | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/land.c:47:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 19, 42, 19, 42, SPR_RIDE_CONSTRUCTION_SLOPE_UP, STR_ENABLE_MOUNTAIN_TOOL_TIP }, // mountain mode | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/land.c:48:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 55, 78, 19, 42, SPR_PAINTBRUSH, STR_DISABLE_ELEVATION }, // paint mode | |
^~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/land.c:50:37: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_IMGBTN, 0, 27, 70, 48, 79, SPR_LAND_TOOL_SIZE_0, STR_NONE }, // preview box | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/land.c:51:37: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TRNBTN, 1, 28, 43, 49, 64, 0x20000000 | SPR_LAND_TOOL_DECREASE, STR_ADJUST_SMALLER_LAND_TIP }, // decrement size | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/land.c:52:37: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TRNBTN, 1, 54, 69, 63, 78, 0x20000000 | SPR_LAND_TOOL_INCREASE, STR_ADJUST_LARGER_LAND_TIP }, // increment size | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/land.c:54:37: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 2, 48, 106, 141, 0xFFFFFFFF, STR_CHANGE_BASE_LAND_TIP }, // floor texture | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/land.c:55:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 49, 95, 106, 141, 0xFFFFFFFF, STR_CHANGE_VERTICAL_LAND_TIP }, // wall texture | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/land.c:56:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
13 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4559: CMakeFiles/openrct2.dir/src/windows/land.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/land_rights.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../input.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/land_rights.c:43:32: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 97, 0, 93, 0xFFFFFFFF, STR_NONE }, // panel / background | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/land_rights.c:44:34: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 96, 1, 14, STR_LAND_RIGHTS, STR_WINDOW_TITLE_TIP }, // title bar | |
^~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/land_rights.c:45:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 85, 95, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, // close x button | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/land_rights.c:46:35: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_IMGBTN, 0, 27, 70, 17, 48, SPR_LAND_TOOL_SIZE_0, STR_NONE }, // preview box | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/land_rights.c:47:35: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TRNBTN, 2, 28, 43, 18, 33, 0x20000000 | SPR_LAND_TOOL_DECREASE, STR_ADJUST_SMALLER_LAND_RIGHTS_TIP }, // decrement size | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/land_rights.c:48:35: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TRNBTN, 2, 54, 69, 32, 47, 0x20000000 | SPR_LAND_TOOL_INCREASE, STR_ADJUST_LARGER_LAND_RIGHTS_TIP }, // increment size | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/land_rights.c:49:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 2, 22, 45, 53, 76, 0x20000000 | SPR_BUY_LAND_RIGHTS, STR_BUY_LAND_RIGHTS_TIP }, // land rights | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/land_rights.c:50:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 2, 52, 75, 53, 76, 0x20000000 | SPR_BUY_CONSTRUCTION_RIGHTS, STR_BUY_CONSTRUCTION_RIGHTS_TIP }, // construction rights | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/land_rights.c:51:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
11 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4583: CMakeFiles/openrct2.dir/src/windows/land_rights.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/loadsave.c:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/loadsave.c:52:51: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, WW - 1, 0, WH - 1, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../network/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/loadsave.c:53:50: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, WW - 2, 1, 14, STR_NONE, STR_WINDOW_TITLE_TIP }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../network/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/loadsave.c:54:55: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, WW - 13, WW - 3, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, //Window close button | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/loadsave.c:55:50: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 105, 205, 36, 47, STR_FILEBROWSER_ACTION_UP, STR_NONE}, // Up | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/loadsave.c:56:50: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 206, 307, 36, 47, STR_FILEBROWSER_ACTION_NEW_FILE, STR_NONE}, // New | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/loadsave.c:57:56: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 4, (WW - 5) / 2, 50, 61, STR_NONE, STR_NONE }, // Name | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../network/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/loadsave.c:58:66: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, (WW - 5) / 2 + 1, WW - 5 - 1, 50, 61, STR_NONE, STR_NONE }, // Date | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../network/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/loadsave.c:59:53: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SCROLL, 0, 4, WW - 5, 61, WH - 40, SCROLL_VERTICAL, STR_NONE }, // File list | |
^~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/loadsave.c:60:55: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 4, 200, WH - 36, WH - 18, STR_FILEBROWSER_USE_SYSTEM_WINDOW, STR_NONE }, // Use native browser | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/loadsave.c:61:49: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 4, 104, 36, 47, STR_LOADSAVE_DEFAULT, STR_LOADSAVE_DEFAULT_TIP }, // Go to default directory | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/loadsave.c:62:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END } | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/loadsave.c:242:30: error: missing field 'title' initializer [-Werror,-Wmissing-field-initializers] | |
file_dialog_desc desc = { 0 }; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/loadsave.c:505:57: error: cast from 'const void *' to 'struct loadsave_list_item *' drops const qualifier [-Werror,-Wcast-qual] | |
const loadsave_list_item *itemA = (loadsave_list_item*)a; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/loadsave.c:506:57: error: cast from 'const void *' to 'struct loadsave_list_item *' drops const qualifier [-Werror,-Wcast-qual] | |
const loadsave_list_item *itemB = (loadsave_list_item*)b; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/loadsave.c:678:29: error: cast from 'const char *' to 'char *' drops const qualifier [-Werror,-Wcast-qual] | |
char *extension = (char*)path_get_extension(path); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/loadsave.c:823:70: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, OVERWRITE_WW - 1, 0, OVERWRITE_WH - 1, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../network/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/loadsave.c:824:62: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, OVERWRITE_WW - 2, 1, 14, STR_FILEBROWSER_OVERWRITE_TITLE, STR_WINDOW_TITLE_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4607: CMakeFiles/openrct2.dir/src/windows/loadsave.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/main.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/main.c:24:53: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_VIEWPORT, 0, 0x0000, 0xFFFF, 0x0000, 0xFFFF, 0xFFFFFFFE, 0xFFFF }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/main.c:25:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
4 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4631: CMakeFiles/openrct2.dir/src/windows/main.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/map.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/map.c:70:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 244, 0, 258, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/map.c:71:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 243, 1, 14, STR_MAP_LABEL, STR_WINDOW_TITLE_TIP }, | |
^~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/map.c:72:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 232, 242, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/map.c:73:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_RESIZE, 1, 0, 244, 43, 257, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/map.c:74:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_COLOURBTN, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_SHOW_PEOPLE_ON_MAP_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/map.c:75:43: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_COLOURBTN, 1, 34, 64, 17, 43, 0x20000000 | SPR_TAB, STR_SHOW_RIDES_STALLS_ON_MAP_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/map.c:76:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SCROLL, 1, 3, 241, 46, 225, SCROLL_BOTH, STR_NONE }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/map.c:77:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SPINNER, 1, 104, 198, 229, 240, STR_MAP_SIZE_VALUE, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/map.c:78:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 187, 197, 230, 234, STR_NUMERIC_UP, STR_NONE }, | |
^~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/map.c:79:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 187, 197, 235, 239, STR_NUMERIC_DOWN, STR_NONE }, | |
^~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/map.c:80:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 4, 27, 1, 24, SPR_BUY_LAND_RIGHTS, STR_SELECT_PARK_OWNED_LAND_TIP }, | |
^~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/map.c:81:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 4, 27, 1, 24, SPR_PARK_ENTRANCE, STR_BUILD_PARK_ENTRANCE_TIP }, | |
^~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/map.c:82:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 28, 51, 1, 24, SPR_NONE, STR_SET_STARTING_POSITIONS_TIP }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/map.c:83:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_IMGBTN, 1, 4, 47, 17, 48, SPR_LAND_TOOL_SIZE_0, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/map.c:84:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TRNBTN, 1, 5, 20, 18, 33, 0x20000000 | SPR_LAND_TOOL_DECREASE, STR_ADJUST_SMALLER_LAND_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/map.c:85:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TRNBTN, 1, 31, 46, 32, 47, 0x20000000 | SPR_LAND_TOOL_INCREASE, STR_ADJUST_LARGER_LAND_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/map.c:86:43: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CHECKBOX, 1, 58, 241, 197, 208, STR_LAND_OWNED, STR_SET_LAND_TO_BE_OWNED_TIP }, | |
^~~~~~~~~~~~~~ | |
{ } | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4655: CMakeFiles/openrct2.dir/src/windows/map.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/map_tooltip.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../input.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/map_tooltip.c:24:34: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_IMGBTN, 0, 0, 199, 0, 29, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/map_tooltip.c:25:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END } | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
4 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4679: CMakeFiles/openrct2.dir/src/windows/map_tooltip.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/mapgen.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../input.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/mapgen.c:89:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 299, 0, 195, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/mapgen.c:90:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 298, 1, 14, STR_MAPGEN_WINDOW_TITLE, STR_WINDOW_TITLE_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/mapgen.c:91:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 287, 297, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/mapgen.c:92:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_RESIZE, 1, 0, 299, 43, 195, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/mapgen.c:93:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/mapgen.c:94:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 34, 64, 17, 43, 0x20000000 | SPR_TAB, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/mapgen.c:95:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 65, 95, 17, 43, 0x20000000 | SPR_TAB, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/mapgen.c:97:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 104, 198, 52, 63, STR_MAPGEN_ACTION_GENERATE, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/mapgen.c:99:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SPINNER, 1, 104, 198, 52, 63, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/mapgen.c:100:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 187, 197, 53, 57, STR_NUMERIC_UP, STR_NONE }, | |
^~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/mapgen.c:101:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 187, 197, 58, 62, STR_NUMERIC_DOWN, STR_NONE }, | |
^~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/mapgen.c:102:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SPINNER, 1, 104, 198, 70, 81, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/mapgen.c:103:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 187, 197, 71, 75, STR_NUMERIC_UP, STR_NONE }, | |
^~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/mapgen.c:104:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 187, 197, 76, 80, STR_NUMERIC_DOWN, STR_NONE }, | |
^~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/mapgen.c:105:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SPINNER, 1, 104, 198, 88, 99, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/mapgen.c:106:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 187, 197, 89, 93, STR_NUMERIC_UP, STR_NONE }, | |
^~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/mapgen.c:107:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 187, 197, 94, 98, STR_NUMERIC_DOWN, STR_NONE }, | |
^~~~~~~~~~~~~~~~ | |
{ } | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4703: CMakeFiles/openrct2.dir/src/windows/mapgen.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/maze_construction.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/maze_construction.c:50:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 165, 0, 199, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/maze_construction.c:51:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 164, 1, 14, STR_RIDE_CONSTRUCTION_WINDOW_TITLE, STR_WINDOW_TITLE_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/maze_construction.c:52:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 153, 163, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/maze_construction.c:53:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_GROUPBOX, 0, 3, 162, 17, 71, STR_RIDE_CONSTRUCTION_MODE, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/maze_construction.c:54:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_EMPTY, 0, 0, 0, 0, 0, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/maze_construction.c:55:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_EMPTY, 0, 0, 0, 0, 0, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/maze_construction.c:56:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 35, 66, 29, 60, SPR_MAZE_CONSTRUCTION_BUILD, STR_RIDE_CONSTRUCTION_BUILD_MODE }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/maze_construction.c:57:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 67, 98, 29, 60, SPR_MAZE_CONSTRUCTION_MOVE, STR_RIDE_CONSTRUCTION_MOVE_MODE }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/maze_construction.c:58:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 99, 130, 29, 60, SPR_MAZE_CONSTRUCTION_FILL_IN, STR_RIDE_CONSTRUCTION_FILL_IN_MODE }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/maze_construction.c:59:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_EMPTY, 0, 0, 0, 0, 0, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/maze_construction.c:60:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_EMPTY, 0, 0, 0, 0, 0, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/maze_construction.c:61:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_EMPTY, 0, 0, 0, 0, 0, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/maze_construction.c:62:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_EMPTY, 0, 0, 0, 0, 0, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/maze_construction.c:63:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_EMPTY, 0, 0, 0, 0, 0, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/maze_construction.c:64:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_EMPTY, 0, 0, 0, 0, 0, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/maze_construction.c:65:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_EMPTY, 0, 0, 0, 0, 0, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/maze_construction.c:66:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_EMPTY, 0, 0, 0, 0, 0, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4727: CMakeFiles/openrct2.dir/src/windows/maze_construction.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/themes.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:70:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_MULTIPLAYER_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:60:38: note: expanded from macro 'MAIN_MULTIPLAYER_WIDGETS' | |
{ WWT_FRAME, 0, 0, 339, 0, 239, 0xFFFFFFFF, STR_NONE }, /* panel / background */ \ | |
^~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:70:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_MULTIPLAYER_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:61:40: note: expanded from macro 'MAIN_MULTIPLAYER_WIDGETS' | |
{ WWT_CAPTION, 0, 1, 338, 1, 14, STR_MULTIPLAYER, STR_WINDOW_TITLE_TIP }, /* title bar */ \ | |
^~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:70:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_MULTIPLAYER_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:62:42: note: expanded from macro 'MAIN_MULTIPLAYER_WIDGETS' | |
{ WWT_CLOSEBOX, 0, 327, 337, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, /* close x button */ \ | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:70:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_MULTIPLAYER_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:63:40: note: expanded from macro 'MAIN_MULTIPLAYER_WIDGETS' | |
{ WWT_RESIZE, 1, 0, 339, 43, 239, 0xFFFFFFFF, STR_NONE }, /* content panel */ \ | |
^~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:70:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_MULTIPLAYER_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:64:38: note: expanded from macro 'MAIN_MULTIPLAYER_WIDGETS' | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_SHOW_SERVER_INFO_TIP }, /* tab */ \ | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:70:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_MULTIPLAYER_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:65:38: note: expanded from macro 'MAIN_MULTIPLAYER_WIDGETS' | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_PLAYERS_TIP }, /* tab */ \ | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:70:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_MULTIPLAYER_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:66:38: note: expanded from macro 'MAIN_MULTIPLAYER_WIDGETS' | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_GROUPS_TIP }, /* tab */ \ | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:70:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_MULTIPLAYER_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:67:38: note: expanded from macro 'MAIN_MULTIPLAYER_WIDGETS' | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_OPTIONS_TIP } /* tab */ \ | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:71:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END } | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:75:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_MULTIPLAYER_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:60:38: note: expanded from macro 'MAIN_MULTIPLAYER_WIDGETS' | |
{ WWT_FRAME, 0, 0, 339, 0, 239, 0xFFFFFFFF, STR_NONE }, /* panel / background */ \ | |
^~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:75:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_MULTIPLAYER_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:61:40: note: expanded from macro 'MAIN_MULTIPLAYER_WIDGETS' | |
{ WWT_CAPTION, 0, 1, 338, 1, 14, STR_MULTIPLAYER, STR_WINDOW_TITLE_TIP }, /* title bar */ \ | |
^~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:75:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_MULTIPLAYER_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:62:42: note: expanded from macro 'MAIN_MULTIPLAYER_WIDGETS' | |
{ WWT_CLOSEBOX, 0, 327, 337, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, /* close x button */ \ | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:75:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_MULTIPLAYER_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:63:40: note: expanded from macro 'MAIN_MULTIPLAYER_WIDGETS' | |
{ WWT_RESIZE, 1, 0, 339, 43, 239, 0xFFFFFFFF, STR_NONE }, /* content panel */ \ | |
^~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:75:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_MULTIPLAYER_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:64:38: note: expanded from macro 'MAIN_MULTIPLAYER_WIDGETS' | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_SHOW_SERVER_INFO_TIP }, /* tab */ \ | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:75:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_MULTIPLAYER_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:65:38: note: expanded from macro 'MAIN_MULTIPLAYER_WIDGETS' | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_PLAYERS_TIP }, /* tab */ \ | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:75:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_MULTIPLAYER_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:66:38: note: expanded from macro 'MAIN_MULTIPLAYER_WIDGETS' | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_GROUPS_TIP }, /* tab */ \ | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:75:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_MULTIPLAYER_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/multiplayer.c:67:38: note: expanded from macro 'MAIN_MULTIPLAYER_WIDGETS' | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_OPTIONS_TIP } /* tab */ \ | |
^~~~~~~~~~~~~~~~~~~~ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4751: CMakeFiles/openrct2.dir/src/windows/multiplayer.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/music_credits.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/music_credits.c:29:35: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 509, 0, 313, 0xFFFFFFFF, STR_NONE }, // panel / background | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/music_credits.c:30:37: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 508, 1, 14, STR_MUSIC_ACKNOWLEDGEMENTS, STR_WINDOW_TITLE_TIP }, // title bar | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/music_credits.c:31:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 497, 507, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, // close x button | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/music_credits.c:32:37: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SCROLL, 0, 4, 505, 18, 309, SCROLL_VERTICAL, STR_NONE }, // scroll | |
^~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/music_credits.c:33:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/music_credits.c:192:20: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (int i = 0; i < countof(music_credits); i++) { | |
~ ^ ~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/music_credits.c:207:20: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (int i = 0; i < countof(music_credits_rct2); i++) { | |
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
9 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4775: CMakeFiles/openrct2.dir/src/windows/music_credits.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/network_status.c:17: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/themes.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/network_status.c:34:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 440, 0, 90, 0xFFFFFFFF, STR_NONE }, // panel / background | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/network_status.c:35:43: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 438, 1, 14, STR_NONE, STR_WINDOW_TITLE_TIP }, // title bar | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../network/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/network_status.c:36:45: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 427, 437, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, // close x button | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/network_status.c:37:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
6 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4799: CMakeFiles/openrct2.dir/src/windows/network_status.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/new_campaign.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_campaign.c:45:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 349, 0, 106, 0xFFFFFFFF, STR_NONE }, // panel / background | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_campaign.c:46:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 348, 1, 14, 0, STR_WINDOW_TITLE_TIP }, // title bar | |
^ | |
{} | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_campaign.c:47:44: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 337, 347, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, // close x button | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_campaign.c:48:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_24, 0, 0, 139, 24, 35, 0, STR_NONE }, // ride label | |
^ | |
{} | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_campaign.c:49:45: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN, 0, 100, 341, 24, 35, 0, STR_NONE }, // ride dropdown | |
^ | |
{} | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_campaign.c:50:50: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 0, 330, 340, 25, 34, STR_DROPDOWN_GLYPH, STR_NONE }, // ride dropdown button | |
^~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_campaign.c:51:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_24, 0, 0, 139, 41, 52, STR_LENGTH_OF_TIME, STR_NONE }, // weeks label | |
^~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_campaign.c:52:44: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SPINNER, 0, 120, 219, 41, 52, 0, STR_NONE }, // weeks | |
^ | |
{} | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_campaign.c:53:50: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 0, 208, 218, 42, 46, STR_NUMERIC_UP, STR_NONE }, // weeks + | |
^~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_campaign.c:54:50: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 0, 208, 218, 47, 51, STR_NUMERIC_DOWN, STR_NONE }, // weeks - | |
^~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_campaign.c:55:50: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 0, 14, 335, 89, 100, STR_MARKETING_START_THIS_MARKETING_CAMPAIGN, STR_NONE }, // start button | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_campaign.c:56:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END } | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_campaign.c:104:29: error: cast from 'const void *' to 'unsigned char *' drops const qualifier [-Werror,-Wcast-qual] | |
rideA = get_ride(*((uint8*)a)); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_campaign.c:105:29: error: cast from 'const void *' to 'unsigned char *' drops const qualifier [-Werror,-Wcast-qual] | |
rideB = get_ride(*((uint8*)b)); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_campaign.c:114:29: error: cast from 'const void *' to 'unsigned char *' drops const qualifier [-Werror,-Wcast-qual] | |
rideA = get_ride(*((uint8*)a)); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_campaign.c:115:29: error: cast from 'const void *' to 'unsigned char *' drops const qualifier [-Werror,-Wcast-qual] | |
rideB = get_ride(*((uint8*)b)); | |
^ | |
18 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4823: CMakeFiles/openrct2.dir/src/windows/new_campaign.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/new_ride.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_ride.c:179:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 600, 0, 369, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_ride.c:180:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 599, 1, 14, 0xFFFFFFFF, STR_WINDOW_TITLE_TIP }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_ride.c:181:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 588, 598, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_ride.c:182:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_RESIZE, 1, 0, 600, 43, 369, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_ride.c:183:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_TRANSPORT_RIDES_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_ride.c:184:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 34, 64, 17, 43, 0x20000000 | SPR_TAB, STR_GENTLE_RIDES_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_ride.c:185:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 65, 95, 17, 43, 0x20000000 | SPR_TAB, STR_ROLLER_COASTERS_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_ride.c:186:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 96, 126, 17, 43, 0x20000000 | SPR_TAB, STR_THRILL_RIDES_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_ride.c:187:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 127, 157, 17, 43, 0x20000000 | SPR_TAB, STR_WATER_RIDES_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_ride.c:188:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 158, 188, 17, 43, 0x20000000 | SPR_TAB, STR_SHOPS_STALLS_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_ride.c:189:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 189, 219, 17, 43, 0x20000000 | SPR_TAB, STR_RESEARCH_AND_DEVELOPMENT_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_ride.c:190:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SCROLL, 1, 3, 597, 46, 317, SCROLL_VERTICAL, STR_NONE }, | |
^~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_ride.c:191:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_GROUPBOX, 2, 3, 292, 47, 116, STR_CURRENTLY_IN_DEVELOPMENT, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_ride.c:192:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_GROUPBOX, 2, 3, 292, 124, 188, STR_LAST_DEVELOPMENT, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_ride.c:193:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 2, 265, 288, 161, 184, 0xFFFFFFFF, STR_RESEARCH_SHOW_DETAILS_TIP }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_ride.c:194:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 2, 265, 288, 68, 91, SPR_FINANCE, STR_FINANCES_RESEARCH_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/new_ride.c:195:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4847: CMakeFiles/openrct2.dir/src/windows/new_ride.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/news.c:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/news.c:36:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 399, 0, 299, 0xFFFFFFFF, STR_NONE }, // panel / background | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/news.c:37:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 398, 1, 14, STR_RECENT_MESSAGES, STR_WINDOW_TITLE_TIP }, // title bar | |
^~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/news.c:38:43: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 387, 397, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, // close x button | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/news.c:39:43: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 0, 372, 395, 18, 41, SPR_TAB_GEARS_0, STR_NONE }, // settings | |
^~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/news.c:40:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SCROLL, 0, 4, 395, 44, 295, SCROLL_VERTICAL, STR_NONE }, // scroll | |
^~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/news.c:41:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
8 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4871: CMakeFiles/openrct2.dir/src/windows/news.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/news_options.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/news_options.c:67:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 399, 0, 299, 0xFFFFFFFF, STR_NONE }, // panel / background | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/news_options.c:68:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 398, 1, 14, STR_NOTIFICATION_SETTINGS, STR_WINDOW_TITLE_TIP }, // title bar | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/news_options.c:69:43: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 387, 397, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, // close x button | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/news_options.c:70:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_RESIZE, 1, 0, 399, 43, 299, 0xFFFFFFFF, STR_NONE }, // tab content panel | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/news_options.c:71:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_NONE }, // tab 1 | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/news_options.c:72:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 34, 64, 17, 43, 0x20000000 | SPR_TAB, STR_NONE }, // tab 2 | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/news_options.c:73:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 65, 95, 17, 43, 0x20000000 | SPR_TAB, STR_NONE }, // tab 2 | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/news_options.c:75:43: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CHECKBOX, 2, 3, 349, 46, 59, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/news_options.c:76:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CHECKBOX, 2, 0, 0, 0, 0, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/news_options.c:77:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CHECKBOX, 2, 0, 0, 0, 0, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/news_options.c:78:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CHECKBOX, 2, 0, 0, 0, 0, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/news_options.c:79:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CHECKBOX, 2, 0, 0, 0, 0, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/news_options.c:80:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CHECKBOX, 2, 0, 0, 0, 0, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/news_options.c:81:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CHECKBOX, 2, 0, 0, 0, 0, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/news_options.c:82:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CHECKBOX, 2, 0, 0, 0, 0, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/news_options.c:83:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CHECKBOX, 2, 0, 0, 0, 0, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/news_options.c:85:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4895: CMakeFiles/openrct2.dir/src/windows/news_options.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/options.c:29: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/themes.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/options.c:194:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_OPTIONS_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/options.c:181:40: note: expanded from macro 'MAIN_OPTIONS_WIDGETS' | |
{ WWT_FRAME, 0, 0, WW-1, 0, WH-1, STR_NONE, STR_NONE }, \ | |
^~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/options.c:194:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_OPTIONS_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/options.c:182:41: note: expanded from macro 'MAIN_OPTIONS_WIDGETS' | |
{ WWT_CAPTION, 0, 1, WW-2, 1, 14, STR_OPTIONS_TITLE, STR_WINDOW_TITLE_TIP }, \ | |
^~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/options.c:194:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_OPTIONS_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/options.c:183:45: note: expanded from macro 'MAIN_OPTIONS_WIDGETS' | |
{ WWT_CLOSEBOX, 0, WW-13, WW-3, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, \ | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/options.c:194:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_OPTIONS_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/options.c:184:42: note: expanded from macro 'MAIN_OPTIONS_WIDGETS' | |
{ WWT_RESIZE, 1, 0, WW-1, 43, WH-1, 0xFFFFFFFF, STR_NONE }, \ | |
^~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/options.c:194:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_OPTIONS_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/options.c:185:38: note: expanded from macro 'MAIN_OPTIONS_WIDGETS' | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_OPTIONS_DISPLAY_TIP }, \ | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/options.c:194:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_OPTIONS_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/options.c:186:39: note: expanded from macro 'MAIN_OPTIONS_WIDGETS' | |
{ WWT_TAB, 1, 34, 64, 17, 43, 0x20000000 | SPR_TAB, STR_OPTIONS_RENDERING_TIP }, \ | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/options.c:194:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_OPTIONS_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/options.c:187:39: note: expanded from macro 'MAIN_OPTIONS_WIDGETS' | |
{ WWT_TAB, 1, 65, 95, 17, 43, 0x20000000 | SPR_TAB, STR_OPTIONS_CULTURE_TIP }, \ | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/options.c:194:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_OPTIONS_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/options.c:188:39: note: expanded from macro 'MAIN_OPTIONS_WIDGETS' | |
{ WWT_TAB, 1, 96, 126, 17, 43, 0x20000000 | SPR_TAB, STR_OPTIONS_AUDIO_TIP }, \ | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/options.c:194:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_OPTIONS_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/options.c:189:39: note: expanded from macro 'MAIN_OPTIONS_WIDGETS' | |
{ WWT_TAB, 1, 127, 157, 17, 43, 0x20000000 | SPR_TAB, STR_OPTIONS_CONTROLS_AND_INTERFACE_TIP }, \ | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/options.c:194:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_OPTIONS_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/options.c:190:39: note: expanded from macro 'MAIN_OPTIONS_WIDGETS' | |
{ WWT_TAB, 1, 158, 188, 17, 43, 0x20000000 | SPR_TAB, STR_OPTIONS_MISCELLANEOUS_TIP }, \ | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/options.c:194:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_OPTIONS_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/options.c:191:39: note: expanded from macro 'MAIN_OPTIONS_WIDGETS' | |
{ WWT_TAB, 1, 189, 219, 17, 43, 0x20000000 | SPR_TAB, STR_OPTIONS_TWITCH_TIP } | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/options.c:195:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_GROUPBOX, 1, 5, 304, 53, 205, STR_HARDWARE_GROUP, STR_NONE }, // Hardware group | |
^~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/options.c:197:43: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN, 1, 155, 299, 68, 79, STR_ARG_12_STRINGID, STR_NONE }, // Fullscreen | |
^~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/options.c:198:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 288, 298, 69, 78, STR_DROPDOWN_GLYPH, STR_FULLSCREEN_MODE_TIP }, | |
^~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/options.c:200:44: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN, 1, 155, 299, 83, 94, STR_ARG_16_RESOLUTION_X_BY_Y, STR_NONE }, // Resolution | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/options.c:201:49: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 288, 298, 84, 93, STR_DROPDOWN_GLYPH, STR_DISPLAY_RESOLUTION_TIP }, | |
^~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/options.c:203:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SPINNER, 1, 155, 299, 98, 109, STR_NONE, STR_WINDOW_SCALE_TIP }, // Scale spinner | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4919: CMakeFiles/openrct2.dir/src/windows/options.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/park.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/park.c:97:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_PARK_WIDGETS, | |
^~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/park.c:84:38: note: expanded from macro 'MAIN_PARK_WIDGETS' | |
{ WWT_FRAME, 0, 0, 229, 0, 223, 0xFFFFFFFF, STR_NONE }, /* panel / background */ \ | |
^~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/park.c:97:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_PARK_WIDGETS, | |
^~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/park.c:85:40: note: expanded from macro 'MAIN_PARK_WIDGETS' | |
{ WWT_CAPTION, 0, 1, 228, 1, 14, STR_STRINGID, STR_WINDOW_TITLE_TIP }, /* title bar */ \ | |
^~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/park.c:97:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_PARK_WIDGETS, | |
^~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/park.c:86:42: note: expanded from macro 'MAIN_PARK_WIDGETS' | |
{ WWT_CLOSEBOX, 0, 217, 227, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, /* close x button */ \ | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/park.c:97:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_PARK_WIDGETS, | |
^~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/park.c:87:40: note: expanded from macro 'MAIN_PARK_WIDGETS' | |
{ WWT_RESIZE, 1, 0, 229, 43, 173, 0xFFFFFFFF, STR_NONE }, /* tab content panel */ \ | |
^~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/park.c:97:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_PARK_WIDGETS, | |
^~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/park.c:88:38: note: expanded from macro 'MAIN_PARK_WIDGETS' | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_PARK_ENTRANCE_TAB_TIP }, /* tab 1 */ \ | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/park.c:97:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_PARK_WIDGETS, | |
^~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/park.c:89:39: note: expanded from macro 'MAIN_PARK_WIDGETS' | |
{ WWT_TAB, 1, 34, 64, 17, 43, 0x20000000 | SPR_TAB, STR_PARK_RATING_TAB_TIP }, /* tab 2 */ \ | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/park.c:97:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_PARK_WIDGETS, | |
^~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/park.c:90:39: note: expanded from macro 'MAIN_PARK_WIDGETS' | |
{ WWT_TAB, 1, 65, 95, 17, 43, 0x20000000 | SPR_TAB, STR_PARK_GUESTS_TAB_TIP }, /* tab 3 */ \ | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/park.c:97:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_PARK_WIDGETS, | |
^~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/park.c:91:39: note: expanded from macro 'MAIN_PARK_WIDGETS' | |
{ WWT_TAB, 1, 96, 126, 17, 43, 0x20000000 | SPR_TAB, STR_PARK_PRICE_TAB_TIP }, /* tab 4 */ \ | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/park.c:97:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_PARK_WIDGETS, | |
^~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/park.c:92:39: note: expanded from macro 'MAIN_PARK_WIDGETS' | |
{ WWT_TAB, 1, 127, 157, 17, 43, 0x20000000 | SPR_TAB, STR_PARK_STATS_TAB_TIP }, /* tab 5 */ \ | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/park.c:97:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_PARK_WIDGETS, | |
^~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/park.c:93:39: note: expanded from macro 'MAIN_PARK_WIDGETS' | |
{ WWT_TAB, 1, 158, 188, 17, 43, 0x20000000 | SPR_TAB, STR_PARK_OBJECTIVE_TAB_TIP }, /* tab 6 */ \ | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/park.c:97:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
MAIN_PARK_WIDGETS, | |
^~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/park.c:94:39: note: expanded from macro 'MAIN_PARK_WIDGETS' | |
{ WWT_TAB, 1, 189, 219, 17, 43, 0x20000000 | SPR_TAB, STR_PARK_AWARDS_TAB_TIP } /* tab 7 */ | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/park.c:98:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_VIEWPORT, 1, 3, 204, 46, 160, 0xFFFFFFFF, STR_NONE }, // viewport | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/park.c:99:37: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_12, 1, 3, 204, 161, 171, 0xFFFFFFFF, STR_NONE }, // status | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/park.c:100:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 205, 228, 49, 72, 0xFFFFFFFF, STR_OPEN_OR_CLOSE_PARK_TIP }, // open / close | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/park.c:101:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 205, 228, 73, 96, SPR_BUY_LAND_RIGHTS, STR_BUY_LAND_AND_CONSTRUCTION_RIGHTS_TIP }, // buy land rights | |
^~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/park.c:103:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 205, 228, 97, 120, SPR_LOCATE, STR_LOCATE_SUBJECT_TIP }, // locate | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/park.c:104:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 205, 228, 121, 144, SPR_RENAME, STR_NAME_PARK_TIP }, // rename | |
^~~~~~~~~~ | |
{ } | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4943: CMakeFiles/openrct2.dir/src/windows/park.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/player.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/player.c:71:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
WINDOW_PLAYER_COMMON_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/player.c:63:38: note: expanded from macro 'WINDOW_PLAYER_COMMON_WIDGETS' | |
{ WWT_FRAME, 0, 0, 191, 0, 156, 0xFFFFFFFF, STR_NONE }, /* Panel / Background */ \ | |
^~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/player.c:71:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
WINDOW_PLAYER_COMMON_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/player.c:64:40: note: expanded from macro 'WINDOW_PLAYER_COMMON_WIDGETS' | |
{ WWT_CAPTION, 0, 1, 190, 1, 14, STR_STRING, STR_WINDOW_TITLE_TIP }, /* Title */ \ | |
^~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/player.c:71:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
WINDOW_PLAYER_COMMON_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/player.c:65:42: note: expanded from macro 'WINDOW_PLAYER_COMMON_WIDGETS' | |
{ WWT_CLOSEBOX, 0, 179, 189, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, /* Close x button */ \ | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/player.c:71:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
WINDOW_PLAYER_COMMON_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/player.c:66:40: note: expanded from macro 'WINDOW_PLAYER_COMMON_WIDGETS' | |
{ WWT_RESIZE, 1, 0, 191, 43, 156, 0xFFFFFFFF, STR_NONE }, /* Resize */ \ | |
^~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/player.c:71:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
WINDOW_PLAYER_COMMON_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/player.c:67:38: note: expanded from macro 'WINDOW_PLAYER_COMMON_WIDGETS' | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_NONE }, /* Tab 1 */ \ | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/player.c:71:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
WINDOW_PLAYER_COMMON_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/player.c:68:39: note: expanded from macro 'WINDOW_PLAYER_COMMON_WIDGETS' | |
{ WWT_TAB, 1, 34, 64, 17, 43, 0x20000000 | SPR_TAB, STR_NONE } /* Tab 2 */ | |
^~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/player.c:72:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN, 1, 3, 177, 46, 57, 0xFFFFFFFF, STR_NONE }, // Permission group | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/player.c:73:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 167, 177, 47, 56, STR_DROPDOWN_GLYPH, STR_NONE }, // | |
^~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/player.c:74:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 179, 190, 45, 68, SPR_LOCATE, STR_LOCATE_PLAYER_TIP }, // Locate button | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/player.c:75:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 179, 190, 69, 92, SPR_DEMOLISH, STR_KICK_PLAYER_TIP }, // Kick button | |
^~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/player.c:76:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_VIEWPORT, 1, 3, 177, 60, 120, 0xFFFFFFFF, STR_NONE }, // Viewport | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/player.c:77:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/player.c:81:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
WINDOW_PLAYER_COMMON_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/player.c:63:38: note: expanded from macro 'WINDOW_PLAYER_COMMON_WIDGETS' | |
{ WWT_FRAME, 0, 0, 191, 0, 156, 0xFFFFFFFF, STR_NONE }, /* Panel / Background */ \ | |
^~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/player.c:81:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
WINDOW_PLAYER_COMMON_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/player.c:64:40: note: expanded from macro 'WINDOW_PLAYER_COMMON_WIDGETS' | |
{ WWT_CAPTION, 0, 1, 190, 1, 14, STR_STRING, STR_WINDOW_TITLE_TIP }, /* Title */ \ | |
^~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/player.c:81:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
WINDOW_PLAYER_COMMON_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/player.c:65:42: note: expanded from macro 'WINDOW_PLAYER_COMMON_WIDGETS' | |
{ WWT_CLOSEBOX, 0, 179, 189, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, /* Close x button */ \ | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/player.c:81:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
WINDOW_PLAYER_COMMON_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/player.c:66:40: note: expanded from macro 'WINDOW_PLAYER_COMMON_WIDGETS' | |
{ WWT_RESIZE, 1, 0, 191, 43, 156, 0xFFFFFFFF, STR_NONE }, /* Resize */ \ | |
^~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/player.c:81:2: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
WINDOW_PLAYER_COMMON_WIDGETS, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/player.c:67:38: note: expanded from macro 'WINDOW_PLAYER_COMMON_WIDGETS' | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_NONE }, /* Tab 1 */ \ | |
^~~~~~~~~~~~~~~~~~~~ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4967: CMakeFiles/openrct2.dir/src/windows/player.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/publisher_credits.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/publisher_credits.c:29:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{WWT_FRAME, 0, 0, 419, 0, 383, 0xFFFFFFFF, STR_NONE}, // panel / background | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/publisher_credits.c:30:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{WWT_CAPTION, 0, 1, 418, 1, 14, STR_ROLLERCOASTER_TYCOON_2, STR_WINDOW_TITLE_TIP }, // title bar | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/publisher_credits.c:31:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{WWT_CLOSEBOX, 0, 407, 417, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, // close x button | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/publisher_credits.c:32:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{WWT_SCROLL, 0, 4, 415, 18, 379, SCROLL_VERTICAL, STR_NONE }, // scroll | |
^~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/publisher_credits.c:33:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/publisher_credits.c:176:20: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (int i = 0; i < sizeof(credits_order)/sizeof(int); i++) { | |
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
8 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:4991: CMakeFiles/openrct2.dir/src/windows/publisher_credits.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/research.c:17: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/research.c:65:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 299, 0, 195, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/research.c:66:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 298, 1, 14, STR_RESEARCH_AND_DEVELOPMENT, STR_WINDOW_TITLE_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/research.c:67:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 287, 297, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/research.c:68:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_RESIZE, 1, 0, 299, 43, 195, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/research.c:69:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_RESEARCH_AND_DEVELOPMENT_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/research.c:70:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 34, 64, 17, 43, 0x20000000 | SPR_TAB, STR_FINANCES_RESEARCH_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/research.c:71:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_GROUPBOX, 2, 3, 292, 47, 116, STR_CURRENTLY_IN_DEVELOPMENT, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/research.c:72:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_GROUPBOX, 2, 3, 292, 124, 188, STR_LAST_DEVELOPMENT, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/research.c:73:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 2, 265, 288, 161, 184, 0xFFFFFFFF, STR_RESEARCH_SHOW_DETAILS_TIP }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/research.c:74:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/research.c:78:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 319, 0, 206, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/research.c:79:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 318, 1, 14, STR_RESEARCH_FUNDING, STR_WINDOW_TITLE_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/research.c:80:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 307, 317, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/research.c:81:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_RESIZE, 1, 0, 319, 43, 206, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/research.c:82:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_RESEARCH_AND_DEVELOPMENT_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/research.c:83:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 34, 64, 17, 43, 0x20000000 | SPR_TAB, STR_FINANCES_RESEARCH_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/research.c:84:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_GROUPBOX, 2, 3, 316, 47, 91, STR_RESEARCH_FUNDING_, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5015: CMakeFiles/openrct2.dir/src/windows/research.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/ride.c:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride.c:192:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 315, 0, 206, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride.c:193:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 314, 1, 14, STR_RIDE_WINDOW_TITLE, STR_WINDOW_TITLE_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride.c:194:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 303, 313, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride.c:195:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_RESIZE, 1, 0, 315, 43, 179, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride.c:196:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_VIEW_OF_RIDE_ATTRACTION_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride.c:197:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 34, 64, 17, 46, 0x20000000 | SPR_TAB, STR_VEHICLE_DETAILS_AND_OPTIONS_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride.c:198:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 65, 95, 17, 43, 0x20000000 | SPR_TAB, STR_OPERATING_OPTIONS_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride.c:199:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 96, 126, 17, 43, 0x20000000 | SPR_TAB, STR_MAINTENANCE_OPTIONS_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride.c:200:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 127, 157, 17, 43, 0x20000000 | SPR_TAB, STR_COLOUR_SCHEME_OPTIONS_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride.c:201:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 158, 188, 17, 43, 0x20000000 | SPR_TAB, STR_SOUND_AND_MUSIC_OPTIONS_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride.c:202:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 189, 219, 17, 43, 0x20000000 | SPR_TAB, STR_MEASUREMENTS_AND_TEST_DATA_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride.c:203:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 220, 250, 17, 43, 0x20000000 | SPR_TAB, STR_GRAPHS_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride.c:204:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 251, 281, 17, 43, 0x20000000 | SPR_TAB, STR_INCOME_AND_COSTS_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride.c:205:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 282, 312, 17, 43, 0x20000000 | SPR_TAB, STR_CUSTOMER_INFORMATION_TIP }, | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride.c:207:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_VIEWPORT, 1, 3, 290, 60, 166, 0xFFFFFFFE, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride.c:208:43: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN, 1, 35, 256, 46, 57, 0xFFFFFFFF, STR_VIEW_SELECTION }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride.c:209:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 245, 255, 47, 56, STR_DROPDOWN_GLYPH, STR_VIEW_SELECTION }, | |
^~~~~~~~~~~~~~~~~~ | |
{ } | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5039: CMakeFiles/openrct2.dir/src/windows/ride.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/ride_construction.c:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_construction.c:90:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 165, 0, 393, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_construction.c:91:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 164, 1, 14, STR_RIDE_CONSTRUCTION_WINDOW_TITLE, STR_WINDOW_TITLE_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_construction.c:92:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 153, 163, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_construction.c:93:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_GROUPBOX, 0, 3, 162, 17, 73, STR_RIDE_CONSTRUCTION_DIRECTION, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_construction.c:94:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_GROUPBOX, 0, 3, 162, 76, 116, STR_RIDE_CONSTRUCTION_SLOPE, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_construction.c:95:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_GROUPBOX, 0, 3, 162, 120, 160, STR_RIDE_CONSTRUCTION_ROLL_BANKING, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_construction.c:96:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 6, 27, 29, 52, SPR_RIDE_CONSTRUCTION_LEFT_CURVE_SMALL, STR_RIDE_CONSTRUCTION_LEFT_CURVE_VERY_SMALL_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_construction.c:97:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 6, 27, 29, 52, SPR_RIDE_CONSTRUCTION_LEFT_CURVE_SMALL, STR_RIDE_CONSTRUCTION_LEFT_CURVE_SMALL_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_construction.c:98:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 28, 49, 29, 52, SPR_RIDE_CONSTRUCTION_LEFT_CURVE, STR_RIDE_CONSTRUCTION_LEFT_CURVE_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_construction.c:99:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 72, 93, 29, 52, SPR_RIDE_CONSTRUCTION_STRAIGHT, STR_RIDE_CONSTRUCTION_STRAIGHT_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_construction.c:100:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 116, 137, 29, 52, SPR_RIDE_CONSTRUCTION_RIGHT_CURVE, STR_RIDE_CONSTRUCTION_RIGHT_CURVE_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_construction.c:101:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 138, 159, 29, 52, SPR_RIDE_CONSTRUCTION_RIGHT_CURVE_SMALL, STR_RIDE_CONSTRUCTION_RIGHT_CURVE_SMALL_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_construction.c:102:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 138, 159, 29, 52, SPR_RIDE_CONSTRUCTION_RIGHT_CURVE_SMALL, STR_RIDE_CONSTRUCTION_RIGHT_CURVE_VERY_SMALL_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_construction.c:103:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 17, 148, 55, 68, STR_YELLOW_STRING, STR_RIDE_CONSTRUCTION_OTHER_TRACK_CONFIGURATIONS_TIP }, | |
^~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_construction.c:104:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 23, 46, 88, 111, SPR_RIDE_CONSTRUCTION_SLOPE_DOWN_STEEP, STR_RIDE_CONSTRUCTION_STEEP_SLOPE_DOWN_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_construction.c:105:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 47, 70, 88, 111, SPR_RIDE_CONSTRUCTION_SLOPE_DOWN, STR_RIDE_CONSTRUCTION_SLOPE_DOWN_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_construction.c:106:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 71, 94, 88, 111, SPR_RIDE_CONSTRUCTION_SLOPE_LEVEL, STR_RIDE_CONSTRUCTION_LEVEL_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5063: CMakeFiles/openrct2.dir/src/windows/ride_construction.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/ride_list.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_list.c:56:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 339, 0, 239, 0xFFFFFFFF, STR_NONE }, // panel / background | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_list.c:57:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 338, 1, 14, 0xFFFFFFFF, STR_WINDOW_TITLE_TIP }, // title bar | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_list.c:58:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 327, 337, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, // close x button | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_list.c:59:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_RESIZE, 1, 0, 339, 43, 239, 0xFFFFFFFF, STR_NONE }, // tab page background | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_list.c:60:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, 315, 338, 60, 83, SPR_TOGGLE_OPEN_CLOSE, STR_OPEN_OR_CLOSE_ALL_RIDES }, // open / close all toggle | |
^~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_list.c:61:43: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN, 1, 150, 273, 46, 57, 0xFFFFFFFF, STR_NONE }, // current information type | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_list.c:62:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 262, 272, 47, 56, STR_DROPDOWN_GLYPH, STR_RIDE_LIST_INFORMATION_TYPE_TIP }, // information type dropdown button | |
^~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_list.c:63:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 280, 333, 46, 57, STR_SORT, STR_RIDE_LIST_SORT_TIP }, // sort button | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_list.c:64:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_LIST_RIDES_TIP }, // tab 1 | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_list.c:65:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 34, 64, 17, 43, 0x20000000 | SPR_TAB, STR_LIST_SHOPS_AND_STALLS_TIP }, // tab 2 | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_list.c:66:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 65, 95, 17, 43, 0x20000000 | SPR_TAB, STR_LIST_KIOSKS_AND_FACILITIES_TIP }, // tab 3 | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_list.c:67:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SCROLL, 1, 3, 336, 60, 236, SCROLL_VERTICAL, STR_NONE }, // list | |
^~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_list.c:68:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_IMGBTN, 1, 320, 333, 62, 75, SPR_G2_RCT1_CLOSE_BUTTON_0, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_list.c:69:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_IMGBTN, 1, 320, 333, 76, 89, SPR_G2_RCT1_OPEN_BUTTON_0, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_list.c:70:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/ride_list.c:356:21: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (int i = 0; i < countof(ride_info_type_string_mapping); i++) { | |
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
18 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5087: CMakeFiles/openrct2.dir/src/windows/ride_list.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/save_prompt.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/save_prompt.c:38:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 259, 0, 49, STR_NONE, STR_NONE }, // panel / background | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/save_prompt.c:39:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 258, 1, 14, 0, STR_WINDOW_TITLE_TIP }, // title bar | |
^ | |
{} | |
/home/janisozaur/workspace/OpenRCT2/src/windows/save_prompt.c:40:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 247, 257, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, // close x button | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/save_prompt.c:41:35: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_12, 0, 2, 257, 19, 30, 0, STR_NONE }, // question/label | |
^ | |
{} | |
/home/janisozaur/workspace/OpenRCT2/src/windows/save_prompt.c:42:45: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 0, 8, 85, 35, 46, STR_SAVE_PROMPT_SAVE, STR_NONE }, // save | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/save_prompt.c:43:46: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 0, 91, 168, 35, 46, STR_SAVE_PROMPT_DONT_SAVE, STR_NONE }, // don't save | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/save_prompt.c:44:46: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 0, 174, 251, 35, 46, STR_SAVE_PROMPT_CANCEL, STR_NONE }, // cancel | |
^~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/save_prompt.c:45:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/save_prompt.c:57:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 176, 0, 33, STR_NONE, STR_NONE }, // panel / background | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/save_prompt.c:58:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 175, 1, 14, STR_QUIT_GAME_PROMPT_TITLE, STR_WINDOW_TITLE_TIP }, // title bar | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/save_prompt.c:59:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 164, 174, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, // close x button | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/save_prompt.c:60:45: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 0, 8, 85, 19, 30, STR_OK, STR_NONE }, // ok | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/save_prompt.c:61:46: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 0, 91, 168, 19, 30, STR_CANCEL, STR_NONE }, // cancel | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/save_prompt.c:62:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
16 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5111: CMakeFiles/openrct2.dir/src/windows/save_prompt.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/scenery.c:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/scenery.c:146:34: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 633, 0, 141, 0xFFFFFFFF, STR_NONE }, // 1 0x009DE298 | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/scenery.c:147:35: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 632, 1, 14, 0xFFFFFFFF, STR_WINDOW_TITLE_TIP }, // 2 0x009DE2A8 | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/scenery.c:148:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 621, 631, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, // 4 0x009DE2B8 | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/scenery.c:149:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_RESIZE, 1, 0, 633, 43, 141, 0xFFFFFFFF, STR_NONE }, // 8 0x009DE2C8 | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/scenery.c:150:31: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0xFFFFFFFF, STR_STRING_DEFINED_TOOLTIP }, // 10 0x009DE2D8 | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/scenery.c:151:32: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 34, 64, 17, 43, 0xFFFFFFFF, STR_STRING_DEFINED_TOOLTIP }, // 20 0x009DE2E8 | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/scenery.c:152:32: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 65, 95, 17, 43, 0xFFFFFFFF, STR_STRING_DEFINED_TOOLTIP }, // 40 0x009DE2F8 | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/scenery.c:153:33: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 96, 126, 17, 43, 0xFFFFFFFF, STR_STRING_DEFINED_TOOLTIP }, // 80 0x009DE308 | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/scenery.c:154:34: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 127, 157, 17, 43, 0xFFFFFFFF, STR_STRING_DEFINED_TOOLTIP }, // 100 0x009DE318 | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/scenery.c:155:34: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 158, 188, 17, 43, 0xFFFFFFFF, STR_STRING_DEFINED_TOOLTIP }, // 200 0x009DE328 | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/scenery.c:156:34: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 189, 219, 17, 43, 0xFFFFFFFF, STR_STRING_DEFINED_TOOLTIP }, // 400 0x009DE338 | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/scenery.c:157:34: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 220, 250, 17, 43, 0xFFFFFFFF, STR_STRING_DEFINED_TOOLTIP }, // 800 0x009DE348 | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/scenery.c:158:34: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 251, 281, 17, 43, 0xFFFFFFFF, STR_STRING_DEFINED_TOOLTIP }, // 1000 0x009DE358 | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/scenery.c:159:34: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 282, 312, 17, 43, 0xFFFFFFFF, STR_STRING_DEFINED_TOOLTIP }, // 2000 0x009DE368 | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/scenery.c:160:34: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 313, 343, 17, 43, 0xFFFFFFFF, STR_STRING_DEFINED_TOOLTIP }, // 4000 0x009DE378 | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/scenery.c:161:34: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 344, 374, 17, 43, 0xFFFFFFFF, STR_STRING_DEFINED_TOOLTIP }, // 8000 0x009DE388 | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/scenery.c:162:34: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 375, 405, 17, 43, 0xFFFFFFFF, STR_STRING_DEFINED_TOOLTIP }, // 10000 0x009DE398 | |
^~~~~~~~~~ | |
{ } | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5135: CMakeFiles/openrct2.dir/src/windows/scenery.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/server_list.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/themes.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/server_list.c:71:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 340, 0, 90, 0xFFFFFFFF, STR_NONE }, // panel / background | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/server_list.c:72:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 338, 1, 14, STR_SERVER_LIST, STR_WINDOW_TITLE_TIP }, // title bar | |
^~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/server_list.c:73:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 327, 337, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, // close x button | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/server_list.c:74:43: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TEXT_BOX, 1, 100, 344, 20, 31, STR_NONE, STR_NONE }, // player name text box | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../network/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/server_list.c:75:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SCROLL, 1, 6, 337, 37, 50, STR_NONE, STR_NONE }, // server list | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../network/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/server_list.c:76:47: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 6, 106, 53, 64, STR_FETCH_SERVERS, STR_NONE }, // fetch servers button | |
^~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/server_list.c:77:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 112, 212, 53, 64, STR_ADD_SERVER, STR_NONE }, // add server button | |
^~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/server_list.c:78:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 218, 318, 53, 64, STR_START_SERVER, STR_NONE }, // start server button | |
^~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/server_list.c:79:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/server_list.c:412:8: error: initializing 'char *' with an expression of type 'const char [9]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
char *version = NETWORK_STREAM_ID; | |
^ ~~~~~~~~~~~~~~~~~ | |
12 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5159: CMakeFiles/openrct2.dir/src/windows/server_list.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/server_start.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/themes.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/server_start.c:51:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, WW-1, 0, WH-1, 0xFFFFFFFF, STR_NONE }, // panel / background | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/server_start.c:52:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, WW-2, 1, 14, STR_START_SERVER, STR_WINDOW_TITLE_TIP }, // title bar | |
^~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/server_start.c:53:46: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, WW-13, WW-3, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, // close x button | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/server_start.c:54:45: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TEXT_BOX, 1, 120, WW-8, 20, 32, STR_NONE, STR_NONE }, // port text box | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../network/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/server_start.c:55:45: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TEXT_BOX, 1, 120, WW-8, 36, 48, STR_NONE, STR_NONE }, // name text box | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../network/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/server_start.c:56:45: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TEXT_BOX, 1, 120, WW-8, 52, 64, STR_NONE, STR_NONE }, // password text box | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../network/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/server_start.c:57:44: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SPINNER, 1, 120, WW-8, 68, 77, STR_SERVER_MAX_PLAYERS_VALUE, STR_NONE }, // max players | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/server_start.c:58:52: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, WW-18, WW-8, 68, 72, STR_NUMERIC_UP, STR_NONE }, | |
^~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/server_start.c:59:52: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, WW-18, WW-8, 72, 76, STR_NUMERIC_DOWN, STR_NONE }, | |
^~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/server_start.c:60:44: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CHECKBOX, 1, 6, WW-8, 85, 91, STR_ADVERTISE, STR_ADVERTISE_SERVER_TIP }, // advertise checkbox | |
^~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/server_start.c:61:52: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 6, 106, WH-6-11, WH-6, STR_NEW_GAME, STR_NONE }, // start server button | |
^~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/server_start.c:62:53: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 112, 212, WH-6-11, WH-6, STR_LOAD_GAME, STR_NONE }, | |
^~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/server_start.c:63:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
15 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5183: CMakeFiles/openrct2.dir/src/windows/server_start.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/shortcut_key_change.c:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/themes.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/shortcut_key_change.c:38:46: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, WW - 1, 0, WH - 1, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/shortcut_key_change.c:39:45: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, WW - 2, 1, 14, STR_SHORTCUT_CHANGE_TITLE, STR_WINDOW_TITLE_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/shortcut_key_change.c:40:49: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, WW-13, WW - 3, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/shortcut_key_change.c:41:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END } | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
6 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5207: CMakeFiles/openrct2.dir/src/windows/shortcut_key_change.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/shortcut_keys.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/shortcut_keys.c:38:45: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, WW - 1, 0, WH - 1, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/shortcut_keys.c:39:44: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, WW - 2, 1, 14, STR_SHORTCUTS_TITLE, STR_WINDOW_TITLE_TIP }, | |
^~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/shortcut_keys.c:40:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, WW-13, WW - 3, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/shortcut_keys.c:41:47: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SCROLL, 0, 4, WW - 5, 18, WH - 18, SCROLL_VERTICAL, STR_SHORTCUT_LIST_TIP }, | |
^~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/shortcut_keys.c:42:53: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 0, 4, 153, WH-15, WH - 4, STR_SHORTCUT_ACTION_RESET, STR_SHORTCUT_ACTION_RESET_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/shortcut_keys.c:43:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END } | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/shortcut_keys.c:261:33: error: cast from 'const char *' to 'char *' drops const qualifier [-Werror,-Wcast-qual] | |
char *templateString = (char*)language_get_string(templateStringId); | |
^ | |
9 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5231: CMakeFiles/openrct2.dir/src/windows/shortcut_keys.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/sign.c:17: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/sign.c:49:46: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, WW - 1, 0, WH - 1, 0xFFFFFFFF, STR_NONE }, // panel / background | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/sign.c:50:45: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, WW - 2, 1, 14, STR_SIGN, STR_WINDOW_TITLE_TIP }, // title bar | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/sign.c:51:51: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, WW - 13, WW - 3, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, // close x button | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/sign.c:52:50: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_VIEWPORT, 1, 3, WW - 26, 17, WH - 20, 0xFFFFFFFE, STR_NONE }, // Viewport | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/sign.c:53:51: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, WW - 25, WW - 2, 19, 42, SPR_RENAME, STR_CHANGE_SIGN_TEXT_TIP }, // change sign button | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/sign.c:54:51: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, WW - 25, WW - 2, 67, 90, SPR_DEMOLISH, STR_DEMOLISH_SIGN_TIP }, // demolish button | |
^~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/sign.c:55:51: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_COLOURBTN, 1, 5, 16, WH - 16, WH - 5, 0xFFFFFFFF, STR_SELECT_MAIN_SIGN_COLOUR_TIP }, // Main colour | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/sign.c:56:52: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_COLOURBTN, 1, 17, 28, WH - 16, WH - 5, 0xFFFFFFFF, STR_SELECT_TEXT_COLOUR_TIP }, // Text colour | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/sign.c:57:5: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
11 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5255: CMakeFiles/openrct2.dir/src/windows/sign.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/staff.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff.c:70:44: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, WW - 1, 0, WH - 1, 0xFFFFFFFF, STR_NONE }, // Panel / Background | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff.c:71:43: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, WW - 2, 1, 14, STR_STRINGID, STR_WINDOW_TITLE_TIP }, // Title | |
^~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff.c:72:49: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, WW - 13, WW - 3, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, // Close x button | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff.c:73:46: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_RESIZE, 1, 0, WW - 1, 43, WH - 1, 0xFFFFFFFF, STR_NONE }, // Resize | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff.c:74:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_STAFF_OVERVIEW_TIP },// Tab 1 | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff.c:75:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 34, 64, 17, 43, 0x20000000 | SPR_TAB, STR_STAFF_OPTIONS_TIP}, // Tab 2 | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff.c:76:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 65, 95, 17, 43, 0x20000000 | SPR_TAB, STR_STAFF_STATS_TIP}, // Tab 3 | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff.c:77:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 96, 126, 17, 43, 0x20000000 | SPR_TAB, STR_NONE}, // Tab 4 | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff.c:78:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_VIEWPORT, 1, 3, WW - 26, 47, WH - 14,0xFFFFFFFF, STR_NONE}, // Viewport | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff.c:79:46: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_12, 1, 3, WW - 26, WH - 13, WH - 3, 0xFFFFFFFF, STR_NONE }, // Label at bottom of viewport | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff.c:80:49: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, WW - 25, WW - 2, 45, 68, SPR_PICKUP_BTN, STR_PICKUP_TIP}, // Pickup Button | |
^~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff.c:81:49: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, WW - 25, WW - 2, 69, 92, SPR_PATROL_BTN, STR_SET_PATROL_TIP}, // Patrol Button | |
^~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff.c:82:49: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, WW - 25, WW - 2, 93, 116, SPR_RENAME, STR_NAME_STAFF_TIP}, // Rename Button | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff.c:83:49: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, WW - 25, WW - 2, 117, 140, SPR_LOCATE, STR_LOCATE_SUBJECT_TIP},// Locate Button | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff.c:84:49: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, WW - 25, WW - 2, 141, 164, SPR_DEMOLISH, STR_FIRE_STAFF_TIP}, // Fire Button | |
^~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff.c:85:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff.c:90:44: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, WW - 1, 0, WH - 1, 0xFFFFFFFF, STR_NONE }, // Panel / Background | |
^~~~~~~~~~ | |
{ } | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5279: CMakeFiles/openrct2.dir/src/windows/staff.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/staff_fire_prompt.c:17: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff_fire_prompt.c:40:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, WW - 1, 0, WH - 1, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff_fire_prompt.c:41:47: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, WW - 2, 1, 14, STR_SACK_STAFF, STR_WINDOW_TITLE_TIP }, | |
^~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff_fire_prompt.c:42:51: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, WW-13, WW - 3, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff_fire_prompt.c:43:58: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 0, 10, 94, WH - 20, WH - 9, STR_YES, STR_NONE }, | |
^~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff_fire_prompt.c:44:64: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 0, WW - 95, WW - 11, WH - 20, WH - 9, STR_SAVE_PROMPT_CANCEL, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff_fire_prompt.c:45:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END } | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
8 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5303: CMakeFiles/openrct2.dir/src/windows/staff_fire_prompt.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/staff_list.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff_list.c:114:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 319, 0, 269, 0xFFFFFFFF, STR_NONE }, // panel / background | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff_list.c:115:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 318, 1, 14, STR_STAFF, STR_WINDOW_TITLE_TIP }, // title bar | |
^~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff_list.c:116:44: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 307, 317, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, // close button | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff_list.c:117:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_RESIZE, 1, 0, 319, 43, 269, 0xFFFFFFFF, STR_NONE }, // tab content panel | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff_list.c:118:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_STAFF_HANDYMEN_TAB_TIP }, // handymen tab | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff_list.c:119:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 34, 64, 17, 43, 0x20000000 | SPR_TAB, STR_STAFF_MECHANICS_TAB_TIP }, // mechanics tab | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff_list.c:120:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 65, 95, 17, 43, 0x20000000 | SPR_TAB, STR_STAFF_SECURITY_TAB_TIP }, // security guards tab | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff_list.c:121:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 96, 126, 17, 43, 0x20000000 | SPR_TAB, STR_STAFF_ENTERTAINERS_TAB_TIP }, // entertainers tab | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff_list.c:122:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SCROLL, 1, 3, 316, 72, 266, SCROLL_BOTH, STR_NONE }, // staff list | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff_list.c:123:45: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_COLOURBTN, 1, 130, 141, 58, 69, STR_NONE, STR_UNIFORM_COLOUR_TIP }, // uniform colour picker | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff_list.c:124:57: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 0, WW - 155, WW - 11, 17, 29, STR_NONE, STR_HIRE_STAFF_TIP }, // hire button | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff_list.c:125:50: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, WW - 77, WW - 54, 46, 69, SPR_DEMOLISH, STR_QUICK_FIRE_STAFF }, // quick fire staff | |
^~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff_list.c:126:50: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, WW - 53, WW - 30, 46, 69, SPR_PATROL_BTN, STR_SHOW_PATROL_AREA_TIP }, // show staff patrol area tool | |
^~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff_list.c:127:50: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, WW - 29, WW - 6, 46, 69, SPR_MAP, STR_SHOW_STAFF_ON_MAP_TIP }, // show staff on map button | |
^~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/staff_list.c:128:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
17 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5327: CMakeFiles/openrct2.dir/src/windows/staff_list.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/text_input.c:26: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/text_input.c:44:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 1, 0, WW - 1, 0, WH - 1, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/text_input.c:45:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 1, 1, WW - 2, 1, 14, STR_OPTIONS, STR_WINDOW_TITLE_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/text_input.c:46:46: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 1, WW - 13, WW - 3, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/text_input.c:47:65: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, WW - 80, WW - 10, WH - 21, WH - 10, STR_CANCEL, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/text_input.c:48:55: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 10, 80, WH - 21, WH - 10, STR_OK, STR_NONE }, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/text_input.c:49:5: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END } | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
8 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5351: CMakeFiles/openrct2.dir/src/windows/text_input.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/themes.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/themes.c:120:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 319, 0, 106, 0xFFFFFFFF, STR_NONE }, // panel / background | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/themes.c:121:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 318, 1, 14, STR_THEMES_TITLE, STR_WINDOW_TITLE_TIP }, // title bar | |
^~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/themes.c:122:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 307, 317, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, // close button | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/themes.c:123:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_RESIZE, 1, 0, 319, 43, 106, 0xFFFFFFFF, STR_NONE }, // tab content panel | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/themes.c:124:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_THEMES_TAB_SETTINGS_TIP }, // settings tab | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/themes.c:125:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 34, 64, 17, 43, 0x20000000 | SPR_TAB, STR_THEMES_TAB_MAIN_TIP }, // main ui tab | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/themes.c:126:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 65, 95, 17, 43, 0x20000000 | SPR_TAB, STR_THEMES_TAB_PARK_TIP }, // park tab | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/themes.c:127:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 96, 126, 17, 43, 0x20000000 | SPR_TAB, STR_THEMES_TAB_TOOLS_TIP }, // tools tab | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/themes.c:128:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 127, 157, 17, 43, 0x20000000 | SPR_TAB, STR_THEMES_TAB_RIDES_AND_GUESTS_TIP }, // rides and peeps tab | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/themes.c:129:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 158, 188, 17, 43, 0x20000000 | SPR_TAB, STR_THEMES_TAB_EDITORS_TIP }, // editors tab | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/themes.c:130:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 189, 219, 17, 43, 0x20000000 | SPR_TAB, STR_THEMES_TAB_MISC_TIP }, // misc tab | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/themes.c:131:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 220, 250, 17, 43, 0x20000000 | SPR_TAB, STR_THEMES_TAB_PROMPTS_TIP }, // prompts tab | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/themes.c:132:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 251, 281, 17, 43, 0x20000000 | SPR_TAB, STR_THEMES_TAB_FEATURES_TIP }, // features tab | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/themes.c:133:43: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN, 1, 125, 299, 60, 71, STR_NONE, STR_NONE }, // Preset colour schemes | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/themes.c:134:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 288, 298, 61, 70, STR_DROPDOWN_GLYPH, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/themes.c:135:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 10, 100, 82, 93, STR_TITLE_EDITOR_ACTION_DUPLICATE, STR_THEMES_ACTION_DUPLICATE_TIP }, // Duplicate button | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/themes.c:136:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 110, 200, 82, 93, STR_TRACK_MANAGE_DELETE, STR_THEMES_ACTION_DELETE_TIP }, // Delete button | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5375: CMakeFiles/openrct2.dir/src/windows/themes.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/tile_inspector.c:17: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../input.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/tile_inspector.c:107:51: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, WW - 1, 0, WH - 1, 0xFFFFFFFF, STR_NONE }, // panel / background | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/tile_inspector.c:108:50: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, WW - 2, 1, 14, STR_TILE_INSPECTOR_TITLE, STR_WINDOW_TITLE_TIP }, // title bar | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/tile_inspector.c:109:55: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, WW - 13, WW - 3, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, // close x button | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/tile_inspector.c:112:71: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SCROLL, 1, 3, WW - 4, 57, WH - SCROLL_BOTTOM_OFFSET, 2, STR_NONE }, // scroll area | |
^ | |
{} | |
/home/janisozaur/workspace/OpenRCT2/src/windows/tile_inspector.c:115:49: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, BX, BW, BY, BH, SPR_MAP, STR_INSERT_CORRUPT_TIP }, // Insert corrupt button | |
^~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/tile_inspector.c:116:62: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, BX - BS * 1, BW - BS * 1, BY, BH, SPR_DEMOLISH, STR_REMOVE_SELECTED_ELEMENT_TIP }, // Remove button | |
^~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/tile_inspector.c:117:66: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 1, BX - BS * 2, BW - BS * 2, BY, BY + 11, STR_UP, STR_MOVE_SELECTED_ELEMENT_UP_TIP }, // Move down | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/tile_inspector.c:118:66: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 1, BX - BS * 2, BW - BS * 2, BH - 11, BH, STR_DOWN, STR_MOVE_SELECTED_ELEMENT_DOWN_TIP }, // Move up | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/tile_inspector.c:119:62: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 1, BX - BS * 3, BW - BS * 3, BY, BH, SPR_ROTATE_ARROW, STR_ROTATE_SELECTED_ELEMENT_TIP }, // Rotate button | |
^~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/tile_inspector.c:122:58: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_13, 1, COL_X_TYPE, COL_X_BH - 1, 42, 42 + 13, STR_NONE, STR_NONE }, // Type | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/tile_inspector.c:123:56: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_13, 1, COL_X_BH, COL_X_CH - 1, 42, 42 + 13, STR_NONE, STR_TILE_INSPECTOR_BASE_HEIGHT }, // Base height | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/tile_inspector.c:124:56: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_13, 1, COL_X_CH, COL_X_GF - 1, 42, 42 + 13, STR_NONE, STR_TILE_INSPECTOR_CLEARANCE_HEIGHT }, // Clearance height | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/tile_inspector.c:125:56: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_13, 1, COL_X_GF, COL_X_BF - 1, 42, 42 + 13, STR_NONE, STR_TILE_INSPECTOR_FLAG_GHOST }, // Ghost flag | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/tile_inspector.c:126:56: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_13, 1, COL_X_BF, COL_X_LF - 1, 42, 42 + 13, STR_NONE, STR_TILE_INSPECTOR_FLAG_BROKEN }, // Broken flag | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/tile_inspector.c:127:51: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_13, 1, COL_X_LF, WW - 3, 42, 42 + 13, STR_NONE, STR_TILE_INSPECTOR_FLAG_LAST }, // Last of tile flag | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/tile_inspector.c:129:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/tile_inspector.c:682:15: error: assigning to 'char *' from 'const char [17]' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers] | |
type_name = "Scenery multiple"; | |
^ ~~~~~~~~~~~~~~~~~~ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5399: CMakeFiles/openrct2.dir/src/windows/tile_inspector.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/title_command_editor.c:17: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../input.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_command_editor.c:77:37: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
static title_command command = { 6, 0, 0 }; | |
^ | |
{} | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_command_editor.c:80:43: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 1, 0, WW-1, 0, WH-1, 0xFFFFFFFF, STR_NONE }, // panel / background | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_command_editor.c:81:44: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 1, 1, WW-2, 1, 14, STR_TITLE_COMMAND_EDITOR_TITLE, STR_WINDOW_TITLE_TIP }, // title bar | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_command_editor.c:82:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 1, WW-13, WW-3, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, // close x button | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_command_editor.c:83:51: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN, 1, WS, WW-WS-1, BY, BY+11, STR_NONE, STR_NONE }, // Command dropdown | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_command_editor.c:84:61: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, WW-WS-12, WW-WS-2, BY+1, BY+10, STR_DROPDOWN_GLYPH, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_command_editor.c:85:52: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TEXT_BOX, 1, WS, WW-WS-1, BY2, BY2+11, STR_NONE, STR_NONE }, // full textbox | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_command_editor.c:87:53: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TEXT_BOX, 1, WS, WS+WHA-4, BY2, BY2+11, STR_NONE, STR_NONE }, // x textbox | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_command_editor.c:88:56: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TEXT_BOX, 1, WS+WHA+3, WW-WS-1, BY2, BY2+11, STR_NONE, STR_NONE }, // y textbox | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_command_editor.c:90:51: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN, 1, 16, WW-17, BY2, BY2+11, STR_NONE, STR_NONE }, // Save dropdown | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_command_editor.c:91:60: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, WW-28, WW-18, BY2+1, BY2+10, STR_DROPDOWN_GLYPH, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_command_editor.c:93:63: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, WS+WHA+3, WW-WS-1, BY2-14, BY2-3, STR_TITLE_COMMAND_EDITOR_ACTION_GET_LOCATION, STR_NONE }, // Get location/zoom/etc | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_command_editor.c:95:55: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 10, 80, WH-21, WH-10, STR_OK, STR_NONE }, // OKAY | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_command_editor.c:96:59: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, WW-80, WW-10, WH-21, WH-10, STR_CANCEL, STR_NONE }, // Cancel | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_command_editor.c:98:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_command_editor.c:165:26: error: missing field 'y' initializer [-Werror,-Wmissing-field-initializers] | |
rct_xy16 mapCoord = { 0 }; | |
^ | |
18 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5423: CMakeFiles/openrct2.dir/src/windows/title_command_editor.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/title_editor.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_editor.c:145:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, WW-1, 0, WH2-1, 0xFFFFFFFF, STR_NONE }, // panel / background | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_editor.c:146:41: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, WW-2, 1, 14, STR_TITLE_EDITOR_TITLE, STR_WINDOW_TITLE_TIP }, // title bar | |
^~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_editor.c:147:45: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, WW-13, WW-3, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, // close button | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_editor.c:148:43: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_RESIZE, 1, 0, WW-1, 43, WH2-1, 0xFFFFFFFF, STR_NONE }, // tab content panel | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_editor.c:149:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 3, 33, 17, 43, 0x20000000 | SPR_TAB, STR_THEMES_TAB_SETTINGS_TIP }, // presets tab | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_editor.c:150:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 34, 64, 17, 43, 0x20000000 | SPR_TAB, STR_TITLE_EDITOR_SAVES_TAB_TIP }, // saves tab | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_editor.c:151:39: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 65, 95, 17, 43, 0x20000000 | SPR_TAB, STR_TITLE_EDITOR_SCRIPT_TAB_TIP }, // script tab | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_editor.c:152:46: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SCROLL, 1, BX+BW+9,WW-4, 48, WH-4, SCROLL_BOTH, STR_NONE }, // command/save list | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_editor.c:155:43: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN, 1, 125, 299, 60, 71, STR_NONE, STR_NONE }, // Preset title sequences | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_editor.c:156:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 288, 298, 61, 70, STR_DROPDOWN_GLYPH, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_editor.c:157:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 10, 100, 82, 93, STR_TITLE_EDITOR_ACTION_CREATE, STR_TITLE_EDITOR_ACTION_CREATE_SEQUENCE_TIP }, // Create button | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_editor.c:158:52: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 10, 100, 82+20, 93+20, STR_TITLE_EDITOR_ACTION_DUPLICATE, STR_TITLE_EDITOR_ACTION_DUPLICATE_SEQUENCE_TIP }, // Duplicate button | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_editor.c:159:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 110, 200, 82, 93, STR_TRACK_MANAGE_DELETE, STR_TITLE_EDITOR_ACTION_DELETE_SEQUENCE_TIP }, // Delete button | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_editor.c:160:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, 210, 300, 82, 93, STR_TRACK_MANAGE_RENAME, STR_TITLE_EDITOR_ACTION_RENAME_SEQUENCE_TIP }, // Rename button | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_editor.c:163:53: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, BX, BX+BW-1,BY, BH, STR_TITLE_EDITOR_ACTION_ADD, STR_TITLE_EDITOR_ACTION_ADD_TIP }, // Add | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_editor.c:164:63: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, BX, BX+BW-1,BY+(BS*1), BH+(BS*1), STR_TITLE_EDITOR_ACTION_REMOVE, STR_TITLE_EDITOR_ACTION_REMOVE_TIP }, // Remove | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_editor.c:165:63: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 1, BX, BX+BW-1,BY+(BS*2), BH+(BS*2), STR_TRACK_MANAGE_RENAME, STR_TITLE_EDITOR_ACTION_RENAME_TIP }, // Rename | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5447: CMakeFiles/openrct2.dir/src/windows/title_editor.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/title_exit.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_exit.c:27:33: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_IMGBTN, 2, 0, 39, 0, 63, SPR_MENU_EXIT, STR_EXIT }, | |
^~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_exit.c:28:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
4 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5471: CMakeFiles/openrct2.dir/src/windows/title_exit.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/title_logo.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_logo.c:23:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
3 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5495: CMakeFiles/openrct2.dir/src/windows/title_logo.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/title_menu.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_menu.c:38:32: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_IMGBTN, 2, 0, 0, 0, 81, SPR_MENU_NEW_GAME, STR_START_NEW_GAME_TIP }, | |
^~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_menu.c:39:32: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_IMGBTN, 2, 0, 0, 0, 81, SPR_MENU_LOAD_GAME, STR_CONTINUE_SAVED_GAME_TIP }, | |
^~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_menu.c:40:32: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_IMGBTN, 2, 0, 0, 0, 81, SPR_G2_MENU_MULTIPLAYER, STR_SHOW_MULTIPLAYER_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_menu.c:41:32: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_IMGBTN, 2, 0, 0, 0, 81, SPR_MENU_TUTORIAL, STR_SHOW_TUTORIAL_TIP }, | |
^~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_menu.c:42:32: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_IMGBTN, 2, 0, 0, 0, 81, SPR_MENU_TOOLBOX, STR_GAME_TOOLS_TIP }, | |
^~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_menu.c:43:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
8 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5519: CMakeFiles/openrct2.dir/src/windows/title_menu.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/title_options.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_options.c:26:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 2, 0, 79, 0, 11, STR_OPTIONS, STR_OPTIONS_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_options.c:27:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
4 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5543: CMakeFiles/openrct2.dir/src/windows/title_options.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/title_scenarioselect.c:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_scenarioselect.c:70:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 733, 0, 333, 0xFFFFFFFF, STR_NONE }, // panel / background | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_scenarioselect.c:71:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 732, 1, 14, STR_SELECT_SCENARIO, STR_WINDOW_TITLE_TIP }, // title bar | |
^~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_scenarioselect.c:72:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 721, 731, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, // close x button | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_scenarioselect.c:73:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_IMGBTN, 1, 0, 733, 50, 333, 0xFFFFFFFF, STR_NONE }, // tab content panel | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_scenarioselect.c:74:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 3, 93, 17, 50, 0x20000000 | SPR_TAB_LARGE, STR_NONE }, // tab 1 | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_scenarioselect.c:75:37: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 94, 184, 17, 50, 0x20000000 | SPR_TAB_LARGE, STR_NONE }, // tab 2 | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_scenarioselect.c:76:37: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 185, 275, 17, 50, 0x20000000 | SPR_TAB_LARGE, STR_NONE }, // tab 3 | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_scenarioselect.c:77:37: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 276, 366, 17, 50, 0x20000000 | SPR_TAB_LARGE, STR_NONE }, // tab 4 | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_scenarioselect.c:78:37: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 367, 457, 17, 50, 0x20000000 | SPR_TAB_LARGE, STR_NONE }, // tab 5 | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_scenarioselect.c:79:37: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 458, 593, 17, 50, 0x20000000 | SPR_TAB_LARGE, STR_NONE }, // tab 6 | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_scenarioselect.c:80:37: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 594, 684, 17, 50, 0x20000000 | SPR_TAB_LARGE, STR_NONE }, // tab 7 | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_scenarioselect.c:81:37: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TAB, 1, 685, 775, 17, 50, 0x20000000 | SPR_TAB_LARGE, STR_NONE }, // tab 8 | |
^~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_scenarioselect.c:82:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SCROLL, 1, 3, 555, 54, 329, SCROLL_VERTICAL, STR_NONE }, // level list | |
^~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_scenarioselect.c:83:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_scenarioselect.c:489:23: error: cast from 'const char *' to 'char *' drops const qualifier [-Werror,-Wcast-qual] | |
safe_strcpy((char*)language_get_string(placeholderStringId), scenario->name, 64); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/title_scenarioselect.c:507:24: error: cast from 'const char *' to 'char *' drops const qualifier [-Werror,-Wcast-qual] | |
safe_strcpy((char*)language_get_string(placeholderStringId), completedByName, 64); | |
^ | |
18 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5567: CMakeFiles/openrct2.dir/src/windows/title_scenarioselect.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/tooltip.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../input.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../drawing/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../drawing/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../drawing/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/tooltip.c:29:34: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_IMGBTN, 0, 0, 199, 0, 31, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/tooltip.c:30:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
4 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5591: CMakeFiles/openrct2.dir/src/windows/tooltip.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/top_toolbar.c:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/top_toolbar.c:178:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TRNBTN, 0, 0x0000, 0x001D, 0, 27, 0x20000000 | SPR_TOOLBAR_PAUSE, STR_PAUSE_GAME_TIP }, // Pause | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/top_toolbar.c:179:54: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TRNBTN, 0, 0x001E + 30, 0x003B + 30, 0, 27, 0x20000000 | SPR_TOOLBAR_FILE, STR_DISC_AND_GAME_OPTIONS_TIP }, // File menu | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/top_toolbar.c:180:54: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TRNBTN, 1, 0x0046 + 30, 0x0063 + 30, 0, 27, 0x20000000 | SPR_TOOLBAR_ZOOM_OUT, STR_ZOOM_OUT_TIP }, // Zoom out | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/top_toolbar.c:181:54: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TRNBTN, 1, 0x0064 + 30, 0x0081 + 30, 0, 27, 0x20000000 | SPR_TOOLBAR_ZOOM_IN, STR_ZOOM_IN_TIP }, // Zoom in | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/top_toolbar.c:182:54: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TRNBTN, 1, 0x0082 + 30, 0x009F + 30, 0, 27, 0x20000000 | SPR_TOOLBAR_ROTATE, STR_ROTATE_TIP }, // Rotate camera | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/top_toolbar.c:183:54: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TRNBTN, 1, 0x00A0 + 30, 0x00BD + 30, 0, 27, 0x20000000 | SPR_TOOLBAR_VIEW, STR_VIEW_OPTIONS_TIP }, // Transparancy menu | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/top_toolbar.c:184:54: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TRNBTN, 1, 0x00BE + 30, 0x00DB + 30, 0, 27, 0x20000000 | SPR_TOOLBAR_MAP, STR_SHOW_MAP_TIP }, // Map | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/top_toolbar.c:186:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TRNBTN, 2, 0x010B, 0x0128, 0, 27, 0x20000000 | SPR_TOOLBAR_LAND, STR_ADJUST_LAND_TIP }, // Land | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/top_toolbar.c:187:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TRNBTN, 2, 0x0129, 0x0146, 0, 27, 0x20000000 | SPR_TOOLBAR_WATER, STR_ADJUST_WATER_TIP }, // Water | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/top_toolbar.c:188:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TRNBTN, 2, 0x0147, 0x0164, 0, 27, 0x20000000 | SPR_TOOLBAR_SCENERY, STR_PLACE_SCENERY_TIP }, // Scenery | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/top_toolbar.c:189:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TRNBTN, 2, 0x0165, 0x0182, 0, 27, 0x20000000 | SPR_TOOLBAR_FOOTPATH, STR_BUILD_FOOTPATH_TIP }, // Path | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/top_toolbar.c:190:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TRNBTN, 2, 0x0183, 0x01A0, 0, 27, 0x20000000 | SPR_TOOLBAR_CONSTRUCT_RIDE, STR_BUILD_RIDE_TIP }, // Construct ride | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/top_toolbar.c:191:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TRNBTN, 3, 0x01EA, 0x0207, 0, 27, 0x20000000 | SPR_TOOLBAR_RIDES, STR_RIDES_IN_PARK_TIP }, // Rides | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/top_toolbar.c:192:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TRNBTN, 3, 0x0208, 0x0225, 0, 27, 0x20000000 | SPR_TOOLBAR_PARK, STR_PARK_INFORMATION_TIP }, // Park | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/top_toolbar.c:193:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TRNBTN, 3, 0x0226, 0x0243, 0, 27, 0x20000000 | SPR_TAB_TOOLBAR, STR_STAFF_TIP }, // Staff | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/top_toolbar.c:194:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TRNBTN, 3, 0x0230, 0x024D, 0, 27, 0x20000000 | SPR_TOOLBAR_GUESTS, STR_GUESTS_TIP }, // Guests | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/top_toolbar.c:195:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TRNBTN, 2, 0x0230, 0x024D, 0, 27, 0x20000000 | SPR_TOOLBAR_CLEAR_SCENERY, STR_CLEAR_SCENERY_TIP }, // Clear scenery | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5615: CMakeFiles/openrct2.dir/src/windows/top_toolbar.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/track_list.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/themes.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_list.c:42:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 599, 0, 399, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_list.c:43:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 598, 1, 14, STR_SELECT_DESIGN, STR_WINDOW_TITLE_TIP }, | |
^~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_list.c:44:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 587, 597, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_list.c:45:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_SCROLL, 0, 4, 221, 33, 395, SCROLL_VERTICAL, STR_CLICK_ON_DESIGN_TO_BUILD_IT_TIP }, | |
^~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_list.c:46:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 0, 224, 595, 18, 236, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_list.c:47:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 0, 574, 597, 374, 397, SPR_ROTATE_ARROW, STR_ROTATE_90_TIP }, | |
^~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_list.c:48:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 0, 574, 597, 350, 373, SPR_SCENERY, STR_TOGGLE_SCENERY_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_list.c:49:37: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_13, 0, 4, 221, 18, 29, STR_SELECT_OTHER_RIDE, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_list.c:50:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_list.c:571:17: error: comparison of integers of different signs: 'size_t' (aka 'unsigned int') and 'sint16' (aka 'short') [-Werror,-Wsign-compare] | |
if (listIndex == w->selected_list_item) { | |
~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_list.c:588:18: error: comparison of integers of different signs: 'size_t' (aka 'unsigned int') and 'sint16' (aka 'short') [-Werror,-Wsign-compare] | |
if (listIndex == w->selected_list_item) { | |
~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~ | |
13 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5639: CMakeFiles/openrct2.dir/src/windows/track_list.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/track_manage.c:17: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_manage.c:41:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 249, 0, 43, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_manage.c:42:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 248, 1, 14, 3155, STR_WINDOW_TITLE_TIP }, | |
^~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_manage.c:43:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 237, 247, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_manage.c:44:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 0, 10, 119, 24, 35, STR_TRACK_MANAGE_RENAME, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_manage.c:45:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 0, 130, 239, 24, 35, STR_TRACK_MANAGE_DELETE, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_manage.c:46:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END } | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_manage.c:50:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 249, 0, 73, STR_NONE, STR_NONE }, | |
^~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../localisation/string_ids.h:22:18: note: expanded from macro 'STR_NONE' | |
#define STR_NONE ((rct_string_id)-1) | |
^~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_manage.c:51:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 248, 1, 14, STR_DELETE_FILE, STR_WINDOW_TITLE_TIP }, | |
^~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_manage.c:52:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 237, 247, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_manage.c:53:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 0, 10, 119, 54, 65, STR_TRACK_MANAGE_DELETE, STR_NONE }, | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_manage.c:54:48: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 0, 130, 239, 54, 65, STR_CANCEL, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_manage.c:55:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END } | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_manage.c:170:23: error: cast from 'const char *' to 'char *' drops const qualifier [-Werror,-Wcast-qual] | |
utf8 *title = (utf8*)language_get_string(3155); | |
^ | |
15 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5663: CMakeFiles/openrct2.dir/src/windows/track_manage.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/track_place.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_place.c:47:38: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 199, 0, 123, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_place.c:48:40: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 198, 1, 14, 3155, STR_WINDOW_TITLE_TIP }, | |
^~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_place.c:49:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 187, 197, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_place.c:50:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 0, 173, 196, 83, 106, SPR_ROTATE_ARROW, STR_ROTATE_90_TIP }, | |
^~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_place.c:51:42: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 0, 173, 196, 59, 82, SPR_MIRROR_ARROW, STR_MIRROR_IMAGE_TIP }, | |
^~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_place.c:52:47: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_DROPDOWN_BUTTON, 0, 4, 195, 109, 120, STR_SELECT_A_DIFFERENT_DESIGN, STR_GO_BACK_TO_DESIGN_SELECTION_WINDOW_TIP }, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_place.c:53:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_EMPTY, 0, 0, 0, 0, 0, 0xFFFFFFFF, STR_NONE }, | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_place.c:54:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/track_place.c:172:23: error: cast from 'const char *' to 'char *' drops const qualifier [-Werror,-Wcast-qual] | |
char *title = (char*)language_get_string(3155); | |
^ | |
11 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5687: CMakeFiles/openrct2.dir/src/windows/track_place.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/viewport.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../audio/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/viewport.c:43:32: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 0, 0, 0, 0xFFFFFFFF, STR_NONE }, // panel / background | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/viewport.c:44:35: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 0, 1, 14, STR_VIEWPORT_NO, STR_WINDOW_TITLE_TIP }, // title bar | |
^~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/viewport.c:45:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 0, 0, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, // close x button | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/viewport.c:46:34: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_RESIZE, 1, 0, 0, 14, 0, 0xFFFFFFFF, STR_NONE }, // resize | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/viewport.c:47:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_VIEWPORT, 0, 3, 0, 17, 0, 0xFFFFFFFF, STR_NONE }, // viewport | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/viewport.c:49:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 0, 0, 0, 17, 40, SPR_G2_ZOOM_IN, STR_ZOOM_IN_TIP }, // zoom in | |
^~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/viewport.c:50:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 0, 0, 0, 41, 64, SPR_G2_ZOOM_OUT, STR_ZOOM_OUT_TIP }, // zoom out | |
^~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/viewport.c:51:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FLATBTN, 0, 0, 0, 65, 88, SPR_LOCATE, STR_LOCATE_SUBJECT_TIP }, // locate | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/viewport.c:52:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
11 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5711: CMakeFiles/openrct2.dir/src/windows/viewport.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/water.c:17: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../input.h:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/windows/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/water.c:38:32: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_FRAME, 0, 0, 75, 0, 76, 0xFFFFFFFF, STR_NONE }, // panel / background | |
^~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/water.c:39:34: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CAPTION, 0, 1, 74, 1, 14, STR_WATER, STR_WINDOW_TITLE_TIP }, // title bar | |
^~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/water.c:40:36: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_CLOSEBOX, 0, 63, 73, 2, 13, STR_CLOSE_X, STR_CLOSE_WINDOW_TIP }, // close x button | |
^~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/water.c:41:35: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_IMGBTN, 0, 16, 59, 17, 48, SPR_LAND_TOOL_SIZE_0, STR_NONE }, // preview box | |
^~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/water.c:42:35: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TRNBTN, 2, 17, 32, 18, 33, 0x20000000 | SPR_LAND_TOOL_DECREASE, STR_ADJUST_SMALLER_WATER_TIP }, // decrement size | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/water.c:43:35: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WWT_TRNBTN, 2, 43, 58, 32, 47, 0x20000000 | SPR_LAND_TOOL_INCREASE, STR_ADJUST_LARGER_WATER_TIP }, // increment size | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/windows/water.c:44:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ WIDGETS_END }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/windows/../interface/widget.h:52:47: note: expanded from macro 'WIDGETS_END' | |
#define WIDGETS_END WWT_LAST, 0, 0, 0, 0, 0, 0, 0 | |
^ | |
9 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5735: CMakeFiles/openrct2.dir/src/windows/water.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/balloon.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/../network/network.h:43: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/../network/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/../audio/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/world/../audio/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/world/../audio/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5759: CMakeFiles/openrct2.dir/src/world/balloon.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/banner.c:17: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/world/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/world/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/world/banner.c:133:16: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (i = 0; i < countof(NeighbourCheckOrder); i++) { | |
~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
3 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5783: CMakeFiles/openrct2.dir/src/world/banner.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/climate.c:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/../audio/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/world/../audio/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/world/../audio/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5807: CMakeFiles/openrct2.dir/src/world/climate.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/duck.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/../audio/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/world/../audio/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/world/../audio/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5831: CMakeFiles/openrct2.dir/src/world/duck.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/footpath.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/world/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/world/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/world/footpath.c:687:26: error: missing field 'y' initializer [-Werror,-Wmissing-field-initializers] | |
rct_xy16 position = { 0 }; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/world/footpath.c:761:25: error: missing field 'y' initializer [-Werror,-Wmissing-field-initializers] | |
rct_xy16 map_pos = { 0 }; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/world/footpath.c:981:30: error: cast from 'const void *' to 'struct rct_neighbour *' drops const qualifier [-Werror,-Wcast-qual] | |
uint8 va = ((rct_neighbour*)a)->order; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/world/footpath.c:982:30: error: cast from 'const void *' to 'struct rct_neighbour *' drops const qualifier [-Werror,-Wcast-qual] | |
uint8 vb = ((rct_neighbour*)b)->order; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/world/footpath.c:986:31: error: cast from 'const void *' to 'struct rct_neighbour *' drops const qualifier [-Werror,-Wcast-qual] | |
uint8 da = ((rct_neighbour*)a)->direction; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/world/footpath.c:987:31: error: cast from 'const void *' to 'struct rct_neighbour *' drops const qualifier [-Werror,-Wcast-qual] | |
uint8 db = ((rct_neighbour*)b)->direction; | |
^ | |
8 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5855: CMakeFiles/openrct2.dir/src/world/footpath.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/fountain.c:17: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/world/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/world/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5879: CMakeFiles/openrct2.dir/src/world/fountain.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/map.c:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/world/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/world/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/world/map.c:1917:41: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
if (selectionType < 0 || selectionType >= countof(map_element_raise_styles)) | |
~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/world/map.c:5263:20: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
nameChunkOffset = min(nameChunkOffset, countof(newName) - 12); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/world/../rct2.h:73:36: note: expanded from macro 'min' | |
#define min(a,b) (((a) < (b)) ? (a) : (b)) | |
~ ^ ~ | |
/home/janisozaur/workspace/OpenRCT2/src/world/map.c:5321:20: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
nameChunkOffset = min(nameChunkOffset, countof(newName) - 12); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/world/../rct2.h:73:36: note: expanded from macro 'min' | |
#define min(a,b) (((a) < (b)) ? (a) : (b)) | |
~ ^ ~ | |
5 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5903: CMakeFiles/openrct2.dir/src/world/map.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/map_animation.c:17: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/world/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/world/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5927: CMakeFiles/openrct2.dir/src/world/map_animation.c.o] Error 1 | |
/home/janisozaur/workspace/OpenRCT2/src/world/mapgen.c:262:17: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (j = 0; j < countof(GrassTrees); j++) | |
~ ^ ~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/world/mapgen.c:270:17: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (j = 0; j < countof(DesertTrees); j++) | |
~ ^ ~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/world/mapgen.c:278:17: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (j = 0; j < countof(SnowTrees); j++) | |
~ ^ ~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/world/mapgen.c:654:20: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
for (int i = 0; i < countof(perm); i++) | |
~ ^ ~~~~~~~~~~~~~ | |
4 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5975: CMakeFiles/openrct2.dir/src/world/mapgen.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/money_effect.c:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/world/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/world/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:5999: CMakeFiles/openrct2.dir/src/world/money_effect.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/park.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/world/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/world/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/world/park.c:890:57: error: cast from 'const char *' to 'int *' drops const qualifier [-Werror,-Wcast-qual] | |
game_do_command(1, GAME_COMMAND_FLAG_APPLY, 0, *((int*)(name + 0)), GAME_COMMAND_SET_PARK_NAME, *((int*)(name + 8)), *((int*)(name + 4))); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/world/park.c:890:106: error: cast from 'const char *' to 'int *' drops const qualifier [-Werror,-Wcast-qual] | |
game_do_command(1, GAME_COMMAND_FLAG_APPLY, 0, *((int*)(name + 0)), GAME_COMMAND_SET_PARK_NAME, *((int*)(name + 8)), *((int*)(name + 4))); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/world/park.c:890:127: error: cast from 'const char *' to 'int *' drops const qualifier [-Werror,-Wcast-qual] | |
game_do_command(1, GAME_COMMAND_FLAG_APPLY, 0, *((int*)(name + 0)), GAME_COMMAND_SET_PARK_NAME, *((int*)(name + 8)), *((int*)(name + 4))); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/world/park.c:891:57: error: cast from 'const char *' to 'int *' drops const qualifier [-Werror,-Wcast-qual] | |
game_do_command(2, GAME_COMMAND_FLAG_APPLY, 0, *((int*)(name + 12)), GAME_COMMAND_SET_PARK_NAME, *((int*)(name + 20)), *((int*)(name + 16))); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/world/park.c:891:107: error: cast from 'const char *' to 'int *' drops const qualifier [-Werror,-Wcast-qual] | |
game_do_command(2, GAME_COMMAND_FLAG_APPLY, 0, *((int*)(name + 12)), GAME_COMMAND_SET_PARK_NAME, *((int*)(name + 20)), *((int*)(name + 16))); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/world/park.c:891:129: error: cast from 'const char *' to 'int *' drops const qualifier [-Werror,-Wcast-qual] | |
game_do_command(2, GAME_COMMAND_FLAG_APPLY, 0, *((int*)(name + 12)), GAME_COMMAND_SET_PARK_NAME, *((int*)(name + 20)), *((int*)(name + 16))); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/world/park.c:892:57: error: cast from 'const char *' to 'int *' drops const qualifier [-Werror,-Wcast-qual] | |
game_do_command(0, GAME_COMMAND_FLAG_APPLY, 0, *((int*)(name + 24)), GAME_COMMAND_SET_PARK_NAME, *((int*)(name + 32)), *((int*)(name + 28))); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/world/park.c:892:107: error: cast from 'const char *' to 'int *' drops const qualifier [-Werror,-Wcast-qual] | |
game_do_command(0, GAME_COMMAND_FLAG_APPLY, 0, *((int*)(name + 24)), GAME_COMMAND_SET_PARK_NAME, *((int*)(name + 32)), *((int*)(name + 28))); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/world/park.c:892:129: error: cast from 'const char *' to 'int *' drops const qualifier [-Werror,-Wcast-qual] | |
game_do_command(0, GAME_COMMAND_FLAG_APPLY, 0, *((int*)(name + 24)), GAME_COMMAND_SET_PARK_NAME, *((int*)(name + 32)), *((int*)(name + 28))); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/world/park.c:913:21: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare] | |
nameChunkOffset = min(nameChunkOffset, countof(newName) - 12); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/world/../rct2.h:73:36: note: expanded from macro 'min' | |
#define min(a,b) (((a) < (b)) ? (a) : (b)) | |
~ ^ ~ | |
12 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:6023: CMakeFiles/openrct2.dir/src/world/park.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/particle.c:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/world/../audio/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/world/../audio/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:6047: CMakeFiles/openrct2.dir/src/world/particle.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/scenery.c:17: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/world/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/world/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/world/scenery.c:68:5: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 7, 7 }, | |
^~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/world/scenery.c:68:5: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 7, 7 }, | |
^~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/world/scenery.c:69:5: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 7, 23 }, | |
^~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/world/scenery.c:69:5: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 7, 23 }, | |
^~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/world/scenery.c:70:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 23, 23 }, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/world/scenery.c:70:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 23, 23 }, | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/world/scenery.c:71:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 23, 7 } | |
^~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/world/scenery.c:71:4: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 23, 7 } | |
^~~~~~ | |
{ } | |
10 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:6071: CMakeFiles/openrct2.dir/src/world/scenery.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/sprite.c:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/world/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/world/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:6095: CMakeFiles/openrct2.dir/src/world/sprite.c.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/cmdline/ConvertCommand.cpp:26: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/cmdline/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/cmdline/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/cmdline/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/cmdline/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:6167: CMakeFiles/openrct2.dir/src/cmdline/ConvertCommand.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/cmdline/RootCommands.cpp:30: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/cmdline/../network/network.h:43: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/cmdline/../network/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/cmdline/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/cmdline/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/cmdline/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/cmdline/RootCommands.cpp:30: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/cmdline/../network/network.h:71: | |
/home/janisozaur/workspace/OpenRCT2/src/cmdline/../network/../core/Json.hpp:36:35: error: missing field 'column' initializer [-Werror,-Wmissing-field-initializers] | |
json_error_t _jsonError = { 0 }; | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/cmdline/RootCommands.cpp:30: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/cmdline/../network/network.h:77: | |
/home/janisozaur/workspace/OpenRCT2/src/cmdline/../network/NetworkPlayer.h:41:43: error: missing field 'y' initializer [-Werror,-Wmissing-field-initializers] | |
rct_xyz16 last_action_coord = { 0 }; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/cmdline/RootCommands.cpp:126:5: error: missing field 'Func' initializer [-Werror,-Wmissing-field-initializers] | |
CommandTableEnd | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/cmdline/CommandLine.hpp:96:50: note: expanded from macro 'CommandTableEnd' | |
#define CommandTableEnd { NULL, NULL, NULL, NULL } | |
^ | |
5 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:6191: CMakeFiles/openrct2.dir/src/cmdline/RootCommands.cpp.o] Error 1 | |
/home/janisozaur/workspace/OpenRCT2/src/cmdline/ScreenshotCommands.cpp:31:5: error: missing field 'Func' initializer [-Werror,-Wmissing-field-initializers] | |
CommandTableEnd | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/cmdline/CommandLine.hpp:96:50: note: expanded from macro 'CommandTableEnd' | |
#define CommandTableEnd { NULL, NULL, NULL, NULL } | |
^ | |
1 error generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:6215: CMakeFiles/openrct2.dir/src/cmdline/ScreenshotCommands.cpp.o] Error 1 | |
/home/janisozaur/workspace/OpenRCT2/src/cmdline/SpriteCommands.cpp:48:5: error: missing field 'Func' initializer [-Werror,-Wmissing-field-initializers] | |
CommandTableEnd | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/cmdline/CommandLine.hpp:96:50: note: expanded from macro 'CommandTableEnd' | |
#define CommandTableEnd { NULL, NULL, NULL, NULL } | |
^ | |
1 error generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:6239: CMakeFiles/openrct2.dir/src/cmdline/SpriteCommands.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/core/Json.cpp:18: | |
/home/janisozaur/workspace/OpenRCT2/src/core/Json.hpp:36:35: error: missing field 'column' initializer [-Werror,-Wmissing-field-initializers] | |
json_error_t _jsonError = { 0 }; | |
^ | |
1 error generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:6383: CMakeFiles/openrct2.dir/src/core/Json.cpp.o] Error 1 | |
/home/janisozaur/workspace/OpenRCT2/src/core/String.cpp:144:39: error: format string is not a string literal [-Werror,-Wformat-nonliteral] | |
vsnprintf(buffer, bufferSize, format, args); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/core/String.cpp:168:51: error: format string is not a string literal [-Werror,-Wformat-nonliteral] | |
vsnprintf(buffer, bufferSize - i - 1, format, args); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:6479: CMakeFiles/openrct2.dir/src/core/String.cpp.o] Error 1 | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/Image.cpp:153:43: error: missing field 'width' initializer [-Werror,-Wmissing-field-initializers] | |
g1Elements[imageId] = { 0 }; | |
^ | |
1 error generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:6503: CMakeFiles/openrct2.dir/src/drawing/Image.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/drawing/Rain.cpp:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/drawing/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:6551: CMakeFiles/openrct2.dir/src/drawing/Rain.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/drawing/engines/SoftwareDrawingEngine.cpp:28: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/drawing/engines/../../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/drawing/engines/../../core/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/../../core/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/../../core/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/SoftwareDrawingEngine.cpp:210:35: error: missing field 'BlockShiftY' initializer [-Werror,-Wmissing-field-initializers] | |
DirtyGrid _dirtyGrid = { 0 }; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/SoftwareDrawingEngine.cpp:212:39: error: missing field 'x' initializer [-Werror,-Wmissing-field-initializers] | |
rct_drawpixelinfo _bitsDPI = { 0 }; | |
^ | |
4 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:6599: CMakeFiles/openrct2.dir/src/drawing/engines/SoftwareDrawingEngine.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/DrawImageShader.cpp:19: | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/DrawImageShader.h:59:15: error: private field '_palette' is not used [-Werror,-Wunused-private-field] | |
SDL_Color _palette[256]; | |
^ | |
1 error generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:6647: CMakeFiles/openrct2.dir/src/drawing/engines/opengl/DrawImageShader.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/OpenGLDrawingEngine.cpp:40: | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/TextureCache.h:167:13: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
_imageSize * col, | |
^~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/TextureCache.h:168:13: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
_imageSize * row, | |
^~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/TextureCache.h:169:13: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
_imageSize * col + actualWidth, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/TextureCache.h:170:13: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
_imageSize * row + actualHeight, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/TextureCache.h:178:13: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
coords.x / (float) _atlasWidth, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/TextureCache.h:179:13: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
coords.y / (float) _atlasHeight, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/TextureCache.h:180:13: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
coords.z / (float) _atlasWidth, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/TextureCache.h:181:13: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
coords.w / (float) _atlasHeight | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/OpenGLDrawingEngine.cpp:56: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/../../../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/../../../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/../../../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/OpenGLDrawingEngine.cpp:71:7: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 0.7f, 0.8f, 0.8f }, // 44 | |
^~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/OpenGLDrawingEngine.cpp:71:13: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 0.7f, 0.8f, 0.8f }, // 44 | |
^~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/OpenGLDrawingEngine.cpp:71:19: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 0.7f, 0.8f, 0.8f }, // 44 | |
^~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/OpenGLDrawingEngine.cpp:72:7: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 0.7f, 0.8f, 0.8f }, | |
^~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/OpenGLDrawingEngine.cpp:72:13: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 0.7f, 0.8f, 0.8f }, | |
^~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/OpenGLDrawingEngine.cpp:72:19: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 0.7f, 0.8f, 0.8f }, | |
^~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/OpenGLDrawingEngine.cpp:73:7: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 0.3f, 0.4f, 0.4f }, | |
^~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/OpenGLDrawingEngine.cpp:73:13: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 0.3f, 0.4f, 0.4f }, | |
^~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/OpenGLDrawingEngine.cpp:73:19: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
{ 0.3f, 0.4f, 0.4f }, | |
^~~~ | |
{ } | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:6743: CMakeFiles/openrct2.dir/src/drawing/engines/opengl/OpenGLDrawingEngine.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/TextureCache.cpp:22: | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/TextureCache.h:167:13: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
_imageSize * col, | |
^~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/TextureCache.h:168:13: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
_imageSize * row, | |
^~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/TextureCache.h:169:13: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
_imageSize * col + actualWidth, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/TextureCache.h:170:13: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
_imageSize * row + actualHeight, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/TextureCache.h:178:13: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
coords.x / (float) _atlasWidth, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/TextureCache.h:179:13: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
coords.y / (float) _atlasHeight, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/TextureCache.h:180:13: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
coords.z / (float) _atlasWidth, | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/TextureCache.h:181:13: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
coords.w / (float) _atlasHeight | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
{ } | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/TextureCache.cpp:200:24: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] | |
_atlases.push_back(std::move(Atlas(atlasIndex, atlasSize))); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/drawing/engines/opengl/TextureCache.cpp:200:24: note: remove std::move call here | |
_atlases.push_back(std::move(Atlas(atlasIndex, atlasSize))); | |
^~~~~~~~~~ ~ | |
9 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:6839: CMakeFiles/openrct2.dir/src/drawing/engines/opengl/TextureCache.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/Theme.cpp:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/themes.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/Theme.cpp:27: | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../core/Json.hpp:36:35: error: missing field 'column' initializer [-Werror,-Wmissing-field-initializers] | |
json_error_t _jsonError = { 0 }; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/Theme.cpp:201:5: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
THEME_DEF_END | |
^~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/Theme.cpp:110:33: note: expanded from macro 'THEME_DEF_END' | |
#define THEME_DEF_END { 0xFF, { 0, 0, 0, 0, 0, 0 } } | |
^~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/Theme.cpp:206:5: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
THEME_DEF_END | |
^~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/Theme.cpp:110:33: note: expanded from macro 'THEME_DEF_END' | |
#define THEME_DEF_END { 0xFF, { 0, 0, 0, 0, 0, 0 } } | |
^~~~~~~~~~~~~~~~ | |
5 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:6863: CMakeFiles/openrct2.dir/src/interface/Theme.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/localisation/LanguagePack.cpp:29: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/localisation/LanguagePack.h:29: | |
/home/janisozaur/workspace/OpenRCT2/src/localisation/../core/StringReader.hpp:24:11: error: 'IStringReader' has virtual functions but non-virtual destructor [-Werror,-Wnon-virtual-dtor] | |
interface IStringReader | |
^ | |
1 error generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:6887: CMakeFiles/openrct2.dir/src/localisation/LanguagePack.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/localisation/language.cpp:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/localisation/LanguagePack.h:29: | |
/home/janisozaur/workspace/OpenRCT2/src/localisation/../core/StringReader.hpp:24:11: error: 'IStringReader' has virtual functions but non-virtual destructor [-Werror,-Wnon-virtual-dtor] | |
interface IStringReader | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/localisation/language.cpp:169:21: error: format string is not a string literal [-Werror,-Wformat-nonliteral] | |
sprintf(filename, languagePath, dataPath, LanguagesDescriptors[LANGUAGE_ENGLISH_UK].locale); | |
^~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/localisation/language.cpp:173:20: error: format string is not a string literal [-Werror,-Wformat-nonliteral] | |
sprintf(filename, languagePath, dataPath, LanguagesDescriptors[id].locale); | |
^~~~~~~~~~~~ | |
3 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:6911: CMakeFiles/openrct2.dir/src/localisation/language.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/NetworkAction.cpp:24: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/network/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/network/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:6935: CMakeFiles/openrct2.dir/src/network/NetworkAction.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/NetworkConnection.cpp:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/network.h:43: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/network/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/network/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/NetworkConnection.cpp:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/network.h:71: | |
/home/janisozaur/workspace/OpenRCT2/src/network/../core/Json.hpp:36:35: error: missing field 'column' initializer [-Werror,-Wmissing-field-initializers] | |
json_error_t _jsonError = { 0 }; | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/NetworkConnection.cpp:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/network.h:77: | |
/home/janisozaur/workspace/OpenRCT2/src/network/NetworkPlayer.h:41:43: error: missing field 'y' initializer [-Werror,-Wmissing-field-initializers] | |
rct_xyz16 last_action_coord = { 0 }; | |
^ | |
4 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:6959: CMakeFiles/openrct2.dir/src/network/NetworkConnection.cpp.o] Error 1 | |
/home/janisozaur/workspace/OpenRCT2/src/network/NetworkGroup.cpp:26:21: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces] | |
ActionsAllowed = { 0 }; | |
^ | |
{} | |
1 error generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:6983: CMakeFiles/openrct2.dir/src/network/NetworkGroup.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/NetworkPlayer.cpp:20: | |
/home/janisozaur/workspace/OpenRCT2/src/network/NetworkPlayer.h:41:43: error: missing field 'y' initializer [-Werror,-Wmissing-field-initializers] | |
rct_xyz16 last_action_coord = { 0 }; | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/NetworkPlayer.cpp:24: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/network/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/network/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
3 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:7055: CMakeFiles/openrct2.dir/src/network/NetworkPlayer.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/NetworkServerAdvertiser.cpp:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/network.h:43: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/../core/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/network/../core/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/network/../core/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/NetworkServerAdvertiser.cpp:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/network.h:71: | |
/home/janisozaur/workspace/OpenRCT2/src/network/../core/Json.hpp:36:35: error: missing field 'column' initializer [-Werror,-Wmissing-field-initializers] | |
json_error_t _jsonError = { 0 }; | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/NetworkServerAdvertiser.cpp:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/network.h:77: | |
/home/janisozaur/workspace/OpenRCT2/src/network/NetworkPlayer.h:41:43: error: missing field 'y' initializer [-Werror,-Wmissing-field-initializers] | |
rct_xyz16 last_action_coord = { 0 }; | |
^ | |
4 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:7079: CMakeFiles/openrct2.dir/src/network/NetworkServerAdvertiser.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/NetworkUser.cpp:22: | |
/home/janisozaur/workspace/OpenRCT2/src/network/../core/Json.hpp:36:35: error: missing field 'column' initializer [-Werror,-Wmissing-field-initializers] | |
json_error_t _jsonError = { 0 }; | |
^ | |
1 error generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:7103: CMakeFiles/openrct2.dir/src/network/NetworkUser.cpp.o] Error 1 | |
/home/janisozaur/workspace/OpenRCT2/src/network/TcpSocket.cpp:427:30: error: missing field 'ai_family' initializer [-Werror,-Wmissing-field-initializers] | |
addrinfo hints = { 0 }; | |
^ | |
1 error generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:7127: CMakeFiles/openrct2.dir/src/network/TcpSocket.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:31: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/network.h:43: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/network/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/network/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:31: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/network.h:71: | |
/home/janisozaur/workspace/OpenRCT2/src/network/../core/Json.hpp:36:35: error: missing field 'column' initializer [-Werror,-Wmissing-field-initializers] | |
json_error_t _jsonError = { 0 }; | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:31: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/network.h:77: | |
/home/janisozaur/workspace/OpenRCT2/src/network/NetworkPlayer.h:41:43: error: missing field 'y' initializer [-Werror,-Wmissing-field-initializers] | |
rct_xyz16 last_action_coord = { 0 }; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:556:22: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] | |
(*it)->QueuePacket(std::move(NetworkPacket::Duplicate(packet)), front); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:556:22: note: remove std::move call here | |
(*it)->QueuePacket(std::move(NetworkPacket::Duplicate(packet)), front); | |
^~~~~~~~~~ ~ | |
/home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:833:42: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] | |
std::unique_ptr<NetworkPacket> packet = std::move(NetworkPacket::Allocate()); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:833:42: note: remove std::move call here | |
std::unique_ptr<NetworkPacket> packet = std::move(NetworkPacket::Allocate()); | |
^~~~~~~~~~ ~ | |
/home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:841:42: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] | |
std::unique_ptr<NetworkPacket> packet = std::move(NetworkPacket::Allocate()); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:841:42: note: remove std::move call here | |
std::unique_ptr<NetworkPacket> packet = std::move(NetworkPacket::Allocate()); | |
^~~~~~~~~~ ~ | |
/home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:856:42: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] | |
std::unique_ptr<NetworkPacket> packet = std::move(NetworkPacket::Allocate()); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:856:42: note: remove std::move call here | |
std::unique_ptr<NetworkPacket> packet = std::move(NetworkPacket::Allocate()); | |
^~~~~~~~~~ ~ | |
/home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:868:42: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] | |
std::unique_ptr<NetworkPacket> packet = std::move(NetworkPacket::Allocate()); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:868:42: note: remove std::move call here | |
std::unique_ptr<NetworkPacket> packet = std::move(NetworkPacket::Allocate()); | |
^~~~~~~~~~ ~ | |
/home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:934:43: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] | |
std::unique_ptr<NetworkPacket> packet = std::move(NetworkPacket::Allocate()); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:934:43: note: remove std::move call here | |
std::unique_ptr<NetworkPacket> packet = std::move(NetworkPacket::Allocate()); | |
^~~~~~~~~~ ~ | |
/home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:949:42: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] | |
std::unique_ptr<NetworkPacket> packet = std::move(NetworkPacket::Allocate()); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:949:42: note: remove std::move call here | |
std::unique_ptr<NetworkPacket> packet = std::move(NetworkPacket::Allocate()); | |
^~~~~~~~~~ ~ | |
/home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:957:42: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] | |
std::unique_ptr<NetworkPacket> packet = std::move(NetworkPacket::Allocate()); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:957:42: note: remove std::move call here | |
std::unique_ptr<NetworkPacket> packet = std::move(NetworkPacket::Allocate()); | |
^~~~~~~~~~ ~ | |
/home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:965:42: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] | |
std::unique_ptr<NetworkPacket> packet = std::move(NetworkPacket::Allocate()); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:965:42: note: remove std::move call here | |
std::unique_ptr<NetworkPacket> packet = std::move(NetworkPacket::Allocate()); | |
^~~~~~~~~~ ~ | |
/home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:973:42: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] | |
std::unique_ptr<NetworkPacket> packet = std::move(NetworkPacket::Allocate()); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:973:42: note: remove std::move call here | |
std::unique_ptr<NetworkPacket> packet = std::move(NetworkPacket::Allocate()); | |
^~~~~~~~~~ ~ | |
/home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:982:42: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] | |
std::unique_ptr<NetworkPacket> packet = std::move(NetworkPacket::Allocate()); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:982:42: note: remove std::move call here | |
std::unique_ptr<NetworkPacket> packet = std::move(NetworkPacket::Allocate()); | |
^~~~~~~~~~ ~ | |
/home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:1005:42: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] | |
std::unique_ptr<NetworkPacket> packet = std::move(NetworkPacket::Allocate()); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:1005:42: note: remove std::move call here | |
std::unique_ptr<NetworkPacket> packet = std::move(NetworkPacket::Allocate()); | |
^~~~~~~~~~ ~ | |
/home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:1015:42: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] | |
std::unique_ptr<NetworkPacket> packet = std::move(NetworkPacket::Allocate()); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:1015:42: note: remove std::move call here | |
std::unique_ptr<NetworkPacket> packet = std::move(NetworkPacket::Allocate()); | |
^~~~~~~~~~ ~ | |
/home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:1023:42: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] | |
std::unique_ptr<NetworkPacket> packet = std::move(NetworkPacket::Allocate()); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:1023:42: note: remove std::move call here | |
std::unique_ptr<NetworkPacket> packet = std::move(NetworkPacket::Allocate()); | |
^~~~~~~~~~ ~ | |
/home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:1033:42: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] | |
std::unique_ptr<NetworkPacket> packet = std::move(NetworkPacket::Allocate()); | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/network/network.cpp:1033:42: note: remove std::move call here | |
std::unique_ptr<NetworkPacket> packet = std::move(NetworkPacket::Allocate()); | |
^~~~~~~~~~ ~ | |
fatal error: too many errors emitted, stopping now [-ferror-limit=] | |
20 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:7175: CMakeFiles/openrct2.dir/src/network/network.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/twitch.cpp:40: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/../core/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/network/../core/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/network/../core/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/network/twitch.cpp:82:41: error: missing field 'IsFollower' initializer [-Werror,-Wmissing-field-initializers] | |
AudienceMember member = { 0 }; | |
^ | |
3 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:7199: CMakeFiles/openrct2.dir/src/network/twitch.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/BannerObject.cpp:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/BannerObject.h:19: | |
/home/janisozaur/workspace/OpenRCT2/src/object/SceneryObject.h:24:57: error: missing field 'name' initializer [-Werror,-Wmissing-field-initializers] | |
rct_object_entry _primarySceneryGroupEntry = { 0 }; | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/BannerObject.cpp:19: | |
/home/janisozaur/workspace/OpenRCT2/src/object/BannerObject.h:29:43: error: missing field 'image' initializer [-Werror,-Wmissing-field-initializers] | |
rct_scenery_entry _legacyType = { 0 }; | |
^ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:7223: CMakeFiles/openrct2.dir/src/object/BannerObject.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/EntranceObject.cpp:18: | |
/home/janisozaur/workspace/OpenRCT2/src/object/EntranceObject.h:29:41: error: missing field 'image_id' initializer [-Werror,-Wmissing-field-initializers] | |
rct_entrance_type _legacyType = { 0 }; | |
^ | |
1 error generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:7247: CMakeFiles/openrct2.dir/src/object/EntranceObject.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/FootpathItemObject.cpp:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/FootpathItemObject.h:19: | |
/home/janisozaur/workspace/OpenRCT2/src/object/SceneryObject.h:24:57: error: missing field 'name' initializer [-Werror,-Wmissing-field-initializers] | |
rct_object_entry _primarySceneryGroupEntry = { 0 }; | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/FootpathItemObject.cpp:18: | |
/home/janisozaur/workspace/OpenRCT2/src/object/FootpathItemObject.h:29:43: error: missing field 'image' initializer [-Werror,-Wmissing-field-initializers] | |
rct_scenery_entry _legacyType = { 0 }; | |
^ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:7271: CMakeFiles/openrct2.dir/src/object/FootpathItemObject.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/FootpathObject.cpp:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/FootpathObject.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/../world/footpath.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/../world/../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/../world/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/object/../world/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/object/../world/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/FootpathObject.cpp:18: | |
/home/janisozaur/workspace/OpenRCT2/src/object/FootpathObject.h:29:42: error: missing field 'image' initializer [-Werror,-Wmissing-field-initializers] | |
rct_footpath_entry _legacyType = { 0 }; | |
^ | |
3 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:7295: CMakeFiles/openrct2.dir/src/object/FootpathObject.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/LargeSceneryObject.cpp:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/LargeSceneryObject.h:19: | |
/home/janisozaur/workspace/OpenRCT2/src/object/SceneryObject.h:24:57: error: missing field 'name' initializer [-Werror,-Wmissing-field-initializers] | |
rct_object_entry _primarySceneryGroupEntry = { 0 }; | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/LargeSceneryObject.cpp:19: | |
/home/janisozaur/workspace/OpenRCT2/src/object/LargeSceneryObject.h:29:51: error: missing field 'image' initializer [-Werror,-Wmissing-field-initializers] | |
rct_scenery_entry _legacyType = { 0 }; | |
^ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:7343: CMakeFiles/openrct2.dir/src/object/LargeSceneryObject.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/ObjectFactory.cpp:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/BannerObject.h:19: | |
/home/janisozaur/workspace/OpenRCT2/src/object/SceneryObject.h:24:57: error: missing field 'name' initializer [-Werror,-Wmissing-field-initializers] | |
rct_object_entry _primarySceneryGroupEntry = { 0 }; | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/ObjectFactory.cpp:23: | |
/home/janisozaur/workspace/OpenRCT2/src/object/BannerObject.h:29:43: error: missing field 'image' initializer [-Werror,-Wmissing-field-initializers] | |
rct_scenery_entry _legacyType = { 0 }; | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/ObjectFactory.cpp:24: | |
/home/janisozaur/workspace/OpenRCT2/src/object/EntranceObject.h:29:41: error: missing field 'image_id' initializer [-Werror,-Wmissing-field-initializers] | |
rct_entrance_type _legacyType = { 0 }; | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/ObjectFactory.cpp:25: | |
/home/janisozaur/workspace/OpenRCT2/src/object/FootpathItemObject.h:29:43: error: missing field 'image' initializer [-Werror,-Wmissing-field-initializers] | |
rct_scenery_entry _legacyType = { 0 }; | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/ObjectFactory.cpp:26: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/FootpathObject.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/../world/footpath.h:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/../world/../interface/viewport.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/../world/../interface/window.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/object/../world/../interface/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/object/../world/../interface/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/ObjectFactory.cpp:26: | |
/home/janisozaur/workspace/OpenRCT2/src/object/FootpathObject.h:29:42: error: missing field 'image' initializer [-Werror,-Wmissing-field-initializers] | |
rct_footpath_entry _legacyType = { 0 }; | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/ObjectFactory.cpp:27: | |
/home/janisozaur/workspace/OpenRCT2/src/object/LargeSceneryObject.h:29:51: error: missing field 'image' initializer [-Werror,-Wmissing-field-initializers] | |
rct_scenery_entry _legacyType = { 0 }; | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/ObjectFactory.cpp:30: | |
/home/janisozaur/workspace/OpenRCT2/src/object/RideObject.h:29:51: error: missing field 'description' initializer [-Werror,-Wmissing-field-initializers] | |
rct_ride_entry _legacyType = { 0 }; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/object/RideObject.h:30:54: error: missing field 'list' initializer [-Werror,-Wmissing-field-initializers] | |
vehicle_colour_preset_list _presetColours = { 0 }; | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/ObjectFactory.cpp:31: | |
/home/janisozaur/workspace/OpenRCT2/src/object/SceneryGroupObject.h:31:47: error: missing field 'image' initializer [-Werror,-Wmissing-field-initializers] | |
rct_scenery_set_entry _legacyType = { 0 }; | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/ObjectFactory.cpp:32: | |
/home/janisozaur/workspace/OpenRCT2/src/object/SmallSceneryObject.h:29:43: error: missing field 'image' initializer [-Werror,-Wmissing-field-initializers] | |
rct_scenery_entry _legacyType = { 0 }; | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/ObjectFactory.cpp:33: | |
/home/janisozaur/workspace/OpenRCT2/src/object/StexObject.h:29:38: error: missing field 'park_name' initializer [-Werror,-Wmissing-field-initializers] | |
rct_stex_entry _legacyType = { 0 }; | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/ObjectFactory.cpp:34: | |
/home/janisozaur/workspace/OpenRCT2/src/object/WallObject.h:29:43: error: missing field 'image' initializer [-Werror,-Wmissing-field-initializers] | |
rct_scenery_entry _legacyType = { 0 }; | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/ObjectFactory.cpp:35: | |
/home/janisozaur/workspace/OpenRCT2/src/object/WaterObject.h:29:38: error: missing field 'image_id' initializer [-Werror,-Wmissing-field-initializers] | |
rct_water_type _legacyType = { 0 }; | |
^ | |
15 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:7391: CMakeFiles/openrct2.dir/src/object/ObjectFactory.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/ObjectManager.cpp:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/FootpathItemObject.h:19: | |
/home/janisozaur/workspace/OpenRCT2/src/object/SceneryObject.h:24:57: error: missing field 'name' initializer [-Werror,-Wmissing-field-initializers] | |
rct_object_entry _primarySceneryGroupEntry = { 0 }; | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/ObjectManager.cpp:22: | |
/home/janisozaur/workspace/OpenRCT2/src/object/FootpathItemObject.h:29:43: error: missing field 'image' initializer [-Werror,-Wmissing-field-initializers] | |
rct_scenery_entry _legacyType = { 0 }; | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/ObjectManager.cpp:23: | |
/home/janisozaur/workspace/OpenRCT2/src/object/LargeSceneryObject.h:29:51: error: missing field 'image' initializer [-Werror,-Wmissing-field-initializers] | |
rct_scenery_entry _legacyType = { 0 }; | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/ObjectManager.cpp:26: | |
/home/janisozaur/workspace/OpenRCT2/src/object/ObjectRepository.h:66:13: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
virtual const size_t GetNumObjects() const abstract; | |
^~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/ObjectManager.cpp:27: | |
/home/janisozaur/workspace/OpenRCT2/src/object/SceneryGroupObject.h:31:47: error: missing field 'image' initializer [-Werror,-Wmissing-field-initializers] | |
rct_scenery_set_entry _legacyType = { 0 }; | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/ObjectManager.cpp:28: | |
/home/janisozaur/workspace/OpenRCT2/src/object/SmallSceneryObject.h:29:43: error: missing field 'image' initializer [-Werror,-Wmissing-field-initializers] | |
rct_scenery_entry _legacyType = { 0 }; | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/ObjectManager.cpp:29: | |
/home/janisozaur/workspace/OpenRCT2/src/object/WallObject.h:29:43: error: missing field 'image' initializer [-Werror,-Wmissing-field-initializers] | |
rct_scenery_entry _legacyType = { 0 }; | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/ObjectManager.cpp:33: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/../object_list.h:3: | |
/home/janisozaur/workspace/OpenRCT2/src/object/../core/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/object/../core/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
9 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:7415: CMakeFiles/openrct2.dir/src/object/ObjectManager.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/ObjectRepository.cpp:36: | |
/home/janisozaur/workspace/OpenRCT2/src/object/ObjectRepository.h:66:13: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
virtual const size_t GetNumObjects() const abstract; | |
^~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/ObjectRepository.cpp:37: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/RideObject.h:23: | |
/home/janisozaur/workspace/OpenRCT2/src/object/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/object/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/ObjectRepository.cpp:37: | |
/home/janisozaur/workspace/OpenRCT2/src/object/RideObject.h:29:51: error: missing field 'description' initializer [-Werror,-Wmissing-field-initializers] | |
rct_ride_entry _legacyType = { 0 }; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/object/RideObject.h:30:54: error: missing field 'list' initializer [-Werror,-Wmissing-field-initializers] | |
vehicle_colour_preset_list _presetColours = { 0 }; | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/ObjectRepository.cpp:38: | |
/home/janisozaur/workspace/OpenRCT2/src/object/StexObject.h:29:38: error: missing field 'park_name' initializer [-Werror,-Wmissing-field-initializers] | |
rct_stex_entry _legacyType = { 0 }; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/object/ObjectRepository.cpp:133:5: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const size_t GetNumObjects() const override | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/object/ObjectRepository.cpp:114:37: error: missing field 'TotalFileSize' initializer [-Werror,-Wmissing-field-initializers] | |
_queryDirectoryResult = { 0 }; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/object/ObjectRepository.cpp:145:38: error: missing field 'name' initializer [-Werror,-Wmissing-field-initializers] | |
rct_object_entry entry = { 0 }; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/object/ObjectRepository.cpp:294:45: error: missing field 'ObjectEntry' initializer [-Werror,-Wmissing-field-initializers] | |
ObjectRepositoryItem item = { 0 }; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/object/ObjectRepository.cpp:416:41: error: missing field 'ObjectEntry' initializer [-Werror,-Wmissing-field-initializers] | |
ObjectRepositoryItem item = { 0 }; | |
^ | |
11 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:7439: CMakeFiles/openrct2.dir/src/object/ObjectRepository.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/RideObject.cpp:20: | |
/home/janisozaur/workspace/OpenRCT2/src/object/ObjectRepository.h:66:13: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
virtual const size_t GetNumObjects() const abstract; | |
^~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/RideObject.cpp:21: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/RideObject.h:23: | |
/home/janisozaur/workspace/OpenRCT2/src/object/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/object/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/RideObject.cpp:21: | |
/home/janisozaur/workspace/OpenRCT2/src/object/RideObject.h:29:51: error: missing field 'description' initializer [-Werror,-Wmissing-field-initializers] | |
rct_ride_entry _legacyType = { 0 }; | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/object/RideObject.h:30:54: error: missing field 'list' initializer [-Werror,-Wmissing-field-initializers] | |
vehicle_colour_preset_list _presetColours = { 0 }; | |
^ | |
5 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:7463: CMakeFiles/openrct2.dir/src/object/RideObject.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/SceneryGroupObject.cpp:20: | |
/home/janisozaur/workspace/OpenRCT2/src/object/ObjectRepository.h:66:13: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
virtual const size_t GetNumObjects() const abstract; | |
^~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/SceneryGroupObject.cpp:21: | |
/home/janisozaur/workspace/OpenRCT2/src/object/SceneryGroupObject.h:31:47: error: missing field 'image' initializer [-Werror,-Wmissing-field-initializers] | |
rct_scenery_set_entry _legacyType = { 0 }; | |
^ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:7487: CMakeFiles/openrct2.dir/src/object/SceneryGroupObject.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/SmallSceneryObject.cpp:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/SmallSceneryObject.h:19: | |
/home/janisozaur/workspace/OpenRCT2/src/object/SceneryObject.h:24:57: error: missing field 'name' initializer [-Werror,-Wmissing-field-initializers] | |
rct_object_entry _primarySceneryGroupEntry = { 0 }; | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/SmallSceneryObject.cpp:20: | |
/home/janisozaur/workspace/OpenRCT2/src/object/SmallSceneryObject.h:29:43: error: missing field 'image' initializer [-Werror,-Wmissing-field-initializers] | |
rct_scenery_entry _legacyType = { 0 }; | |
^ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:7511: CMakeFiles/openrct2.dir/src/object/SmallSceneryObject.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/StexObject.cpp:18: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/StexObject.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/object/../core/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/object/../core/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/StexObject.cpp:18: | |
/home/janisozaur/workspace/OpenRCT2/src/object/StexObject.h:29:38: error: missing field 'park_name' initializer [-Werror,-Wmissing-field-initializers] | |
rct_stex_entry _legacyType = { 0 }; | |
^ | |
3 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:7535: CMakeFiles/openrct2.dir/src/object/StexObject.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/StringTable.cpp:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/../localisation/LanguagePack.h:29: | |
/home/janisozaur/workspace/OpenRCT2/src/object/../localisation/../core/StringReader.hpp:24:11: error: 'IStringReader' has virtual functions but non-virtual destructor [-Werror,-Wnon-virtual-dtor] | |
interface IStringReader | |
^ | |
1 error generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:7559: CMakeFiles/openrct2.dir/src/object/StringTable.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/WallObject.cpp:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/WallObject.h:19: | |
/home/janisozaur/workspace/OpenRCT2/src/object/SceneryObject.h:24:57: error: missing field 'name' initializer [-Werror,-Wmissing-field-initializers] | |
rct_object_entry _primarySceneryGroupEntry = { 0 }; | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/WallObject.cpp:19: | |
/home/janisozaur/workspace/OpenRCT2/src/object/WallObject.h:29:43: error: missing field 'image' initializer [-Werror,-Wmissing-field-initializers] | |
rct_scenery_entry _legacyType = { 0 }; | |
^ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:7583: CMakeFiles/openrct2.dir/src/object/WallObject.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/object/WaterObject.cpp:18: | |
/home/janisozaur/workspace/OpenRCT2/src/object/WaterObject.h:29:38: error: missing field 'image_id' initializer [-Werror,-Wmissing-field-initializers] | |
rct_water_type _legacyType = { 0 }; | |
^ | |
1 error generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:7607: CMakeFiles/openrct2.dir/src/object/WaterObject.cpp.o] Error 1 | |
/home/janisozaur/workspace/OpenRCT2/src/platform/crash.cpp:156:27: error: unused variable 'PipeName' [-Werror,-Wunused-const-variable] | |
constexpr const wchar_t * PipeName = L"openrct2-bpad"; | |
^ | |
1 error generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:7631: CMakeFiles/openrct2.dir/src/platform/crash.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/rct1/S4Importer.cpp:34: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/rct1/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/rct1/../core/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/rct1/../core/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/rct1/../core/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:7655: CMakeFiles/openrct2.dir/src/rct1/S4Importer.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/rct1/tables.cpp:25: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/rct1/../rct1.h:24: | |
/home/janisozaur/workspace/OpenRCT2/src/rct1/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/rct1/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:7679: CMakeFiles/openrct2.dir/src/rct1/tables.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/rct2/S6Exporter.cpp:20: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/rct2/S6Exporter.h:23: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/rct2/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/rct2/../core/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/rct2/../core/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
2 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:7703: CMakeFiles/openrct2.dir/src/rct2/S6Exporter.cpp.o] Error 1 | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/rct2/S6Importer.cpp:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/rct2/../network/network.h:43: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/rct2/../network/../game.h:22: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/rct2/../core/../scenario.h:25: | |
/home/janisozaur/workspace/OpenRCT2/src/rct2/../core/../ride/ride.h:1128:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/rct2/../core/../ride/ride.h:1129:1: error: 'const' type qualifier on return type has no effect [-Werror,-Wignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/rct2/S6Importer.cpp:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/rct2/../network/network.h:71: | |
/home/janisozaur/workspace/OpenRCT2/src/rct2/../network/../core/Json.hpp:36:35: error: missing field 'column' initializer [-Werror,-Wmissing-field-initializers] | |
json_error_t _jsonError = { 0 }; | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/rct2/S6Importer.cpp:19: | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/rct2/../network/network.h:77: | |
/home/janisozaur/workspace/OpenRCT2/src/rct2/../network/NetworkPlayer.h:41:43: error: missing field 'y' initializer [-Werror,-Wmissing-field-initializers] | |
rct_xyz16 last_action_coord = { 0 }; | |
^ | |
4 errors generated. | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:7727: CMakeFiles/openrct2.dir/src/rct2/S6Importer.cpp.o] Error 1 | |
make[2]: Target 'CMakeFiles/openrct2.dir/build' not remade because of errors. | |
make[1]: *** [CMakeFiles/Makefile2:69: CMakeFiles/openrct2.dir/all] Error 2 | |
make[1]: Target 'all' not remade because of errors. | |
make: *** [Makefile:150: all] Error 2 | |
make: Target 'default_target' not remade because of errors. |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cc1: warning: command line option ‘-Wnon-virtual-dtor’ is valid for C++/ObjC++ but not for C | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/audio/../interface/../world/sprite.h:22:0, | |
from /home/janisozaur/workspace/OpenRCT2/src/audio/../interface/viewport.h:21, | |
from /home/janisozaur/workspace/OpenRCT2/src/audio/audio.c:18: | |
/home/janisozaur/workspace/OpenRCT2/src/audio/../interface/../world/../ride/vehicle.h:382:14: error: redundant redeclaration of ‘vehicle_get_head’ [-Werror=redundant-decls] | |
rct_vehicle *vehicle_get_head(rct_vehicle *vehicle); | |
^~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/audio/../interface/../world/../ride/vehicle.h:374:14: note: previous declaration of ‘vehicle_get_head’ was here | |
rct_vehicle *vehicle_get_head(rct_vehicle *vehicle); | |
^~~~~~~~~~~~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/audio/../interface/window.h:24:0, | |
from /home/janisozaur/workspace/OpenRCT2/src/audio/../interface/viewport.h:23, | |
from /home/janisozaur/workspace/OpenRCT2/src/audio/audio.c:18: | |
/home/janisozaur/workspace/OpenRCT2/src/audio/../interface/../ride/ride.h:1128:14: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/audio/../interface/../ride/ride.h:1129:14: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/audio/../interface/window.h:28:0, | |
from /home/janisozaur/workspace/OpenRCT2/src/audio/../interface/viewport.h:23, | |
from /home/janisozaur/workspace/OpenRCT2/src/audio/audio.c:18: | |
/home/janisozaur/workspace/OpenRCT2/src/audio/../interface/../world/park.h:111:6: error: redundant redeclaration of ‘map_invalidate_tile’ [-Werror=redundant-decls] | |
void map_invalidate_tile(int x, int y, int z0, int z1); | |
^~~~~~~~~~~~~~~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/audio/../interface/viewport.h:20:0, | |
from /home/janisozaur/workspace/OpenRCT2/src/audio/audio.c:18: | |
/home/janisozaur/workspace/OpenRCT2/src/audio/../interface/../world/map.h:492:6: note: previous declaration of ‘map_invalidate_tile’ was here | |
void map_invalidate_tile(int x, int y, int z0, int z1); | |
^~~~~~~~~~~~~~~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/audio/audio.c:18:0: | |
/home/janisozaur/workspace/OpenRCT2/src/audio/../interface/viewport.h:158:6: error: redundant redeclaration of ‘painter_setup’ [-Werror=redundant-decls] | |
void painter_setup(); | |
^~~~~~~~~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/audio/../interface/viewport.h:22:0, | |
from /home/janisozaur/workspace/OpenRCT2/src/audio/audio.c:18: | |
/home/janisozaur/workspace/OpenRCT2/src/audio/../interface/../paint/paint.h:144:6: note: previous declaration of ‘painter_setup’ was here | |
void painter_setup(); | |
^~~~~~~~~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/audio/audio.c:29:0: | |
/home/janisozaur/workspace/OpenRCT2/src/audio/../localisation/string_ids.h:2185:1: error: multi-line comment [-Werror=comment] | |
// STR_2745 :\ | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/audio/audio.c: In function ‘audio_init_ride_sounds_and_info’: | |
/home/janisozaur/workspace/OpenRCT2/src/audio/audio.c:332:20: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] | |
for (int m = 0; m < countof(gRideMusicInfoList); m++) { | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/audio/audio.c: In function ‘audio_stop_vehicle_sounds’: | |
/home/janisozaur/workspace/OpenRCT2/src/audio/audio.c:401:20: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] | |
for (int i = 0; i < countof(gVehicleSoundList); i++) { | |
^ | |
cc1: all warnings being treated as errors | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:95: CMakeFiles/openrct2.dir/src/audio/audio.c.o] Error 1 | |
cc1: warning: command line option ‘-Wnon-virtual-dtor’ is valid for C++/ObjC++ but not for C | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:23:0, | |
from /home/janisozaur/workspace/OpenRCT2/src/scenario.h:25, | |
from /home/janisozaur/workspace/OpenRCT2/src/game.h:22, | |
from /home/janisozaur/workspace/OpenRCT2/src/cheats.c:19: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/vehicle.h:382:14: error: redundant redeclaration of ‘vehicle_get_head’ [-Werror=redundant-decls] | |
rct_vehicle *vehicle_get_head(rct_vehicle *vehicle); | |
^~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/vehicle.h:374:14: note: previous declaration of ‘vehicle_get_head’ was here | |
rct_vehicle *vehicle_get_head(rct_vehicle *vehicle); | |
^~~~~~~~~~~~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/scenario.h:25:0, | |
from /home/janisozaur/workspace/OpenRCT2/src/game.h:22, | |
from /home/janisozaur/workspace/OpenRCT2/src/cheats.c:19: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1128:14: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:1129:14: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/cheats.c:19:0: | |
/home/janisozaur/workspace/OpenRCT2/src/game.h:163:6: error: redundant redeclaration of ‘game_increase_game_speed’ [-Werror=redundant-decls] | |
void game_increase_game_speed(); | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/game.h:151:6: note: previous declaration of ‘game_increase_game_speed’ was here | |
void game_increase_game_speed(); | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/game.h:164:6: error: redundant redeclaration of ‘game_reduce_game_speed’ [-Werror=redundant-decls] | |
void game_reduce_game_speed(); | |
^~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/game.h:152:6: note: previous declaration of ‘game_reduce_game_speed’ was here | |
void game_reduce_game_speed(); | |
^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/window.h:28:0, | |
from /home/janisozaur/workspace/OpenRCT2/src/cheats.c:20: | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../world/park.h:111:6: error: redundant redeclaration of ‘map_invalidate_tile’ [-Werror=redundant-decls] | |
void map_invalidate_tile(int x, int y, int z0, int z1); | |
^~~~~~~~~~~~~~~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/ride/../peep/peep.h:21:0, | |
from /home/janisozaur/workspace/OpenRCT2/src/ride/ride.h:21, | |
from /home/janisozaur/workspace/OpenRCT2/src/scenario.h:25, | |
from /home/janisozaur/workspace/OpenRCT2/src/game.h:22, | |
from /home/janisozaur/workspace/OpenRCT2/src/cheats.c:19: | |
/home/janisozaur/workspace/OpenRCT2/src/ride/../peep/../world/map.h:492:6: note: previous declaration of ‘map_invalidate_tile’ was here | |
void map_invalidate_tile(int x, int y, int z0, int z1); | |
^~~~~~~~~~~~~~~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/network.h:45:0, | |
from /home/janisozaur/workspace/OpenRCT2/src/cheats.c:23: | |
/home/janisozaur/workspace/OpenRCT2/src/network/../localisation/string_ids.h:2185:1: error: multi-line comment [-Werror=comment] | |
// STR_2745 :\ | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/footpath.h:21:0, | |
from /home/janisozaur/workspace/OpenRCT2/src/cheats.c:25: | |
/home/janisozaur/workspace/OpenRCT2/src/world/../interface/viewport.h:158:6: error: redundant redeclaration of ‘painter_setup’ [-Werror=redundant-decls] | |
void painter_setup(); | |
^~~~~~~~~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/world/../interface/viewport.h:22:0, | |
from /home/janisozaur/workspace/OpenRCT2/src/world/footpath.h:21, | |
from /home/janisozaur/workspace/OpenRCT2/src/cheats.c:25: | |
/home/janisozaur/workspace/OpenRCT2/src/world/../interface/../paint/paint.h:144:6: note: previous declaration of ‘painter_setup’ was here | |
void painter_setup(); | |
^~~~~~~~~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/cheats.c:25:0: | |
/home/janisozaur/workspace/OpenRCT2/src/world/footpath.h:85:6: error: redundant redeclaration of ‘footpath_bridge_get_info_from_pos’ [-Werror=redundant-decls] | |
void footpath_bridge_get_info_from_pos(int screenX, int screenY, int *x, int *y, int *direction, rct_map_element **mapElement); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/world/footpath.h:77:6: note: previous declaration of ‘footpath_bridge_get_info_from_pos’ was here | |
void footpath_bridge_get_info_from_pos(int screenX, int screenY, int *x, int *y, int *direction, rct_map_element **mapElement); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/cheats.c:26:0: | |
/home/janisozaur/workspace/OpenRCT2/src/world/scenery.h:258:6: error: redundant redeclaration of ‘scenery_set_default_placement_configuration’ [-Werror=redundant-decls] | |
void scenery_set_default_placement_configuration(); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/world/scenery.h:256:6: note: previous declaration of ‘scenery_set_default_placement_configuration’ was here | |
void scenery_set_default_placement_configuration(); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
cc1: all warnings being treated as errors | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:119: CMakeFiles/openrct2.dir/src/cheats.c.o] Error 1 | |
cc1: warning: command line option ‘-Wnon-virtual-dtor’ is valid for C++/ObjC++ but not for C | |
/home/janisozaur/workspace/OpenRCT2/src/cmdline_sprite.c: In function ‘get_closest_palette_index’: | |
/home/janisozaur/workspace/OpenRCT2/src/cmdline_sprite.c:263:23: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] | |
if (smallest_error == -1 || smallest_error > error){ | |
^~ | |
cc1: all warnings being treated as errors | |
make[2]: *** [CMakeFiles/openrct2.dir/build.make:143: CMakeFiles/openrct2.dir/src/cmdline_sprite.c.o] Error 1 | |
cc1: warning: command line option ‘-Wnon-virtual-dtor’ is valid for C++/ObjC++ but not for C | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/../ride/ride.h:23:0, | |
from /home/janisozaur/workspace/OpenRCT2/src/interface/window.h:24, | |
from /home/janisozaur/workspace/OpenRCT2/src/interface/themes.h:21, | |
from /home/janisozaur/workspace/OpenRCT2/src/config.c:19: | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../ride/vehicle.h:382:14: error: redundant redeclaration of ‘vehicle_get_head’ [-Werror=redundant-decls] | |
rct_vehicle *vehicle_get_head(rct_vehicle *vehicle); | |
^~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../ride/vehicle.h:374:14: note: previous declaration of ‘vehicle_get_head’ was here | |
rct_vehicle *vehicle_get_head(rct_vehicle *vehicle); | |
^~~~~~~~~~~~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/window.h:24:0, | |
from /home/janisozaur/workspace/OpenRCT2/src/interface/themes.h:21, | |
from /home/janisozaur/workspace/OpenRCT2/src/config.c:19: | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../ride/ride.h:1128:14: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers] | |
const uint32 ride_customers_per_hour(const rct_ride *ride); | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../ride/ride.h:1129:14: error: type qualifiers ignored on function return type [-Werror=ignored-qualifiers] | |
const uint32 ride_customers_in_last_5_minutes(const rct_ride *ride); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/window.h:28:0, | |
from /home/janisozaur/workspace/OpenRCT2/src/interface/themes.h:21, | |
from /home/janisozaur/workspace/OpenRCT2/src/config.c:19: | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../world/park.h:111:6: error: redundant redeclaration of ‘map_invalidate_tile’ [-Werror=redundant-decls] | |
void map_invalidate_tile(int x, int y, int z0, int z1); | |
^~~~~~~~~~~~~~~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/../peep/peep.h:21:0, | |
from /home/janisozaur/workspace/OpenRCT2/src/interface/window.h:23, | |
from /home/janisozaur/workspace/OpenRCT2/src/interface/themes.h:21, | |
from /home/janisozaur/workspace/OpenRCT2/src/config.c:19: | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../peep/../world/map.h:492:6: note: previous declaration of ‘map_invalidate_tile’ was here | |
void map_invalidate_tile(int x, int y, int z0, int z1); | |
^~~~~~~~~~~~~~~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/config.c:21:0: | |
/home/janisozaur/workspace/OpenRCT2/src/interface/viewport.h:158:6: error: redundant redeclaration of ‘painter_setup’ [-Werror=redundant-decls] | |
void painter_setup(); | |
^~~~~~~~~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/interface/viewport.h:22:0, | |
from /home/janisozaur/workspace/OpenRCT2/src/config.c:21: | |
/home/janisozaur/workspace/OpenRCT2/src/interface/../paint/paint.h:144:6: note: previous declaration of ‘painter_setup’ was here | |
void painter_setup(); | |
^~~~~~~~~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/localisation/localisation.h:24:0, | |
from /home/janisozaur/workspace/OpenRCT2/src/config.c:23: | |
/home/janisozaur/workspace/OpenRCT2/src/localisation/string_ids.h:2185:1: error: multi-line comment [-Werror=comment] | |
// STR_2745 :\ | |
^ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/config.c:23:0: | |
/home/janisozaur/workspace/OpenRCT2/src/localisation/localisation.h:30:5: error: redundant redeclaration of ‘font_sprite_get_codepoint_offset’ [-Werror=redundant-decls] | |
int font_sprite_get_codepoint_offset(int codepoint); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/platform/platform.h:31:0, | |
from /home/janisozaur/workspace/OpenRCT2/src/config.h:22, | |
from /home/janisozaur/workspace/OpenRCT2/src/config.c:17: | |
/home/janisozaur/workspace/OpenRCT2/src/platform/../drawing/font.h:57:5: note: previous declaration of ‘font_sprite_get_codepoint_offset’ was here | |
int font_sprite_get_codepoint_offset(int codepoint); | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/network.h:43:0, | |
from /home/janisozaur/workspace/OpenRCT2/src/config.c:24: | |
/home/janisozaur/workspace/OpenRCT2/src/network/../game.h:163:6: error: redundant redeclaration of ‘game_increase_game_speed’ [-Werror=redundant-decls] | |
void game_increase_game_speed(); | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/network/../game.h:151:6: note: previous declaration of ‘game_increase_game_speed’ was here | |
void game_increase_game_speed(); | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/network/../game.h:164:6: error: redundant redeclaration of ‘game_reduce_game_speed’ [-Werror=redundant-decls] | |
void game_reduce_game_speed(); | |
^~~~~~~~~~~~~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/network/../game.h:152:6: note: previous declaration of ‘game_reduce_game_speed’ was here | |
void game_reduce_game_speed(); | |
^~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /home/janisozaur/workspace/OpenRCT2/src/network/network.h:45:0, | |
from /home/janisozaur/workspace/OpenRCT2/src/config.c:24: | |
/home/janisozaur/workspace/OpenRCT2/src/network/../localisation/string_ids.h:2185:1: error: multi-line comment [-Werror=comment] | |
// STR_2745 :\ | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:93:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "SOFTWARE", DRAWING_ENGINE_SOFTWARE }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:93:2: note: (near initialization for ‘_drawingEngineFormatEnum[0]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:94:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "SOFTWARE_HWD", DRAWING_ENGINE_SOFTWARE_WITH_HARDWARE_DISPLAY }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:94:2: note: (near initialization for ‘_drawingEngineFormatEnum[1]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:95:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "OPENGL", DRAWING_ENGINE_OPENGL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:95:2: note: (near initialization for ‘_drawingEngineFormatEnum[2]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:73:21: error: missing braces around initializer [-Werror=missing-braces] | |
#define END_OF_ENUM { NULL, 0 } | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:96:2: note: in expansion of macro ‘END_OF_ENUM’ | |
END_OF_ENUM | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:73:21: note: (near initialization for ‘_drawingEngineFormatEnum[3]’) | |
#define END_OF_ENUM { NULL, 0 } | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:96:2: note: in expansion of macro ‘END_OF_ENUM’ | |
END_OF_ENUM | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:92:53: error: missing braces around initializer [-Werror=missing-braces] | |
config_enum_definition _drawingEngineFormatEnum[] = { | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:92:53: note: (near initialization for ‘_drawingEngineFormatEnum’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:100:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "IMPERIAL", MEASUREMENT_FORMAT_IMPERIAL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:100:2: note: (near initialization for ‘_measurementFormatEnum[0]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:101:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "METRIC", MEASUREMENT_FORMAT_METRIC }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:101:2: note: (near initialization for ‘_measurementFormatEnum[1]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:102:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "SI", MEASUREMENT_FORMAT_SI }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:102:2: note: (near initialization for ‘_measurementFormatEnum[2]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:73:21: error: missing braces around initializer [-Werror=missing-braces] | |
#define END_OF_ENUM { NULL, 0 } | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:103:2: note: in expansion of macro ‘END_OF_ENUM’ | |
END_OF_ENUM | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:73:21: note: (near initialization for ‘_measurementFormatEnum[3]’) | |
#define END_OF_ENUM { NULL, 0 } | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:103:2: note: in expansion of macro ‘END_OF_ENUM’ | |
END_OF_ENUM | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:99:51: error: missing braces around initializer [-Werror=missing-braces] | |
config_enum_definition _measurementFormatEnum[] = { | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:99:51: note: (near initialization for ‘_measurementFormatEnum’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:107:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "CELSIUS", TEMPERATURE_FORMAT_C }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:107:2: note: (near initialization for ‘_temperatureFormatEnum[0]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:108:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "FAHRENHEIT", TEMPERATURE_FORMAT_F }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:108:2: note: (near initialization for ‘_temperatureFormatEnum[1]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:73:21: error: missing braces around initializer [-Werror=missing-braces] | |
#define END_OF_ENUM { NULL, 0 } | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:109:2: note: in expansion of macro ‘END_OF_ENUM’ | |
END_OF_ENUM | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:73:21: note: (near initialization for ‘_temperatureFormatEnum[2]’) | |
#define END_OF_ENUM { NULL, 0 } | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:109:2: note: in expansion of macro ‘END_OF_ENUM’ | |
END_OF_ENUM | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:106:51: error: missing braces around initializer [-Werror=missing-braces] | |
config_enum_definition _temperatureFormatEnum[] = { | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:106:51: note: (near initialization for ‘_temperatureFormatEnum’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:113:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "GBP", CURRENCY_POUNDS }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:113:2: note: (near initialization for ‘_currencyEnum[0]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:114:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "USD", CURRENCY_DOLLARS }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:114:2: note: (near initialization for ‘_currencyEnum[1]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:115:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "FRF", CURRENCY_FRANC }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:115:2: note: (near initialization for ‘_currencyEnum[2]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:116:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "DEM", CURRENCY_DEUTSCHMARK }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:116:2: note: (near initialization for ‘_currencyEnum[3]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:117:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "JPY", CURRENCY_YEN }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:117:2: note: (near initialization for ‘_currencyEnum[4]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:118:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "ESP", CURRENCY_PESETA }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:118:2: note: (near initialization for ‘_currencyEnum[5]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:119:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "ITL", CURRENCY_LIRA }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:119:2: note: (near initialization for ‘_currencyEnum[6]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:120:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "NLG", CURRENCY_GUILDERS }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:120:2: note: (near initialization for ‘_currencyEnum[7]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:121:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "SEK", CURRENCY_KRONA }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:121:2: note: (near initialization for ‘_currencyEnum[8]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:122:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "EUR", CURRENCY_EUROS }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:122:2: note: (near initialization for ‘_currencyEnum[9]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:123:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "KRW", CURRENCY_WON }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:123:2: note: (near initialization for ‘_currencyEnum[10]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:124:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "RUB", CURRENCY_ROUBLE }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:124:2: note: (near initialization for ‘_currencyEnum[11]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:125:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "CZK", CURRENCY_CZECH_KORUNA }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:125:2: note: (near initialization for ‘_currencyEnum[12]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:126:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "HKD", CURRENCY_HKD }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:126:2: note: (near initialization for ‘_currencyEnum[13]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:127:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "TWD", CURRENCY_TWD }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:127:2: note: (near initialization for ‘_currencyEnum[14]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:128:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "CNY", CURRENCY_YUAN }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:128:2: note: (near initialization for ‘_currencyEnum[15]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:73:21: error: missing braces around initializer [-Werror=missing-braces] | |
#define END_OF_ENUM { NULL, 0 } | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:129:2: note: in expansion of macro ‘END_OF_ENUM’ | |
END_OF_ENUM | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:73:21: note: (near initialization for ‘_currencyEnum[16]’) | |
#define END_OF_ENUM { NULL, 0 } | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:129:2: note: in expansion of macro ‘END_OF_ENUM’ | |
END_OF_ENUM | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:112:42: error: missing braces around initializer [-Werror=missing-braces] | |
config_enum_definition _currencyEnum[] = { | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:112:42: note: (near initialization for ‘_currencyEnum’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:133:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "PREFIX", CURRENCY_PREFIX }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:133:2: note: (near initialization for ‘_currencySymbolAffixEnum[0]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:134:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "SUFFIX", CURRENCY_SUFFIX }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:134:2: note: (near initialization for ‘_currencySymbolAffixEnum[1]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:73:21: error: missing braces around initializer [-Werror=missing-braces] | |
#define END_OF_ENUM { NULL, 0 } | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:135:2: note: in expansion of macro ‘END_OF_ENUM’ | |
END_OF_ENUM | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:73:21: note: (near initialization for ‘_currencySymbolAffixEnum[2]’) | |
#define END_OF_ENUM { NULL, 0 } | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:135:2: note: in expansion of macro ‘END_OF_ENUM’ | |
END_OF_ENUM | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:132:53: error: missing braces around initializer [-Werror=missing-braces] | |
config_enum_definition _currencySymbolAffixEnum[] = { | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:132:53: note: (near initialization for ‘_currencySymbolAffixEnum’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:139:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "en-GB", LANGUAGE_ENGLISH_UK }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:139:2: note: (near initialization for ‘_languageEnum[0]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:140:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "en-US", LANGUAGE_ENGLISH_US }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:140:2: note: (near initialization for ‘_languageEnum[1]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:141:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "de-DE", LANGUAGE_GERMAN }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:141:2: note: (near initialization for ‘_languageEnum[2]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:142:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "nl-NL", LANGUAGE_DUTCH }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:142:2: note: (near initialization for ‘_languageEnum[3]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:143:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "fr-FR", LANGUAGE_FRENCH }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:143:2: note: (near initialization for ‘_languageEnum[4]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:144:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "hu-HU", LANGUAGE_HUNGARIAN }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:144:2: note: (near initialization for ‘_languageEnum[5]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:145:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "pl-PL", LANGUAGE_POLISH }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:145:2: note: (near initialization for ‘_languageEnum[6]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:146:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "es-ES", LANGUAGE_SPANISH }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:146:2: note: (near initialization for ‘_languageEnum[7]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:147:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "sv-SE", LANGUAGE_SWEDISH }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:147:2: note: (near initialization for ‘_languageEnum[8]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:148:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "it-IT", LANGUAGE_ITALIAN }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:148:2: note: (near initialization for ‘_languageEnum[9]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:149:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "pt-BR", LANGUAGE_PORTUGUESE_BR }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:149:2: note: (near initialization for ‘_languageEnum[10]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:150:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "zh-TW", LANGUAGE_CHINESE_TRADITIONAL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:150:2: note: (near initialization for ‘_languageEnum[11]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:151:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "zh-CN", LANGUAGE_CHINESE_SIMPLIFIED }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:151:2: note: (near initialization for ‘_languageEnum[12]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:152:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "fi-FI", LANGUAGE_FINNISH }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:152:2: note: (near initialization for ‘_languageEnum[13]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:153:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "ko-KR", LANGUAGE_KOREAN }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:153:2: note: (near initialization for ‘_languageEnum[14]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:154:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "ru-RU", LANGUAGE_RUSSIAN }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:154:2: note: (near initialization for ‘_languageEnum[15]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:155:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "cs-CZ", LANGUAGE_CZECH }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:155:2: note: (near initialization for ‘_languageEnum[16]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:156:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "ja-JP", LANGUAGE_JAPANESE }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:156:2: note: (near initialization for ‘_languageEnum[17]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:157:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "nb-NO", LANGUAGE_NORWEGIAN }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:157:2: note: (near initialization for ‘_languageEnum[18]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:73:21: error: missing braces around initializer [-Werror=missing-braces] | |
#define END_OF_ENUM { NULL, 0 } | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:158:2: note: in expansion of macro ‘END_OF_ENUM’ | |
END_OF_ENUM | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:73:21: note: (near initialization for ‘_languageEnum[19]’) | |
#define END_OF_ENUM { NULL, 0 } | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:158:2: note: in expansion of macro ‘END_OF_ENUM’ | |
END_OF_ENUM | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:138:42: error: missing braces around initializer [-Werror=missing-braces] | |
config_enum_definition _languageEnum[] = { | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:138:42: note: (near initialization for ‘_languageEnum’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:162:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "DD/MM/YY", DATE_FORMAT_DMY }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:162:2: note: (near initialization for ‘_dateFormatEnum[0]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:163:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "MM/DD/YY", DATE_FORMAT_MDY }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:163:2: note: (near initialization for ‘_dateFormatEnum[1]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:164:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "YY/MM/DD", DATE_FORMAT_YMD }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:164:2: note: (near initialization for ‘_dateFormatEnum[2]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:165:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ "YY/DD/MM", DATE_FORMAT_YDM }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:165:2: note: (near initialization for ‘_dateFormatEnum[3]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:73:21: error: missing braces around initializer [-Werror=missing-braces] | |
#define END_OF_ENUM { NULL, 0 } | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:166:2: note: in expansion of macro ‘END_OF_ENUM’ | |
END_OF_ENUM | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:73:21: note: (near initialization for ‘_dateFormatEnum[4]’) | |
#define END_OF_ENUM { NULL, 0 } | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:166:2: note: in expansion of macro ‘END_OF_ENUM’ | |
END_OF_ENUM | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:161:44: error: missing braces around initializer [-Werror=missing-braces] | |
config_enum_definition _dateFormatEnum[] = { | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:161:44: note: (near initialization for ‘_dateFormatEnum’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:174:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, always_show_gridlines), "always_show_gridlines", CONFIG_VALUE_TYPE_BOOLEAN, false, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:174:2: note: (near initialization for ‘_generalDefinitions[0]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:175:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, autosave_frequency), "autosave", CONFIG_VALUE_TYPE_UINT8, AUTOSAVE_EVERY_5MINUTES, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:175:2: note: (near initialization for ‘_generalDefinitions[1]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:176:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, confirmation_prompt), "confirmation_prompt", CONFIG_VALUE_TYPE_BOOLEAN, false, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:176:2: note: (near initialization for ‘_generalDefinitions[2]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:177:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, construction_marker_colour), "construction_marker_colour", CONFIG_VALUE_TYPE_UINT8, false, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:177:2: note: (near initialization for ‘_generalDefinitions[3]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:178:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, currency_format), "currency_format", CONFIG_VALUE_TYPE_UINT8, CURRENCY_POUNDS, _currencyEnum }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:178:2: note: (near initialization for ‘_generalDefinitions[4]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:179:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, custom_currency_rate), "custom_currency_rate", CONFIG_VALUE_TYPE_SINT32, 10, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:179:2: note: (near initialization for ‘_generalDefinitions[5]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:180:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, custom_currency_affix), "custom_currency_affix", CONFIG_VALUE_TYPE_SINT8, CURRENCY_SUFFIX, _currencySymbolAffixEnum}, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:180:2: note: (near initialization for ‘_generalDefinitions[6]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:181:135: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] | |
{ offsetof(general_configuration, custom_currency_symbol), "custom_currency_symbol", CONFIG_VALUE_TYPE_STRING, { .value_string = "Ctm" }, NULL }, | |
^~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:181:117: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, custom_currency_symbol), "custom_currency_symbol", CONFIG_VALUE_TYPE_STRING, { .value_string = "Ctm" }, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:181:117: note: (near initialization for ‘_generalDefinitions[7].default_value’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:181:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, custom_currency_symbol), "custom_currency_symbol", CONFIG_VALUE_TYPE_STRING, { .value_string = "Ctm" }, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:181:2: note: (near initialization for ‘_generalDefinitions[7]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:182:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, edge_scrolling), "edge_scrolling", CONFIG_VALUE_TYPE_BOOLEAN, true, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:182:2: note: (near initialization for ‘_generalDefinitions[8]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:183:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, fullscreen_mode), "fullscreen_mode", CONFIG_VALUE_TYPE_UINT8, 0, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:183:2: note: (near initialization for ‘_generalDefinitions[9]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:184:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, fullscreen_height), "fullscreen_height", CONFIG_VALUE_TYPE_SINT32, -1, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:184:2: note: (near initialization for ‘_generalDefinitions[10]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:185:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, fullscreen_width), "fullscreen_width", CONFIG_VALUE_TYPE_SINT32, -1, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:185:2: note: (near initialization for ‘_generalDefinitions[11]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:186:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, game_path), "game_path", CONFIG_VALUE_TYPE_STRING, { .value_string = NULL }, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:186:2: note: (near initialization for ‘_generalDefinitions[12]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:187:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, landscape_smoothing), "landscape_smoothing", CONFIG_VALUE_TYPE_BOOLEAN, true, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:187:2: note: (near initialization for ‘_generalDefinitions[13]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:188:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, language), "language", CONFIG_VALUE_TYPE_UINT16, LANGUAGE_ENGLISH_UK, _languageEnum }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:188:2: note: (near initialization for ‘_generalDefinitions[14]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:189:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, measurement_format), "measurement_format", CONFIG_VALUE_TYPE_UINT8, MEASUREMENT_FORMAT_METRIC, _measurementFormatEnum }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:189:2: note: (near initialization for ‘_generalDefinitions[15]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:190:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, play_intro), "play_intro", CONFIG_VALUE_TYPE_BOOLEAN, false, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:190:2: note: (near initialization for ‘_generalDefinitions[16]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:191:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, save_plugin_data), "save_plugin_data", CONFIG_VALUE_TYPE_BOOLEAN, false, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:191:2: note: (near initialization for ‘_generalDefinitions[17]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:192:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, debugging_tools), "debugging_tools", CONFIG_VALUE_TYPE_BOOLEAN, false, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:192:2: note: (near initialization for ‘_generalDefinitions[18]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:193:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, show_height_as_units), "show_height_as_units", CONFIG_VALUE_TYPE_BOOLEAN, false, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:193:2: note: (near initialization for ‘_generalDefinitions[19]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:194:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, temperature_format), "temperature_format", CONFIG_VALUE_TYPE_UINT8, TEMPERATURE_FORMAT_C, _temperatureFormatEnum }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:194:2: note: (near initialization for ‘_generalDefinitions[20]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:195:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, window_height), "window_height", CONFIG_VALUE_TYPE_SINT32, -1, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:195:2: note: (near initialization for ‘_generalDefinitions[21]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:196:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, window_snap_proximity), "window_snap_proximity", CONFIG_VALUE_TYPE_UINT8, 5, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:196:2: note: (near initialization for ‘_generalDefinitions[22]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:197:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, window_width), "window_width", CONFIG_VALUE_TYPE_SINT32, -1, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:197:2: note: (near initialization for ‘_generalDefinitions[23]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:198:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, drawing_engine), "drawing_engine", CONFIG_VALUE_TYPE_UINT8, DRAWING_ENGINE_SOFTWARE, _drawingEngineFormatEnum}, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:198:2: note: (near initialization for ‘_generalDefinitions[24]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:199:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, uncap_fps), "uncap_fps", CONFIG_VALUE_TYPE_BOOLEAN, false, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:199:2: note: (near initialization for ‘_generalDefinitions[25]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:200:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, test_unfinished_tracks), "test_unfinished_tracks", CONFIG_VALUE_TYPE_BOOLEAN, false, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:200:2: note: (near initialization for ‘_generalDefinitions[26]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:201:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, no_test_crashes), "no_test_crashes", CONFIG_VALUE_TYPE_BOOLEAN, false, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:201:2: note: (near initialization for ‘_generalDefinitions[27]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:202:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, date_format), "date_format", CONFIG_VALUE_TYPE_UINT8, DATE_FORMAT_DMY, _dateFormatEnum }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:202:2: note: (near initialization for ‘_generalDefinitions[28]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:203:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, auto_staff_placement), "auto_staff", CONFIG_VALUE_TYPE_BOOLEAN, false, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:203:2: note: (near initialization for ‘_generalDefinitions[29]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:204:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, handymen_mow_default), "handymen_mow_default", CONFIG_VALUE_TYPE_BOOLEAN, false, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:204:2: note: (near initialization for ‘_generalDefinitions[30]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:205:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, default_inspection_interval), "default_inspection_interval", CONFIG_VALUE_TYPE_UINT8, 2, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:205:2: note: (near initialization for ‘_generalDefinitions[31]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:206:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, last_run_version), "last_run_version", CONFIG_VALUE_TYPE_STRING, { .value_string = NULL }, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:206:2: note: (near initialization for ‘_generalDefinitions[32]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:207:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, invert_viewport_drag), "invert_viewport_drag", CONFIG_VALUE_TYPE_BOOLEAN, false, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:207:2: note: (near initialization for ‘_generalDefinitions[33]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:208:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, load_save_sort), "load_save_sort", CONFIG_VALUE_TYPE_UINT8, SORT_NAME_ASCENDING, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:208:2: note: (near initialization for ‘_generalDefinitions[34]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:209:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, minimize_fullscreen_focus_loss), "minimize_fullscreen_focus_loss",CONFIG_VALUE_TYPE_BOOLEAN, true, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:209:2: note: (near initialization for ‘_generalDefinitions[35]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:210:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, day_night_cycle), "day_night_cycle", CONFIG_VALUE_TYPE_BOOLEAN, false, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:210:2: note: (near initialization for ‘_generalDefinitions[36]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:211:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, upper_case_banners), "upper_case_banners", CONFIG_VALUE_TYPE_BOOLEAN, false, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:211:2: note: (near initialization for ‘_generalDefinitions[37]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:212:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, disable_lightning_effect), "disable_lightning_effect", CONFIG_VALUE_TYPE_BOOLEAN, false, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:212:2: note: (near initialization for ‘_generalDefinitions[38]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:213:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, allow_loading_with_incorrect_checksum),"allow_loading_with_incorrect_checksum", CONFIG_VALUE_TYPE_BOOLEAN, false, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:213:2: note: (near initialization for ‘_generalDefinitions[39]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:214:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, steam_overlay_pause), "steam_overlay_pause", CONFIG_VALUE_TYPE_BOOLEAN, true, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:214:2: note: (near initialization for ‘_generalDefinitions[40]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:215:101: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, window_scale), "window_scale", CONFIG_VALUE_TYPE_FLOAT, { .value_float = 1.0f }, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:215:101: note: (near initialization for ‘_generalDefinitions[41].default_value’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:215:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, window_scale), "window_scale", CONFIG_VALUE_TYPE_FLOAT, { .value_float = 1.0f }, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:215:2: note: (near initialization for ‘_generalDefinitions[41]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:216:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, scale_quality), "scale_quality", CONFIG_VALUE_TYPE_UINT8, 1, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:216:2: note: (near initialization for ‘_generalDefinitions[42]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:217:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, use_nn_at_integer_scales), "use_nn_at_integer_scales", CONFIG_VALUE_TYPE_BOOLEAN, true, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:217:2: note: (near initialization for ‘_generalDefinitions[43]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:218:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, show_fps), "show_fps", CONFIG_VALUE_TYPE_BOOLEAN, false, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:218:2: note: (near initialization for ‘_generalDefinitions[44]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:219:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, trap_cursor), "trap_cursor", CONFIG_VALUE_TYPE_BOOLEAN, false, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:219:2: note: (near initialization for ‘_generalDefinitions[45]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:220:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, auto_open_shops), "auto_open_shops", CONFIG_VALUE_TYPE_BOOLEAN, false, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:220:2: note: (near initialization for ‘_generalDefinitions[46]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:221:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, scenario_select_mode), "scenario_select_mode", CONFIG_VALUE_TYPE_UINT8, SCENARIO_SELECT_MODE_ORIGIN, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:221:2: note: (near initialization for ‘_generalDefinitions[47]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:222:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, scenario_unlocking_enabled), "scenario_unlocking_enabled", CONFIG_VALUE_TYPE_BOOLEAN, true, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:222:2: note: (near initialization for ‘_generalDefinitions[48]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:223:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, scenario_hide_mega_park), "scenario_hide_mega_park", CONFIG_VALUE_TYPE_BOOLEAN, true, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:223:2: note: (near initialization for ‘_generalDefinitions[49]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:224:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, last_save_game_directory), "last_game_directory", CONFIG_VALUE_TYPE_STRING, { .value_string = NULL }, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:224:2: note: (near initialization for ‘_generalDefinitions[50]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:225:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, last_save_landscape_directory), "last_landscape_directory", CONFIG_VALUE_TYPE_STRING, { .value_string = NULL }, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:225:2: note: (near initialization for ‘_generalDefinitions[51]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:226:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, last_save_scenario_directory), "last_scenario_directory", CONFIG_VALUE_TYPE_STRING, { .value_string = NULL }, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:226:2: note: (near initialization for ‘_generalDefinitions[52]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:227:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, last_save_track_directory), "last_track_directory", CONFIG_VALUE_TYPE_STRING, { .value_string = NULL }, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:227:2: note: (near initialization for ‘_generalDefinitions[53]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:228:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, window_limit), "window_limit", CONFIG_VALUE_TYPE_UINT8, WINDOW_LIMIT_MAX, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:228:2: note: (near initialization for ‘_generalDefinitions[54]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:229:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(general_configuration, zoom_to_cursor), "zoom_to_cursor", CONFIG_VALUE_TYPE_BOOLEAN, true, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:229:2: note: (near initialization for ‘_generalDefinitions[55]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:173:52: error: missing braces around initializer [-Werror=missing-braces] | |
config_property_definition _generalDefinitions[] = { | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:173:52: note: (near initialization for ‘_generalDefinitions’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:233:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(interface_configuration, toolbar_show_finances), "toolbar_show_finances", CONFIG_VALUE_TYPE_BOOLEAN, false, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:233:2: note: (near initialization for ‘_interfaceDefinitions[0]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:234:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(interface_configuration, toolbar_show_research), "toolbar_show_research", CONFIG_VALUE_TYPE_BOOLEAN, true, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:234:2: note: (near initialization for ‘_interfaceDefinitions[1]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:235:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(interface_configuration, toolbar_show_cheats), "toolbar_show_cheats", CONFIG_VALUE_TYPE_BOOLEAN, false, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:235:2: note: (near initialization for ‘_interfaceDefinitions[2]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:236:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(interface_configuration, toolbar_show_news), "toolbar_show_news", CONFIG_VALUE_TYPE_BOOLEAN, false, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:236:2: note: (near initialization for ‘_interfaceDefinitions[3]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:237:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(interface_configuration, select_by_track_type), "select_by_track_type", CONFIG_VALUE_TYPE_BOOLEAN, false, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:237:2: note: (near initialization for ‘_interfaceDefinitions[4]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:238:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(interface_configuration, console_small_font), "console_small_font", CONFIG_VALUE_TYPE_BOOLEAN, false, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:238:2: note: (near initialization for ‘_interfaceDefinitions[5]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:239:128: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] | |
{ offsetof(interface_configuration, current_theme_preset), "current_theme", CONFIG_VALUE_TYPE_STRING, { .value_string = "*RCT2" }, NULL }, | |
^~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:239:110: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(interface_configuration, current_theme_preset), "current_theme", CONFIG_VALUE_TYPE_STRING, { .value_string = "*RCT2" }, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:239:110: note: (near initialization for ‘_interfaceDefinitions[6].default_value’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:239:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(interface_configuration, current_theme_preset), "current_theme", CONFIG_VALUE_TYPE_STRING, { .value_string = "*RCT2" }, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:239:2: note: (near initialization for ‘_interfaceDefinitions[6]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:240:142: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers] | |
{ offsetof(interface_configuration, current_title_sequence_preset), "current_title_sequence", CONFIG_VALUE_TYPE_STRING, { .value_string = "*OPENRCT2" },NULL }, | |
^~~~~~~~~~~ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:240:124: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(interface_configuration, current_title_sequence_preset), "current_title_sequence", CONFIG_VALUE_TYPE_STRING, { .value_string = "*OPENRCT2" },NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:240:124: note: (near initialization for ‘_interfaceDefinitions[7].default_value’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:240:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(interface_configuration, current_title_sequence_preset), "current_title_sequence", CONFIG_VALUE_TYPE_STRING, { .value_string = "*OPENRCT2" },NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:240:2: note: (near initialization for ‘_interfaceDefinitions[7]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:241:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(interface_configuration, object_selection_filter_flags), "object_selection_filter_flags",CONFIG_VALUE_TYPE_UINT32, 0x7EF, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:241:2: note: (near initialization for ‘_interfaceDefinitions[8]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:232:54: error: missing braces around initializer [-Werror=missing-braces] | |
config_property_definition _interfaceDefinitions[] = { | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:232:54: note: (near initialization for ‘_interfaceDefinitions’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:245:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(sound_configuration, master_volume), "master_volume", CONFIG_VALUE_TYPE_UINT8, 100, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:245:2: note: (near initialization for ‘_soundDefinitions[0]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:246:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(sound_configuration, title_music), "title_music", CONFIG_VALUE_TYPE_UINT8, 2, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:246:2: note: (near initialization for ‘_soundDefinitions[1]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:247:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(sound_configuration, sound_enabled), "sound", CONFIG_VALUE_TYPE_BOOLEAN, true, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:247:2: note: (near initialization for ‘_soundDefinitions[2]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:248:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(sound_configuration, sound_volume), "sound_volume", CONFIG_VALUE_TYPE_UINT8, 100, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:248:2: note: (near initialization for ‘_soundDefinitions[3]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:249:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(sound_configuration, ride_music_enabled), "ride_music", CONFIG_VALUE_TYPE_BOOLEAN, true, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:249:2: note: (near initialization for ‘_soundDefinitions[4]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:250:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(sound_configuration, ride_music_volume), "ride_music_volume", CONFIG_VALUE_TYPE_UINT8, 100, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:250:2: note: (near initialization for ‘_soundDefinitions[5]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:251:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(sound_configuration, audio_focus), "audio_focus", CONFIG_VALUE_TYPE_BOOLEAN, false, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:251:2: note: (near initialization for ‘_soundDefinitions[6]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:252:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(sound_configuration, device), "audio_device", CONFIG_VALUE_TYPE_STRING, { .value_string = NULL }, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:252:2: note: (near initialization for ‘_soundDefinitions[7]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:244:50: error: missing braces around initializer [-Werror=missing-braces] | |
config_property_definition _soundDefinitions[] = { | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:244:50: note: (near initialization for ‘_soundDefinitions’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:257:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(twitch_configuration, enable_follower_peep_names), "follower_peep_names", CONFIG_VALUE_TYPE_BOOLEAN, true, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:257:2: note: (near initialization for ‘_twitchDefinitions[1]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:258:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(twitch_configuration, enable_follower_peep_tracking), "follower_peep_tracking", CONFIG_VALUE_TYPE_BOOLEAN, false, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:258:2: note: (near initialization for ‘_twitchDefinitions[2]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:259:2: error: missing braces around initializer [-Werror=missing-braces] | |
{ offsetof(twitch_configuration, enable_chat_peep_names), "chat_peep_names", CONFIG_VALUE_TYPE_BOOLEAN, true, NULL }, | |
^ | |
/home/janisozaur/workspace/OpenRCT2/src/config.c:259:2: note: (near initialization for ‘_twitchDefinitions[3]’) | |
/home/janisozaur/workspace/OpenRCT2/src/config |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment