Changes between Initial Version and Version 2 of Ticket #12421


Ignore:
Timestamp:
05/01/21 04:24:10 (3 years ago)
Author:
digitall
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12421

    • Property Keywords fails to compile removed
    • Property Component --Unset--Ports
    • Property Summary Can not compile scummvm it seems with gcc 10.3.0BUILD: Scummvm Fails to Compile with GCC v10.3.0
  • Ticket #12421 – Description

    initial v2  
    11Not sure what the error is ...
    2 
    3 
    42
    53./configure --prefix=/home/Programs/Scummvm/2.2.0/
     
    200198      |               ^~~~~~
    201199      |               Uint32
    202 ./common/str.h:84:2: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    203    84 |  uint32 _size;
    204       |  ^~~~~~
    205       |  Uint32
    206 ./common/str.h:97:17: error: ‘_builtinCapacity’ was not declared in this scope; did you mean ‘__builtin_parity’?
    207    97 |   char _storage[_builtinCapacity];
    208       |                 ^~~~~~~~~~~~~~~~
    209       |                 __builtin_parity
    210 ./common/str.h:104:4: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    211   104 |    uint32       _capacity;
    212       |    ^~~~~~
    213       |    Uint32
    214 ./common/str.h:120:26: error: ‘uint32’ has not been declared
    215   120 |  String(const char *str, uint32 len);
    216       |                          ^~~~~~
    217 ./common/str.h:177:2: error: ‘uint64’ does not name a type; did you mean ‘Uint64’?
    218   177 |  uint64 asUint64() const;
    219       |  ^~~~~~
    220       |  Uint64
    221 ./common/str.h:224:18: error: ‘uint32’ has not been declared
    222   224 |  void deleteChar(uint32 p);
    223       |                  ^~~~~~
    224 ./common/str.h:227:13: error: ‘uint32’ has not been declared
    225   227 |  void erase(uint32 p, uint32 len = npos);
    226       |             ^~~~~~
    227 ./common/str.h:227:23: error: ‘uint32’ has not been declared
    228   227 |  void erase(uint32 p, uint32 len = npos);
    229       |                       ^~~~~~
    230 ./common/str.h:233:23: error: ‘uint32’ has not been declared
    231   233 |  void setChar(char c, uint32 p);
    232       |                       ^~~~~~
    233 ./common/str.h:236:26: error: ‘uint32’ has not been declared
    234   236 |  void insertChar(char c, uint32 p);
    235       |                          ^~~~~~
    236 ./common/str.h:262:22: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    237   262 |  void wordWrap(const uint32 maxLength);
    238       |                      ^~~~~~
    239       |                      Uint32
    240 ./common/str.h:281:15: error: ‘uint32’ has not been declared
    241   281 |  void replace(uint32 pos, uint32 count, const String &str);
    242       |               ^~~~~~
    243 ./common/str.h:281:27: error: ‘uint32’ has not been declared
    244   281 |  void replace(uint32 pos, uint32 count, const String &str);
    245       |                           ^~~~~~
    246 ./common/str.h:283:15: error: ‘uint32’ has not been declared
    247   283 |  void replace(uint32 pos, uint32 count, const char *str);
    248       |               ^~~~~~
    249 ./common/str.h:283:27: error: ‘uint32’ has not been declared
    250   283 |  void replace(uint32 pos, uint32 count, const char *str);
    251       |                           ^~~~~~
    252 ./common/str.h:290:15: error: ‘uint32’ has not been declared
    253   290 |  void replace(uint32 posOri, uint32 countOri, const String &str,
    254       |               ^~~~~~
    255 ./common/str.h:290:30: error: ‘uint32’ has not been declared
    256   290 |  void replace(uint32 posOri, uint32 countOri, const String &str,
    257       |                              ^~~~~~
    258 ./common/str.h:291:6: error: ‘uint32’ has not been declared
    259   291 |      uint32 posDest, uint32 countDest);
    260       |      ^~~~~~
    261 ./common/str.h:291:22: error: ‘uint32’ has not been declared
    262   291 |      uint32 posDest, uint32 countDest);
    263       |                      ^~~~~~
    264 ./common/str.h:294:15: error: ‘uint32’ has not been declared
    265   294 |  void replace(uint32 posOri, uint32 countOri, const char *str,
    266       |               ^~~~~~
    267 ./common/str.h:294:30: error: ‘uint32’ has not been declared
    268   294 |  void replace(uint32 posOri, uint32 countOri, const char *str,
    269       |                              ^~~~~~
    270 ./common/str.h:295:6: error: ‘uint32’ has not been declared
    271   295 |      uint32 posDest, uint32 countDest);
    272       |      ^~~~~~
    273 ./common/str.h:295:22: error: ‘uint32’ has not been declared
    274   295 |      uint32 posDest, uint32 countDest);
    275       |                      ^~~~~~
    276 ./common/str.h:317:2: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    277   317 |  uint32 find(const String &str, uint32 pos = 0) const;
    278       |  ^~~~~~
    279       |  Uint32
    280 ./common/str.h:396:22: error: ‘uint32’ has not been declared
    281   396 |  void ensureCapacity(uint32 new_size, bool keep_old);
    282       |                      ^~~~~~
    283 ./common/str.h:399:37: error: ‘uint32’ has not been declared
    284   399 |  void initWithCStr(const char *str, uint32 len);
    285       |                                     ^~~~~~
    286 ./common/str.h:227:36: error: ‘npos’ was not declared in this scope
    287   227 |  void erase(uint32 p, uint32 len = npos);
    288       |                                    ^~~~
    289 ./common/str.h:326:36: error: ‘npos’ was not declared in this scope
    290   326 |  size_t rfind(char c, size_t pos = npos) const;
    291       |                                    ^~~~
    292 ./common/str.h:338:41: error: ‘npos’ was not declared in this scope
    293   338 |  size_t findLastOf(char c, size_t pos = npos) const;
    294       |                                         ^~~~
    295 ./common/str.h:341:52: error: ‘npos’ was not declared in this scope
    296   341 |  size_t findLastOf(const char *chars, size_t pos = npos) const;
    297       |                                                    ^~~~
    298 ./common/str.h:342:54: error: ‘npos’ was not declared in this scope
    299   342 |  size_t findLastOf(const String &chars, size_t pos = npos) const {
    300       |                                                      ^~~~
    301 ./common/str.h:365:45: error: ‘npos’ was not declared in this scope
    302   365 |  String substr(size_t pos = 0, size_t len = npos) const;
    303       |                                             ^~~~
    304 ./common/str.h: In member function ‘bool Common::String::isStorageIntern() const’:
    305 ./common/str.h:109:18: error: ‘_storage’ was not declared in this scope
    306   109 |   return _str == _storage;
    307       |                  ^~~~~~~~
    308 ./common/str.h: In constructor ‘Common::String::String()’:
    309 ./common/str.h:114:13: error: class ‘Common::String’ does not have any field named ‘_size’
    310   114 |  String() : _size(0), _str(_storage) { _storage[0] = 0; }
    311       |             ^~~~~
    312 ./common/str.h:114:28: error: ‘_storage’ was not declared in this scope
    313   114 |  String() : _size(0), _str(_storage) { _storage[0] = 0; }
    314       |                            ^~~~~~~~
    315 ./common/str.h: In member function ‘uint Common::String::size() const’:
    316 ./common/str.h:209:44: error: ‘_size’ was not declared in this scope; did you mean ‘size’?
    317   209 |  inline uint size() const         { return _size; }
    318       |                                            ^~~~~
    319       |                                            size
    320 ./common/str.h: In member function ‘bool Common::String::empty() const’:
    321 ./common/str.h:211:38: error: ‘_size’ was not declared in this scope; did you mean ‘size’?
    322   211 |  inline bool empty() const { return (_size == 0); }
    323       |                                      ^~~~~
    324       |                                      size
    325 ./common/str.h: In member function ‘char Common::String::firstChar() const’:
    326 ./common/str.h:212:38: error: ‘_size’ was not declared in this scope; did you mean ‘size’?
    327   212 |  char firstChar() const    { return (_size > 0) ? _str[0] : 0; }
    328       |                                      ^~~~~
    329       |                                      size
    330 ./common/str.h: In member function ‘char Common::String::lastChar() const’:
    331 ./common/str.h:213:38: error: ‘_size’ was not declared in this scope; did you mean ‘size’?
    332   213 |  char lastChar() const     { return (_size > 0) ? _str[_size - 1] : 0; }
    333       |                                      ^~~~~
    334       |                                      size
    335 In file included from ./common/scummsys.h:123,
    336                  from ./backends/platform/sdl/sdl-sys.h:32,
    337                  from ./backends/platform/sdl/sdl.h:26,
    338                  from backends/platform/sdl/sdl.cpp:25:
    339 ./common/str.h: In member function ‘char Common::String::operator[](int) const’:
    340 ./common/str.h:216:41: error: ‘_size’ was not declared in this scope; did you mean ‘size’?
    341   216 |   assert(_str && idx >= 0 && idx < (int)_size);
    342       |                                         ^~~~~
    343 In file included from ./common/util.h:27,
    344                  from ./common/algorithm.h:28,
    345                  from ./common/array.h:27,
    346                  from ./common/system.h:28,
    347                  from ./backends/base-backend.h:26,
    348                  from ./backends/modular-backend.h:26,
    349                  from ./backends/platform/sdl/sdl.h:28,
    350                  from backends/platform/sdl/sdl.cpp:25:
    351 ./common/str.h: At global scope:
    352 ./common/str.h:497:19: error: ‘uint32’ was not declared in this scope; did you mean ‘Uint32’?
    353   497 | String tag2string(uint32 tag);
    354       |                   ^~~~~~
    355       |                   Uint32
    356 In file included from ./common/algorithm.h:28,
    357                  from ./common/array.h:27,
    358                  from ./common/system.h:28,
    359                  from ./backends/base-backend.h:26,
    360                  from ./backends/modular-backend.h:26,
    361                  from ./backends/platform/sdl/sdl.h:28,
    362                  from backends/platform/sdl/sdl.cpp:25:
    363 ./common/util.h:109:27: error: ‘byte’ does not name a type
    364   109 | extern void hexdump(const byte * data, int len, int bytesPerLine = 16, int startOffset = 0);
    365       |                           ^~~~
    366 ./common/util.h:244:38: error: ‘uint64’ was not declared in this scope; did you mean ‘Uint64’?
    367   244 | Common::String getHumanReadableBytes(uint64 bytes, Common::String &unitsOut);
    368       |                                      ^~~~~~
    369       |                                      Uint64
    370 ./common/util.h:244:67: error: expected primary-expression before ‘&’ token
    371   244 | Common::String getHumanReadableBytes(uint64 bytes, Common::String &unitsOut);
    372       |                                                                   ^
    373 ./common/util.h:244:68: error: ‘unitsOut’ was not declared in this scope
    374   244 | Common::String getHumanReadableBytes(uint64 bytes, Common::String &unitsOut);
    375       |                                                                    ^~~~~~~~
    376 In file included from ./common/system.h:30,
    377                  from ./backends/base-backend.h:26,
    378                  from ./backends/modular-backend.h:26,
    379                  from ./backends/platform/sdl/sdl.h:28,
    380                  from backends/platform/sdl/sdl.cpp:25:
    381 ./graphics/pixelformat.h:137:2: error: ‘byte’ does not name a type
    382   137 |  byte bytesPerPixel; /**< Number of bytes used in the pixel format. */
    383       |  ^~~~
    384 ./graphics/pixelformat.h:139:2: error: ‘byte’ does not name a type
    385   139 |  byte rLoss, gLoss, bLoss, aLoss; /**< Precision loss of each color component. */
    386       |  ^~~~
    387 ./graphics/pixelformat.h:140:2: error: ‘byte’ does not name a type
    388   140 |  byte rShift, gShift, bShift, aShift; /**< Binary left shift of each color component in the pixel value. */
    389       |  ^~~~
    390 ./graphics/pixelformat.h:148:25: error: expected ‘)’ before ‘BytesPerPixel’
    391   148 |  inline PixelFormat(byte BytesPerPixel,
    392       |                    ~    ^~~~~~~~~~~~~~
    393       |                         )
    394 ./graphics/pixelformat.h:183:9: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    395   183 |  inline uint32 RGBToColor(uint8 r, uint8 g, uint8 b) const {
    396       |         ^~~~~~
    397       |         Uint32
    398 ./graphics/pixelformat.h:191:9: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    399   191 |  inline uint32 ARGBToColor(uint8 a, uint8 r, uint8 g, uint8 b) const {
    400       |         ^~~~~~
    401       |         Uint32
    402 ./graphics/pixelformat.h:199:25: error: ‘uint32’ has not been declared
    403   199 |  inline void colorToRGB(uint32 color, uint8 &r, uint8 &g, uint8 &b) const {
    404       |                         ^~~~~~
    405 ./graphics/pixelformat.h:199:39: error: ‘uint8’ has not been declared
    406   199 |  inline void colorToRGB(uint32 color, uint8 &r, uint8 &g, uint8 &b) const {
    407       |                                       ^~~~~
    408 ./graphics/pixelformat.h:199:49: error: ‘uint8’ has not been declared
    409   199 |  inline void colorToRGB(uint32 color, uint8 &r, uint8 &g, uint8 &b) const {
    410       |                                                 ^~~~~
    411 ./graphics/pixelformat.h:199:59: error: ‘uint8’ has not been declared
    412   199 |  inline void colorToRGB(uint32 color, uint8 &r, uint8 &g, uint8 &b) const {
    413       |                                                           ^~~~~
    414 ./graphics/pixelformat.h:205:26: error: ‘uint32’ has not been declared
    415   205 |  inline void colorToARGB(uint32 color, uint8 &a, uint8 &r, uint8 &g, uint8 &b) const {
    416       |                          ^~~~~~
    417 ./graphics/pixelformat.h:205:40: error: ‘uint8’ has not been declared
    418   205 |  inline void colorToARGB(uint32 color, uint8 &a, uint8 &r, uint8 &g, uint8 &b) const {
    419       |                                        ^~~~~
    420 ./graphics/pixelformat.h:205:50: error: ‘uint8’ has not been declared
    421   205 |  inline void colorToARGB(uint32 color, uint8 &a, uint8 &r, uint8 &g, uint8 &b) const {
    422       |                                                  ^~~~~
    423 ./graphics/pixelformat.h:205:60: error: ‘uint8’ has not been declared
    424   205 |  inline void colorToARGB(uint32 color, uint8 &a, uint8 &r, uint8 &g, uint8 &b) const {
    425       |                                                            ^~~~~
    426 ./graphics/pixelformat.h:205:70: error: ‘uint8’ has not been declared
    427   205 |  inline void colorToARGB(uint32 color, uint8 &a, uint8 &r, uint8 &g, uint8 &b) const {
    428       |                                                                      ^~~~~
    429 ./graphics/pixelformat.h:216:9: error: ‘byte’ does not name a type
    430   216 |  inline byte rBits() const {
    431       |         ^~~~
    432 ./graphics/pixelformat.h:220:9: error: ‘byte’ does not name a type
    433   220 |  inline byte gBits() const {
    434       |         ^~~~
    435 ./graphics/pixelformat.h:224:9: error: ‘byte’ does not name a type
    436   224 |  inline byte bBits() const {
    437       |         ^~~~
    438 ./graphics/pixelformat.h:228:9: error: ‘byte’ does not name a type
    439   228 |  inline byte aBits() const {
    440       |         ^~~~
    441 ./graphics/pixelformat.h:232:9: error: ‘byte’ does not name a type
    442   232 |  inline byte bpp() const {
    443       |         ^~~~
    444 ./graphics/pixelformat.h: In constructor ‘Graphics::PixelFormat::PixelFormat()’:
    445 ./graphics/pixelformat.h:143:3: error: ‘bytesPerPixel’ was not declared in this scope
    446   143 |   bytesPerPixel =
    447       |   ^~~~~~~~~~~~~
    448 ./graphics/pixelformat.h:144:3: error: ‘rLoss’ was not declared in this scope
    449   144 |   rLoss = gLoss = bLoss = aLoss =
    450       |   ^~~~~
    451 ./graphics/pixelformat.h:144:11: error: ‘gLoss’ was not declared in this scope
    452   144 |   rLoss = gLoss = bLoss = aLoss =
    453       |           ^~~~~
    454 ./graphics/pixelformat.h:144:19: error: ‘bLoss’ was not declared in this scope
    455   144 |   rLoss = gLoss = bLoss = aLoss =
    456       |                   ^~~~~
    457 ./graphics/pixelformat.h:144:27: error: ‘aLoss’ was not declared in this scope
    458   144 |   rLoss = gLoss = bLoss = aLoss =
    459       |                           ^~~~~
    460 ./graphics/pixelformat.h:145:3: error: ‘rShift’ was not declared in this scope
    461   145 |   rShift = gShift = bShift = aShift = 0;
    462       |   ^~~~~~
    463 ./graphics/pixelformat.h:145:12: error: ‘gShift’ was not declared in this scope
    464   145 |   rShift = gShift = bShift = aShift = 0;
    465       |            ^~~~~~
    466 ./graphics/pixelformat.h:145:21: error: ‘bShift’ was not declared in this scope
    467   145 |   rShift = gShift = bShift = aShift = 0;
    468       |                     ^~~~~~
    469 ./graphics/pixelformat.h:145:30: error: ‘aShift’ was not declared in this scope
    470   145 |   rShift = gShift = bShift = aShift = 0;
    471       |                              ^~~~~~
    472 ./graphics/pixelformat.h: In static member function ‘static Graphics::PixelFormat Graphics::PixelFormat::createFormatCLUT8()’:
    473 ./graphics/pixelformat.h:163:47: error: no matching function for call to ‘Graphics::PixelFormat::PixelFormat(int, int, int, int, int, int, int, int, int)’
    474   163 |   return PixelFormat(1, 0, 0, 0, 0, 0, 0, 0, 0);
    475       |                                               ^
    476 ./graphics/pixelformat.h:142:9: note: candidate: ‘Graphics::PixelFormat::PixelFormat()’
    477   142 |  inline PixelFormat() {
    478       |         ^~~~~~~~~~~
    479 ./graphics/pixelformat.h:142:9: note:   candidate expects 0 arguments, 9 provided
    480 ./graphics/pixelformat.h:136:8: note: candidate: ‘Graphics::PixelFormat::PixelFormat(const Graphics::PixelFormat&)’
    481   136 | struct PixelFormat {
    482       |        ^~~~~~~~~~~
    483 ./graphics/pixelformat.h:136:8: note:   candidate expects 1 argument, 9 provided
    484 ./graphics/pixelformat.h: In member function ‘bool Graphics::PixelFormat::operator==(const Graphics::PixelFormat&) const’:
    485 ./graphics/pixelformat.h:168:10: error: ‘bytesPerPixel’ was not declared in this scope
    486   168 |   return bytesPerPixel == fmt.bytesPerPixel &&
    487       |          ^~~~~~~~~~~~~
    488 ./graphics/pixelformat.h:168:31: error: ‘const struct Graphics::PixelFormat’ has no member named ‘bytesPerPixel’
    489   168 |   return bytesPerPixel == fmt.bytesPerPixel &&
    490       |                               ^~~~~~~~~~~~~
    491 ./graphics/pixelformat.h:169:10: error: ‘rLoss’ was not declared in this scope
    492   169 |          rLoss == fmt.rLoss &&
    493       |          ^~~~~
    494 ./graphics/pixelformat.h:169:23: error: ‘const struct Graphics::PixelFormat’ has no member named ‘rLoss’
    495   169 |          rLoss == fmt.rLoss &&
    496       |                       ^~~~~
    497 ./graphics/pixelformat.h:170:10: error: ‘gLoss’ was not declared in this scope
    498   170 |          gLoss == fmt.gLoss &&
    499       |          ^~~~~
    500 ./graphics/pixelformat.h:170:23: error: ‘const struct Graphics::PixelFormat’ has no member named ‘gLoss’
    501   170 |          gLoss == fmt.gLoss &&
    502       |                       ^~~~~
    503 ./graphics/pixelformat.h:171:10: error: ‘bLoss’ was not declared in this scope
    504   171 |          bLoss == fmt.bLoss &&
    505       |          ^~~~~
    506 ./graphics/pixelformat.h:171:23: error: ‘const struct Graphics::PixelFormat’ has no member named ‘bLoss’
    507   171 |          bLoss == fmt.bLoss &&
    508       |                       ^~~~~
    509 ./graphics/pixelformat.h:172:10: error: ‘aLoss’ was not declared in this scope
    510   172 |          aLoss == fmt.aLoss &&
    511       |          ^~~~~
    512 ./graphics/pixelformat.h:172:23: error: ‘const struct Graphics::PixelFormat’ has no member named ‘aLoss’
    513   172 |          aLoss == fmt.aLoss &&
    514       |                       ^~~~~
    515 ./graphics/pixelformat.h:173:10: error: ‘rShift’ was not declared in this scope
    516   173 |          rShift == fmt.rShift &&
    517       |          ^~~~~~
    518 ./graphics/pixelformat.h:173:24: error: ‘const struct Graphics::PixelFormat’ has no member named ‘rShift’
    519   173 |          rShift == fmt.rShift &&
    520       |                        ^~~~~~
    521 ./graphics/pixelformat.h:174:10: error: ‘gShift’ was not declared in this scope
    522   174 |          gShift == fmt.gShift &&
    523       |          ^~~~~~
    524 ./graphics/pixelformat.h:174:24: error: ‘const struct Graphics::PixelFormat’ has no member named ‘gShift’
    525   174 |          gShift == fmt.gShift &&
    526       |                        ^~~~~~
    527 ./graphics/pixelformat.h:175:10: error: ‘bShift’ was not declared in this scope
    528   175 |          bShift == fmt.bShift &&
    529       |          ^~~~~~
    530 ./graphics/pixelformat.h:175:24: error: ‘const struct Graphics::PixelFormat’ has no member named ‘bShift’
    531   175 |          bShift == fmt.bShift &&
    532       |                        ^~~~~~
    533 ./graphics/pixelformat.h:176:10: error: ‘aShift’ was not declared in this scope
    534   176 |          aShift == fmt.aShift;
    535       |          ^~~~~~
    536 ./graphics/pixelformat.h:176:24: error: ‘const struct Graphics::PixelFormat’ has no member named ‘aShift’
    537   176 |          aShift == fmt.aShift;
    538       |                        ^~~~~~
    539 ./graphics/pixelformat.h: In member function ‘void Graphics::PixelFormat::colorToRGB(int, int&, int&, int&) const’:
    540 ./graphics/pixelformat.h:200:14: error: ‘rBits’ was not declared in this scope
    541   200 |   r = expand(rBits(), color >> rShift);
    542       |              ^~~~~
    543 ./graphics/pixelformat.h:200:32: error: ‘rShift’ was not declared in this scope
    544   200 |   r = expand(rBits(), color >> rShift);
    545       |                                ^~~~~~
    546 ./graphics/pixelformat.h:201:14: error: ‘gBits’ was not declared in this scope
    547   201 |   g = expand(gBits(), color >> gShift);
    548       |              ^~~~~
    549 ./graphics/pixelformat.h:201:32: error: ‘gShift’ was not declared in this scope
    550   201 |   g = expand(gBits(), color >> gShift);
    551       |                                ^~~~~~
    552 ./graphics/pixelformat.h:202:14: error: ‘bBits’ was not declared in this scope
    553   202 |   b = expand(bBits(), color >> bShift);
    554       |              ^~~~~
    555 ./graphics/pixelformat.h:202:32: error: ‘bShift’ was not declared in this scope
    556   202 |   b = expand(bBits(), color >> bShift);
    557       |                                ^~~~~~
    558 ./graphics/pixelformat.h: In member function ‘void Graphics::PixelFormat::colorToARGB(int, int&, int&, int&, int&) const’:
    559 ./graphics/pixelformat.h:206:8: error: ‘aBits’ was not declared in this scope
    560   206 |   a = (aBits() == 0) ? 0xFF : expand(aBits(), color >> aShift);
    561       |        ^~~~~
    562 ./graphics/pixelformat.h:206:56: error: ‘aShift’ was not declared in this scope
    563   206 |   a = (aBits() == 0) ? 0xFF : expand(aBits(), color >> aShift);
    564       |                                                        ^~~~~~
    565 ./graphics/pixelformat.h:207:14: error: ‘rBits’ was not declared in this scope
    566   207 |   r = expand(rBits(), color >> rShift);
    567       |              ^~~~~
    568 ./graphics/pixelformat.h:207:32: error: ‘rShift’ was not declared in this scope
    569   207 |   r = expand(rBits(), color >> rShift);
    570       |                                ^~~~~~
    571 ./graphics/pixelformat.h:208:14: error: ‘gBits’ was not declared in this scope
    572   208 |   g = expand(gBits(), color >> gShift);
    573       |              ^~~~~
    574 ./graphics/pixelformat.h:208:32: error: ‘gShift’ was not declared in this scope
    575   208 |   g = expand(gBits(), color >> gShift);
    576       |                                ^~~~~~
    577 ./graphics/pixelformat.h:209:14: error: ‘bBits’ was not declared in this scope
    578   209 |   b = expand(bBits(), color >> bShift);
    579       |              ^~~~~
    580 ./graphics/pixelformat.h:209:32: error: ‘bShift’ was not declared in this scope
    581   209 |   b = expand(bBits(), color >> bShift);
    582       |                                ^~~~~~
    583 ./graphics/pixelformat.h: In member function ‘uint Graphics::PixelFormat::rMax() const’:
    584 ./graphics/pixelformat.h:241:16: error: ‘rBits’ was not declared in this scope
    585   241 |   return (1 << rBits()) - 1;
    586       |                ^~~~~
    587 ./graphics/pixelformat.h: In member function ‘uint Graphics::PixelFormat::gMax() const’:
    588 ./graphics/pixelformat.h:245:16: error: ‘gBits’ was not declared in this scope
    589   245 |   return (1 << gBits()) - 1;
    590       |                ^~~~~
    591 ./graphics/pixelformat.h: In member function ‘uint Graphics::PixelFormat::bMax() const’:
    592 ./graphics/pixelformat.h:249:16: error: ‘bBits’ was not declared in this scope
    593   249 |   return (1 << bBits()) - 1;
    594       |                ^~~~~
    595 ./graphics/pixelformat.h: In member function ‘uint Graphics::PixelFormat::aMax() const’:
    596 ./graphics/pixelformat.h:253:16: error: ‘aBits’ was not declared in this scope
    597   253 |   return (1 << aBits()) - 1;
    598       |                ^~~~~
    599 In file included from ./common/system.h:31,
    600                  from ./backends/base-backend.h:26,
    601                  from ./backends/modular-backend.h:26,
    602                  from ./backends/platform/sdl/sdl.h:28,
    603                  from backends/platform/sdl/sdl.cpp:25:
    604 ./graphics/mode.h: At global scope:
    605 ./graphics/mode.h:34:2: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    606    34 |  int16 width; ///< The width in pixels
    607       |  ^~~~~
    608       |  Uint16
    609 ./graphics/mode.h:35:2: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    610    35 |  int16 height; ///< The height in pixels
    611       |  ^~~~~
    612       |  Uint16
    613 ./graphics/mode.h:37:13: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    614    37 |  Mode(const int16 w, const int16 h) :
    615       |             ^~~~~
    616       |             Uint16
    617 ./graphics/mode.h:37:28: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    618    37 |  Mode(const int16 w, const int16 h) :
    619       |                            ^~~~~
    620       |                            Uint16
    621 ./graphics/mode.h: In constructor ‘Graphics::Mode::Mode(int, int)’:
    622 ./graphics/mode.h:38:3: error: class ‘Graphics::Mode’ does not have any field named ‘width’
    623    38 |   width(w),
    624       |   ^~~~~
    625 ./graphics/mode.h:39:3: error: class ‘Graphics::Mode’ does not have any field named ‘height’
    626    39 |   height(h) {}
    627       |   ^~~~~~
    628 ./graphics/mode.h: In member function ‘bool Graphics::Mode::operator<(const Graphics::Mode&) const’:
    629 ./graphics/mode.h:42:10: error: ‘width’ was not declared in this scope; did you mean ‘wcwidth’?
    630    42 |   return width < other.width && height < other.height;
    631       |          ^~~~~
    632       |          wcwidth
    633 ./graphics/mode.h:42:24: error: ‘const struct Graphics::Mode’ has no member named ‘width’
    634    42 |   return width < other.width && height < other.height;
    635       |                        ^~~~~
    636 ./graphics/mode.h:42:33: error: ‘height’ was not declared in this scope; did you mean ‘CWHeight’?
    637    42 |   return width < other.width && height < other.height;
    638       |                                 ^~~~~~
    639       |                                 CWHeight
    640 ./graphics/mode.h:42:48: error: ‘const struct Graphics::Mode’ has no member named ‘height’
    641    42 |   return width < other.width && height < other.height;
    642       |                                                ^~~~~~
    643 In file included from ./backends/base-backend.h:26,
    644                  from ./backends/modular-backend.h:26,
    645                  from ./backends/platform/sdl/sdl.h:28,
    646                  from backends/platform/sdl/sdl.cpp:25:
    647 ./common/system.h: At global scope:
    648 ./common/system.h:852:10: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    649   852 |  virtual int16 getHeight() = 0;
    650       |          ^~~~~
    651       |          Uint16
    652 ./common/system.h:859:10: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    653   859 |  virtual int16 getWidth() = 0;
    654       |          ^~~~~
    655       |          Uint16
    656 ./common/system.h:921:26: error: ‘uint32’ has not been declared
    657   921 |  virtual void fillScreen(uint32 col) = 0;
    658       |                          ^~~~~~
    659 ./common/system.h:1046:10: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    660  1046 |  virtual int16 getOverlayHeight() = 0;
    661       |          ^~~~~
    662       |          Uint16
    663 ./common/system.h:1052:10: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    664  1052 |  virtual int16 getOverlayWidth() = 0;
    665       |          ^~~~~
    666       |          Uint16
    667 ./common/system.h:1102:91: error: ‘uint32’ has not been declared
    668  1102 |  virtual void setMouseCursor(const void *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor, bool dontScale = false, const Graphics::PixelFormat *format = nullptr) = 0;
    669       |                                                                                           ^~~~~~
    670 In file included from ./backends/base-backend.h:26,
    671                  from ./backends/modular-backend.h:26,
    672                  from ./backends/platform/sdl/sdl.h:28,
    673                  from backends/platform/sdl/sdl.cpp:25:
    674 ./common/system.h:1114:38: error: ‘byte’ does not name a type
    675  1114 |  virtual void setCursorPalette(const byte *colors, uint start, uint num) {}
    676       |                                      ^~~~
    677 ./common/system.h:1130:10: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    678  1130 |  virtual uint32 getMillis(bool skipRecord = false) = 0;
    679       |          ^~~~~~
    680       |          Uint32
    681 In file included from ./common/events.h:26,
    682                  from ./backends/base-backend.h:27,
    683                  from ./backends/modular-backend.h:26,
    684                  from ./backends/platform/sdl/sdl.h:28,
    685                  from backends/platform/sdl/sdl.cpp:25:
    686 ./common/keyboard.h:301:2: error: ‘uint16’ does not name a type; did you mean ‘Uint16’?
    687   301 |  uint16 ascii;
    688       |  ^~~~~~
    689       |  Uint16
    690 ./common/keyboard.h:314:2: error: ‘byte’ does not name a type
    691   314 |  byte flags;
    692       |  ^~~~
    693 ./common/keyboard.h:322:23: error: ‘uint16’ has not been declared
    694   322 |  KeyState(KeyCode kc, uint16 asc, byte f = 0) {
    695       |                       ^~~~~~
    696 ./common/keyboard.h:322:35: error: ‘byte’ has not been declared
    697   322 |  KeyState(KeyCode kc, uint16 asc, byte f = 0) {
    698       |                                   ^~~~
    699 ./common/keyboard.h:342:16: error: ‘byte’ has not been declared
    700   342 |  bool hasFlags(byte f) const {
    701       |                ^~~~
    702 ./common/keyboard.h: In constructor ‘Common::KeyState::KeyState(Common::KeyCode)’:
    703 ./common/keyboard.h:318:3: error: ‘ascii’ was not declared in this scope; did you mean ‘toascii’?
    704   318 |   ascii = (uint16)kc;
    705       |   ^~~~~
    706       |   toascii
    707 ./common/keyboard.h:318:12: error: ‘uint16’ was not declared in this scope; did you mean ‘Uint16’?
    708   318 |   ascii = (uint16)kc;
    709       |            ^~~~~~
    710       |            Uint16
    711 ./common/keyboard.h:319:3: error: ‘flags’ was not declared in this scope
    712   319 |   flags = 0;
    713       |   ^~~~~
    714 ./common/keyboard.h: In constructor ‘Common::KeyState::KeyState(Common::KeyCode, int, int)’:
    715 ./common/keyboard.h:324:3: error: ‘ascii’ was not declared in this scope; did you mean ‘toascii’?
    716   324 |   ascii = asc;
    717       |   ^~~~~
    718       |   toascii
    719 ./common/keyboard.h:325:3: error: ‘flags’ was not declared in this scope
    720   325 |   flags = f;
    721       |   ^~~~~
    722 ./common/keyboard.h: In member function ‘void Common::KeyState::reset()’:
    723 ./common/keyboard.h:330:3: error: ‘ascii’ was not declared in this scope; did you mean ‘toascii’?
    724   330 |   ascii = flags = 0;
    725       |   ^~~~~
    726       |   toascii
    727 ./common/keyboard.h:330:11: error: ‘flags’ was not declared in this scope
    728   330 |   ascii = flags = 0;
    729       |           ^~~~~
    730 ./common/keyboard.h: In member function ‘bool Common::KeyState::hasFlags(int) const’:
    731 ./common/keyboard.h:344:16: error: ‘flags’ was not declared in this scope
    732   344 |   return f == (flags & ~KBD_STICKY);
    733       |                ^~~~~
    734 ./common/keyboard.h: In member function ‘bool Common::KeyState::operator==(const Common::KeyState&) const’:
    735 ./common/keyboard.h:355:45: error: ‘const struct Common::KeyState’ has no member named ‘flags’
    736   355 |   return keycode == x.keycode && hasFlags(x.flags & ~KBD_STICKY);
    737       |                                             ^~~~~
    738 In file included from ./common/rect.h:28,
    739                  from ./common/events.h:28,
    740                  from ./backends/base-backend.h:27,
    741                  from ./backends/modular-backend.h:26,
    742                  from ./backends/platform/sdl/sdl.h:28,
    743                  from backends/platform/sdl/sdl.cpp:25:
    744 ./common/debug.h: At global scope:
    745 ./common/debug.h:79:24: error: ‘uint32’ has not been declared
    746    79 | void debugC(int level, uint32 debugChannels, const char *s, ...) GCC_PRINTF(3, 4);
    747       |                        ^~~~~~
    748 ./common/debug.h:90:25: error: ‘uint32’ has not been declared
    749    90 | void debugCN(int level, uint32 debugChannels, const char *s, ...) GCC_PRINTF(3, 4);
    750       |                         ^~~~~~
    751 ./common/debug.h:99:6: error: variable or field ‘debugC’ declared void
    752    99 | void debugC(uint32 debugChannels, const char *s, ...) GCC_PRINTF(2, 3);
    753       |      ^~~~~~
    754 ./common/debug.h:99:13: error: ‘uint32’ was not declared in this scope; did you mean ‘Uint32’?
    755    99 | void debugC(uint32 debugChannels, const char *s, ...) GCC_PRINTF(2, 3);
    756       |             ^~~~~~
    757       |             Uint32
    758 ./common/debug.h:99:35: error: expected primary-expression before ‘const’
    759    99 | void debugC(uint32 debugChannels, const char *s, ...) GCC_PRINTF(2, 3);
    760       |                                   ^~~~~
    761 ./common/debug.h:99:50: error: expected primary-expression before ‘...’ token
    762    99 | void debugC(uint32 debugChannels, const char *s, ...) GCC_PRINTF(2, 3);
    763       |                                                  ^~~
    764 In file included from ./backends/platform/sdl/sdl-sys.h:32,
    765                  from ./backends/platform/sdl/sdl.h:26,
    766                  from backends/platform/sdl/sdl.cpp:25:
    767 ./common/scummsys.h:341:71: error: attributes after parenthesized initializer ignored [-fpermissive]
    768   341 |   #define GCC_PRINTF(x,y) __attribute__((__format__(__printf__, x, y)))
    769       |                                                                       ^
    770 ./common/debug.h:99:55: note: in expansion of macro ‘GCC_PRINTF’
    771    99 | void debugC(uint32 debugChannels, const char *s, ...) GCC_PRINTF(2, 3);
    772       |                                                       ^~~~~~~~~~
    773 In file included from ./common/rect.h:28,
    774                  from ./common/events.h:28,
    775                  from ./backends/base-backend.h:27,
    776                  from ./backends/modular-backend.h:26,
    777                  from ./backends/platform/sdl/sdl.h:28,
    778                  from backends/platform/sdl/sdl.cpp:25:
    779 ./common/debug.h:108:6: error: variable or field ‘debugCN’ declared void
    780   108 | void debugCN(uint32 debugChannels, const char *s, ...) GCC_PRINTF(2, 3);
    781       |      ^~~~~~~
    782 ./common/debug.h:108:14: error: ‘uint32’ was not declared in this scope; did you mean ‘Uint32’?
    783   108 | void debugCN(uint32 debugChannels, const char *s, ...) GCC_PRINTF(2, 3);
    784       |              ^~~~~~
    785       |              Uint32
    786 ./common/debug.h:108:36: error: expected primary-expression before ‘const’
    787   108 | void debugCN(uint32 debugChannels, const char *s, ...) GCC_PRINTF(2, 3);
    788       |                                    ^~~~~
    789 ./common/debug.h:108:51: error: expected primary-expression before ‘...’ token
    790   108 | void debugCN(uint32 debugChannels, const char *s, ...) GCC_PRINTF(2, 3);
    791       |                                                   ^~~
    792 In file included from ./backends/platform/sdl/sdl-sys.h:32,
    793                  from ./backends/platform/sdl/sdl.h:26,
    794                  from backends/platform/sdl/sdl.cpp:25:
    795 ./common/scummsys.h:341:71: error: attributes after parenthesized initializer ignored [-fpermissive]
    796   341 |   #define GCC_PRINTF(x,y) __attribute__((__format__(__printf__, x, y)))
    797       |                                                                       ^
    798 ./common/debug.h:108:56: note: in expansion of macro ‘GCC_PRINTF’
    799   108 | void debugCN(uint32 debugChannels, const char *s, ...) GCC_PRINTF(2, 3);
    800       |                                                        ^~~~~~~~~~
    801 In file included from ./common/rect.h:28,
    802                  from ./common/events.h:28,
    803                  from ./backends/base-backend.h:27,
    804                  from ./backends/modular-backend.h:26,
    805                  from ./backends/platform/sdl/sdl.h:28,
    806                  from backends/platform/sdl/sdl.cpp:25:
    807 ./common/debug.h:123:33: error: ‘uint32’ has not been declared
    808   123 | bool debugChannelSet(int level, uint32 debugChannels);
    809       |                                 ^~~~~~
    810 In file included from ./common/events.h:28,
    811                  from ./backends/base-backend.h:27,
    812                  from ./backends/modular-backend.h:26,
    813                  from ./backends/platform/sdl/sdl.h:28,
    814                  from backends/platform/sdl/sdl.cpp:25:
    815 ./common/rect.h:38:2: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    816    38 |  int16 x; ///< The horizontal part of the point
    817       |  ^~~~~
    818       |  Uint16
    819 ./common/rect.h:39:2: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    820    39 |  int16 y; ///< The vertical part of the point
    821       |  ^~~~~
    822       |  Uint16
    823 ./common/rect.h:42:13: error: expected ‘)’ before ‘x1’
    824    42 |  Point(int16 x1, int16 y1) : x(x1), y(y1) {}
    825       |       ~     ^~~
    826       |             )
    827 ./common/rect.h: In constructor ‘Common::Point::Point()’:
    828 ./common/rect.h:41:12: error: class ‘Common::Point’ does not have any field named ‘x’
    829    41 |  Point() : x(0), y(0) {}
    830       |            ^
    831 ./common/rect.h:41:18: error: class ‘Common::Point’ does not have any field named ‘y’
    832    41 |  Point() : x(0), y(0) {}
    833       |                  ^
    834 ./common/rect.h: In member function ‘bool Common::Point::operator==(const Common::Point&) const’:
    835 ./common/rect.h:43:53: error: ‘x’ was not declared in this scope
    836    43 |  bool  operator==(const Point &p)    const { return x == p.x && y == p.y; }
    837       |                                                     ^
    838 ./common/rect.h:43:60: error: ‘const struct Common::Point’ has no member named ‘x’
    839    43 |  bool  operator==(const Point &p)    const { return x == p.x && y == p.y; }
    840       |                                                            ^
    841 ./common/rect.h:43:65: error: ‘y’ was not declared in this scope; did you mean ‘yn’?
    842    43 |  bool  operator==(const Point &p)    const { return x == p.x && y == p.y; }
    843       |                                                                 ^
    844       |                                                                 yn
    845 ./common/rect.h:43:72: error: ‘const struct Common::Point’ has no member named ‘y’
    846    43 |  bool  operator==(const Point &p)    const { return x == p.x && y == p.y; }
    847       |                                                                        ^
    848 ./common/rect.h: In member function ‘bool Common::Point::operator!=(const Common::Point&) const’:
    849 ./common/rect.h:44:53: error: ‘x’ was not declared in this scope
    850    44 |  bool  operator!=(const Point &p)    const { return x != p.x || y != p.y; }
    851       |                                                     ^
    852 ./common/rect.h:44:60: error: ‘const struct Common::Point’ has no member named ‘x’
    853    44 |  bool  operator!=(const Point &p)    const { return x != p.x || y != p.y; }
    854       |                                                            ^
    855 ./common/rect.h:44:65: error: ‘y’ was not declared in this scope; did you mean ‘yn’?
    856    44 |  bool  operator!=(const Point &p)    const { return x != p.x || y != p.y; }
    857       |                                                                 ^
    858       |                                                                 yn
    859 ./common/rect.h:44:72: error: ‘const struct Common::Point’ has no member named ‘y’
    860    44 |  bool  operator!=(const Point &p)    const { return x != p.x || y != p.y; }
    861       |                                                                        ^
    862 ./common/rect.h: In member function ‘Common::Point Common::Point::operator+(const Common::Point&) const’:
    863 ./common/rect.h:45:59: error: ‘x’ was not declared in this scope
    864    45 |  Point operator+(const Point &delta) const { return Point(x + delta.x, y + delta.y); }
    865       |                                                           ^
    866 ./common/rect.h:45:69: error: ‘const struct Common::Point’ has no member named ‘x’
    867    45 |  Point operator+(const Point &delta) const { return Point(x + delta.x, y + delta.y); }
    868       |                                                                     ^
    869 ./common/rect.h:45:72: error: ‘y’ was not declared in this scope; did you mean ‘yn’?
    870    45 |  Point operator+(const Point &delta) const { return Point(x + delta.x, y + delta.y); }
    871       |                                                                        ^
    872       |                                                                        yn
    873 ./common/rect.h:45:82: error: ‘const struct Common::Point’ has no member named ‘y’
    874    45 |  Point operator+(const Point &delta) const { return Point(x + delta.x, y + delta.y); }
    875       |                                                                                  ^
    876 ./common/rect.h: In member function ‘Common::Point Common::Point::operator-(const Common::Point&) const’:
    877 ./common/rect.h:46:59: error: ‘x’ was not declared in this scope
    878    46 |  Point operator-(const Point &delta) const { return Point(x - delta.x, y - delta.y); }
    879       |                                                           ^
    880 ./common/rect.h:46:69: error: ‘const struct Common::Point’ has no member named ‘x’
    881    46 |  Point operator-(const Point &delta) const { return Point(x - delta.x, y - delta.y); }
    882       |                                                                     ^
    883 ./common/rect.h:46:72: error: ‘y’ was not declared in this scope; did you mean ‘yn’?
    884    46 |  Point operator-(const Point &delta) const { return Point(x - delta.x, y - delta.y); }
    885       |                                                                        ^
    886       |                                                                        yn
    887 ./common/rect.h:46:82: error: ‘const struct Common::Point’ has no member named ‘y’
    888    46 |  Point operator-(const Point &delta) const { return Point(x - delta.x, y - delta.y); }
    889       |                                                                                  ^
    890 ./common/rect.h: In member function ‘void Common::Point::operator+=(const Common::Point&)’:
    891 ./common/rect.h:49:3: error: ‘x’ was not declared in this scope
    892    49 |   x += delta.x;
    893       |   ^
    894 ./common/rect.h:49:14: error: ‘const struct Common::Point’ has no member named ‘x’
    895    49 |   x += delta.x;
    896       |              ^
    897 ./common/rect.h:50:3: error: ‘y’ was not declared in this scope; did you mean ‘yn’?
    898    50 |   y += delta.y;
    899       |   ^
    900       |   yn
    901 ./common/rect.h:50:14: error: ‘const struct Common::Point’ has no member named ‘y’
    902    50 |   y += delta.y;
    903       |              ^
    904 ./common/rect.h: In member function ‘void Common::Point::operator-=(const Common::Point&)’:
    905 ./common/rect.h:54:3: error: ‘x’ was not declared in this scope
    906    54 |   x -= delta.x;
    907       |   ^
    908 ./common/rect.h:54:14: error: ‘const struct Common::Point’ has no member named ‘x’
    909    54 |   x -= delta.x;
    910       |              ^
    911 ./common/rect.h:55:3: error: ‘y’ was not declared in this scope; did you mean ‘yn’?
    912    55 |   y -= delta.y;
    913       |   ^
    914       |   yn
    915 ./common/rect.h:55:14: error: ‘const struct Common::Point’ has no member named ‘y’
    916    55 |   y -= delta.y;
    917       |              ^
    918 ./common/rect.h: In member function ‘uint Common::Point::sqrDist(const Common::Point&) const’:
    919 ./common/rect.h:65:21: error: ‘const struct Common::Point’ has no member named ‘x’
    920    65 |   int diffx = ABS(p.x - x);
    921       |                     ^
    922 ./common/rect.h:65:25: error: ‘x’ was not declared in this scope
    923    65 |   int diffx = ABS(p.x - x);
    924       |                         ^
    925 ./common/rect.h:69:21: error: ‘const struct Common::Point’ has no member named ‘y’
    926    69 |   int diffy = ABS(p.y - y);
    927       |                     ^
    928 ./common/rect.h:69:25: error: ‘y’ was not declared in this scope; did you mean ‘yn’?
    929    69 |   int diffy = ABS(p.y - y);
    930       |                         ^
    931       |                         yn
    932 ./common/rect.h: At global scope:
    933 ./common/rect.h:96:2: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    934    96 |  int16 top, left;  ///< The point at the top left of the rectangle (part of the rect).
    935       |  ^~~~~
    936       |  Uint16
    937 ./common/rect.h:97:2: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    938    97 |  int16 bottom, right; ///< The point at the bottom right of the rectangle (not part of the rect).
    939       |  ^~~~~
    940       |  Uint16
    941 ./common/rect.h:100:12: error: expected ‘)’ before ‘w’
    942   100 |  Rect(int16 w, int16 h) : top(0), left(0), bottom(h), right(w) {}
    943       |      ~     ^~
    944       |            )
    945 ./common/rect.h:101:12: error: expected ‘)’ before ‘x1’
    946   101 |  Rect(int16 x1, int16 y1, int16 x2, int16 y2) : top(y1), left(x1), bottom(y2), right(x2) {
    947       |      ~     ^~~
    948       |            )
    949 ./common/rect.h:107:2: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    950   107 |  int16 width() const { return right - left; }
    951       |  ^~~~~
    952       |  Uint16
    953 ./common/rect.h:108:2: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    954   108 |  int16 height() const { return bottom - top; }
    955       |  ^~~~~
    956       |  Uint16
    957 ./common/rect.h:110:16: error: ‘int16’ has not been declared
    958   110 |  void setWidth(int16 aWidth) {
    959       |                ^~~~~
    960 ./common/rect.h:114:17: error: ‘int16’ has not been declared
    961   114 |  void setHeight(int16 aHeight) {
    962       |                 ^~~~~
    963 ./common/rect.h:126:16: error: ‘int16’ has not been declared
    964   126 |  bool contains(int16 x, int16 y) const {
    965       |                ^~~~~
    966 ./common/rect.h:126:25: error: ‘int16’ has not been declared
    967   126 |  bool contains(int16 x, int16 y) const {
    968       |                         ^~~~~
    969 ./common/rect.h:206:12: error: ‘int16’ has not been declared
    970   206 |  void grow(int16 offset) {
    971       |            ^~~~~
    972 ./common/rect.h:230:12: error: ‘int16’ has not been declared
    973   230 |  void clip(int16 maxw, int16 maxh) {
    974       |            ^~~~~
    975 ./common/rect.h:230:24: error: ‘int16’ has not been declared
    976   230 |  void clip(int16 maxw, int16 maxh) {
    977       |                        ^~~~~
    978 ./common/rect.h:242:14: error: ‘int16’ has not been declared
    979   242 |  void moveTo(int16 x, int16 y) {
    980       |              ^~~~~
    981 ./common/rect.h:242:23: error: ‘int16’ has not been declared
    982   242 |  void moveTo(int16 x, int16 y) {
    983       |                       ^~~~~
    984 ./common/rect.h:249:17: error: ‘int16’ has not been declared
    985   249 |  void translate(int16 dx, int16 dy) {
    986       |                 ^~~~~
    987 ./common/rect.h:249:27: error: ‘int16’ has not been declared
    988   249 |  void translate(int16 dx, int16 dy) {
    989       |                           ^~~~~
    990 ./common/rect.h:266:21: error: ‘int16’ has not been declared
    991   266 |  static Rect center(int16 cx, int16 cy, int16 w, int16 h) {
    992       |                     ^~~~~
    993 ./common/rect.h:266:31: error: ‘int16’ has not been declared
    994   266 |  static Rect center(int16 cx, int16 cy, int16 w, int16 h) {
    995       |                               ^~~~~
    996 ./common/rect.h:266:41: error: ‘int16’ has not been declared
    997   266 |  static Rect center(int16 cx, int16 cy, int16 w, int16 h) {
    998       |                                         ^~~~~
    999 ./common/rect.h:266:50: error: ‘int16’ has not been declared
    1000   266 |  static Rect center(int16 cx, int16 cy, int16 w, int16 h) {
    1001       |                                                  ^~~~~
    1002 ./common/rect.h: In constructor ‘Common::Rect::Rect()’:
    1003 ./common/rect.h:99:11: error: class ‘Common::Rect’ does not have any field named ‘top’
    1004    99 |  Rect() : top(0), left(0), bottom(0), right(0) {}
    1005       |           ^~~
    1006 ./common/rect.h:99:19: error: class ‘Common::Rect’ does not have any field named ‘left’
    1007    99 |  Rect() : top(0), left(0), bottom(0), right(0) {}
    1008       |                   ^~~~
    1009 ./common/rect.h:99:28: error: class ‘Common::Rect’ does not have any field named ‘bottom’
    1010    99 |  Rect() : top(0), left(0), bottom(0), right(0) {}
    1011       |                            ^~~~~~
    1012 ./common/rect.h:99:39: error: class ‘Common::Rect’ does not have any field named ‘right’
    1013    99 |  Rect() : top(0), left(0), bottom(0), right(0) {}
    1014       |                                       ^~~~~
    1015 ./common/rect.h: In member function ‘void Common::Rect::setWidth(int)’:
    1016 ./common/rect.h:111:3: error: ‘right’ was not declared in this scope
    1017   111 |   right = left + aWidth;
    1018       |   ^~~~~
    1019 ./common/rect.h:111:11: error: ‘left’ was not declared in this scope
    1020   111 |   right = left + aWidth;
    1021       |           ^~~~
    1022 ./common/rect.h: In member function ‘void Common::Rect::setHeight(int)’:
    1023 ./common/rect.h:115:3: error: ‘bottom’ was not declared in this scope
    1024   115 |   bottom = top + aHeight;
    1025       |   ^~~~~~
    1026 ./common/rect.h:115:12: error: ‘top’ was not declared in this scope
    1027   115 |   bottom = top + aHeight;
    1028       |            ^~~
    1029 ./common/rect.h: In member function ‘bool Common::Rect::contains(int, int) const’:
    1030 ./common/rect.h:127:11: error: ‘left’ was not declared in this scope
    1031   127 |   return (left <= x) && (x < right) && (top <= y) && (y < bottom);
    1032       |           ^~~~
    1033 ./common/rect.h:127:30: error: ‘right’ was not declared in this scope
    1034   127 |   return (left <= x) && (x < right) && (top <= y) && (y < bottom);
    1035       |                              ^~~~~
    1036 ./common/rect.h:127:41: error: ‘top’ was not declared in this scope
    1037   127 |   return (left <= x) && (x < right) && (top <= y) && (y < bottom);
    1038       |                                         ^~~
    1039 ./common/rect.h:127:59: error: ‘bottom’ was not declared in this scope
    1040   127 |   return (left <= x) && (x < right) && (top <= y) && (y < bottom);
    1041       |                                                           ^~~~~~
    1042 ./common/rect.h: In member function ‘bool Common::Rect::contains(const Common::Point&) const’:
    1043 ./common/rect.h:138:21: error: ‘const struct Common::Point’ has no member named ‘x’
    1044   138 |   return contains(p.x, p.y);
    1045       |                     ^
    1046 ./common/rect.h:138:26: error: ‘const struct Common::Point’ has no member named ‘y’
    1047   138 |   return contains(p.x, p.y);
    1048       |                          ^
    1049 ./common/rect.h: In member function ‘bool Common::Rect::contains(const Common::Rect&) const’:
    1050 ./common/rect.h:149:11: error: ‘left’ was not declared in this scope
    1051   149 |   return (left <= r.left) && (r.right <= right) && (top <= r.top) && (r.bottom <= bottom);
    1052       |           ^~~~
    1053 ./common/rect.h:149:21: error: ‘const struct Common::Rect’ has no member named ‘left’
    1054   149 |   return (left <= r.left) && (r.right <= right) && (top <= r.top) && (r.bottom <= bottom);
    1055       |                     ^~~~
    1056 ./common/rect.h:149:33: error: ‘const struct Common::Rect’ has no member named ‘right’
    1057   149 |   return (left <= r.left) && (r.right <= right) && (top <= r.top) && (r.bottom <= bottom);
    1058       |                                 ^~~~~
    1059 ./common/rect.h:149:42: error: ‘right’ was not declared in this scope
    1060   149 |   return (left <= r.left) && (r.right <= right) && (top <= r.top) && (r.bottom <= bottom);
    1061       |                                          ^~~~~
    1062 ./common/rect.h:149:53: error: ‘top’ was not declared in this scope
    1063   149 |   return (left <= r.left) && (r.right <= right) && (top <= r.top) && (r.bottom <= bottom);
    1064       |                                                     ^~~
    1065 ./common/rect.h:149:62: error: ‘const struct Common::Rect’ has no member named ‘top’
    1066   149 |   return (left <= r.left) && (r.right <= right) && (top <= r.top) && (r.bottom <= bottom);
    1067       |                                                              ^~~
    1068 ./common/rect.h:149:73: error: ‘const struct Common::Rect’ has no member named ‘bottom’
    1069   149 |   return (left <= r.left) && (r.right <= right) && (top <= r.top) && (r.bottom <= bottom);
    1070       |                                                                         ^~~~~~
    1071 ./common/rect.h:149:83: error: ‘bottom’ was not declared in this scope
    1072   149 |   return (left <= r.left) && (r.right <= right) && (top <= r.top) && (r.bottom <= bottom);
    1073       |                                                                                   ^~~~~~
    1074 ./common/rect.h: In member function ‘bool Common::Rect::equals(const Common::Rect&) const’:
    1075 ./common/rect.h:160:11: error: ‘left’ was not declared in this scope
    1076   160 |   return (left == r.left) && (right == r.right) && (top == r.top) && (bottom == r.bottom);
    1077       |           ^~~~
    1078 ./common/rect.h:160:21: error: ‘const struct Common::Rect’ has no member named ‘left’
    1079   160 |   return (left == r.left) && (right == r.right) && (top == r.top) && (bottom == r.bottom);
    1080       |                     ^~~~
    1081 ./common/rect.h:160:31: error: ‘right’ was not declared in this scope
    1082   160 |   return (left == r.left) && (right == r.right) && (top == r.top) && (bottom == r.bottom);
    1083       |                               ^~~~~
    1084 ./common/rect.h:160:42: error: ‘const struct Common::Rect’ has no member named ‘right’
    1085   160 |   return (left == r.left) && (right == r.right) && (top == r.top) && (bottom == r.bottom);
    1086       |                                          ^~~~~
    1087 ./common/rect.h:160:53: error: ‘top’ was not declared in this scope
    1088   160 |   return (left == r.left) && (right == r.right) && (top == r.top) && (bottom == r.bottom);
    1089       |                                                     ^~~
    1090 ./common/rect.h:160:62: error: ‘const struct Common::Rect’ has no member named ‘top’
    1091   160 |   return (left == r.left) && (right == r.right) && (top == r.top) && (bottom == r.bottom);
    1092       |                                                              ^~~
    1093 ./common/rect.h:160:71: error: ‘bottom’ was not declared in this scope
    1094   160 |   return (left == r.left) && (right == r.right) && (top == r.top) && (bottom == r.bottom);
    1095       |                                                                       ^~~~~~
    1096 ./common/rect.h:160:83: error: ‘const struct Common::Rect’ has no member named ‘bottom’
    1097   160 |   return (left == r.left) && (right == r.right) && (top == r.top) && (bottom == r.bottom);
    1098       |                                                                                   ^~~~~~
    1099 ./common/rect.h: In member function ‘bool Common::Rect::intersects(const Common::Rect&) const’:
    1100 ./common/rect.h:172:11: error: ‘left’ was not declared in this scope
    1101   172 |   return (left < r.right) && (r.left < right) && (top < r.bottom) && (r.top < bottom);
    1102       |           ^~~~
    1103 ./common/rect.h:172:20: error: ‘const struct Common::Rect’ has no member named ‘right’
    1104   172 |   return (left < r.right) && (r.left < right) && (top < r.bottom) && (r.top < bottom);
    1105       |                    ^~~~~
    1106 ./common/rect.h:172:33: error: ‘const struct Common::Rect’ has no member named ‘left’
    1107   172 |   return (left < r.right) && (r.left < right) && (top < r.bottom) && (r.top < bottom);
    1108       |                                 ^~~~
    1109 ./common/rect.h:172:40: error: ‘right’ was not declared in this scope
    1110   172 |   return (left < r.right) && (r.left < right) && (top < r.bottom) && (r.top < bottom);
    1111       |                                        ^~~~~
    1112 ./common/rect.h:172:51: error: ‘top’ was not declared in this scope
    1113   172 |   return (left < r.right) && (r.left < right) && (top < r.bottom) && (r.top < bottom);
    1114       |                                                   ^~~
    1115 ./common/rect.h:172:59: error: ‘const struct Common::Rect’ has no member named ‘bottom’
    1116   172 |   return (left < r.right) && (r.left < right) && (top < r.bottom) && (r.top < bottom);
    1117       |                                                           ^~~~~~
    1118 ./common/rect.h:172:73: error: ‘const struct Common::Rect’ has no member named ‘top’
    1119   172 |   return (left < r.right) && (r.left < right) && (top < r.bottom) && (r.top < bottom);
    1120       |                                                                         ^~~
    1121 ./common/rect.h:172:79: error: ‘bottom’ was not declared in this scope
    1122   172 |   return (left < r.right) && (r.left < right) && (top < r.bottom) && (r.top < bottom);
    1123       |                                                                               ^~~~~~
    1124 ./common/rect.h: In member function ‘Common::Rect Common::Rect::findIntersectingRect(const Common::Rect&) const’:
    1125 ./common/rect.h:186:21: error: ‘const struct Common::Rect’ has no member named ‘left’
    1126   186 |   return Rect(MAX(r.left, left), MAX(r.top, top), MIN(r.right, right), MIN(r.bottom, bottom));
    1127       |                     ^~~~
    1128 ./common/rect.h:186:27: error: ‘left’ was not declared in this scope
    1129   186 |   return Rect(MAX(r.left, left), MAX(r.top, top), MIN(r.right, right), MIN(r.bottom, bottom));
    1130       |                           ^~~~
    1131 ./common/rect.h:186:40: error: ‘const struct Common::Rect’ has no member named ‘top’
    1132   186 |   return Rect(MAX(r.left, left), MAX(r.top, top), MIN(r.right, right), MIN(r.bottom, bottom));
    1133       |                                        ^~~
    1134 ./common/rect.h:186:45: error: ‘top’ was not declared in this scope
    1135   186 |   return Rect(MAX(r.left, left), MAX(r.top, top), MIN(r.right, right), MIN(r.bottom, bottom));
    1136       |                                             ^~~
    1137 ./common/rect.h:186:57: error: ‘const struct Common::Rect’ has no member named ‘right’
    1138   186 |   return Rect(MAX(r.left, left), MAX(r.top, top), MIN(r.right, right), MIN(r.bottom, bottom));
    1139       |                                                         ^~~~~
    1140 ./common/rect.h:186:64: error: ‘right’ was not declared in this scope
    1141   186 |   return Rect(MAX(r.left, left), MAX(r.top, top), MIN(r.right, right), MIN(r.bottom, bottom));
    1142       |                                                                ^~~~~
    1143 ./common/rect.h:186:78: error: ‘const struct Common::Rect’ has no member named ‘bottom’
    1144   186 |   return Rect(MAX(r.left, left), MAX(r.top, top), MIN(r.right, right), MIN(r.bottom, bottom));
    1145       |                                                                              ^~~~~~
    1146 ./common/rect.h:186:86: error: ‘bottom’ was not declared in this scope
    1147   186 |   return Rect(MAX(r.left, left), MAX(r.top, top), MIN(r.right, right), MIN(r.bottom, bottom));
    1148       |                                                                                      ^~~~~~
    1149 ./common/rect.h: In member function ‘void Common::Rect::extend(const Common::Rect&)’:
    1150 ./common/rect.h:195:3: error: ‘left’ was not declared in this scope
    1151   195 |   left = MIN(left, r.left);
    1152       |   ^~~~
    1153 ./common/rect.h:195:22: error: ‘const struct Common::Rect’ has no member named ‘left’
    1154   195 |   left = MIN(left, r.left);
    1155       |                      ^~~~
    1156 ./common/rect.h:196:3: error: ‘right’ was not declared in this scope
    1157   196 |   right = MAX(right, r.right);
    1158       |   ^~~~~
    1159 ./common/rect.h:196:24: error: ‘const struct Common::Rect’ has no member named ‘right’
    1160   196 |   right = MAX(right, r.right);
    1161       |                        ^~~~~
    1162 ./common/rect.h:197:3: error: ‘top’ was not declared in this scope
    1163   197 |   top = MIN(top, r.top);
    1164       |   ^~~
    1165 ./common/rect.h:197:20: error: ‘const struct Common::Rect’ has no member named ‘top’
    1166   197 |   top = MIN(top, r.top);
    1167       |                    ^~~
    1168 ./common/rect.h:198:3: error: ‘bottom’ was not declared in this scope
    1169   198 |   bottom = MAX(bottom, r.bottom);
    1170       |   ^~~~~~
    1171 ./common/rect.h:198:26: error: ‘const struct Common::Rect’ has no member named ‘bottom’
    1172   198 |   bottom = MAX(bottom, r.bottom);
    1173       |                          ^~~~~~
    1174 ./common/rect.h: In member function ‘void Common::Rect::grow(int)’:
    1175 ./common/rect.h:207:3: error: ‘top’ was not declared in this scope
    1176   207 |   top -= offset;
    1177       |   ^~~
    1178 ./common/rect.h:208:3: error: ‘left’ was not declared in this scope
    1179   208 |   left -= offset;
    1180       |   ^~~~
    1181 ./common/rect.h:209:3: error: ‘bottom’ was not declared in this scope
    1182   209 |   bottom += offset;
    1183       |   ^~~~~~
    1184 ./common/rect.h:210:3: error: ‘right’ was not declared in this scope
    1185   210 |   right += offset;
    1186       |   ^~~~~
    1187 ./common/rect.h: In member function ‘void Common::Rect::clip(const Common::Rect&)’:
    1188 ./common/rect.h:217:7: error: ‘top’ was not declared in this scope
    1189   217 |   if (top < r.top) top = r.top;
    1190       |       ^~~
    1191 ./common/rect.h:217:15: error: ‘const struct Common::Rect’ has no member named ‘top’
    1192   217 |   if (top < r.top) top = r.top;
    1193       |               ^~~
    1194 ./common/rect.h:217:28: error: ‘const struct Common::Rect’ has no member named ‘top’
    1195   217 |   if (top < r.top) top = r.top;
    1196       |                            ^~~
    1197 ./common/rect.h:218:20: error: ‘const struct Common::Rect’ has no member named ‘bottom’
    1198   218 |   else if (top > r.bottom) top = r.bottom;
    1199       |                    ^~~~~~
    1200 ./common/rect.h:218:36: error: ‘const struct Common::Rect’ has no member named ‘bottom’
    1201   218 |   else if (top > r.bottom) top = r.bottom;
    1202       |                                    ^~~~~~
    1203 ./common/rect.h:220:7: error: ‘left’ was not declared in this scope
    1204   220 |   if (left < r.left) left = r.left;
    1205       |       ^~~~
    1206 ./common/rect.h:220:16: error: ‘const struct Common::Rect’ has no member named ‘left’
    1207   220 |   if (left < r.left) left = r.left;
    1208       |                ^~~~
    1209 ./common/rect.h:220:31: error: ‘const struct Common::Rect’ has no member named ‘left’
    1210   220 |   if (left < r.left) left = r.left;
    1211       |                               ^~~~
    1212 ./common/rect.h:221:21: error: ‘const struct Common::Rect’ has no member named ‘right’
    1213   221 |   else if (left > r.right) left = r.right;
    1214       |                     ^~~~~
    1215 ./common/rect.h:221:37: error: ‘const struct Common::Rect’ has no member named ‘right’
    1216   221 |   else if (left > r.right) left = r.right;
    1217       |                                     ^~~~~
    1218 ./common/rect.h:223:7: error: ‘bottom’ was not declared in this scope
    1219   223 |   if (bottom > r.bottom) bottom = r.bottom;
    1220       |       ^~~~~~
    1221 ./common/rect.h:223:18: error: ‘const struct Common::Rect’ has no member named ‘bottom’
    1222   223 |   if (bottom > r.bottom) bottom = r.bottom;
    1223       |                  ^~~~~~
    1224 ./common/rect.h:223:37: error: ‘const struct Common::Rect’ has no member named ‘bottom’
    1225   223 |   if (bottom > r.bottom) bottom = r.bottom;
    1226       |                                     ^~~~~~
    1227 ./common/rect.h:224:23: error: ‘const struct Common::Rect’ has no member named ‘top’
    1228   224 |   else if (bottom < r.top) bottom = r.top;
    1229       |                       ^~~
    1230 ./common/rect.h:224:39: error: ‘const struct Common::Rect’ has no member named ‘top’
    1231   224 |   else if (bottom < r.top) bottom = r.top;
    1232       |                                       ^~~
    1233 ./common/rect.h:226:7: error: ‘right’ was not declared in this scope
    1234   226 |   if (right > r.right) right = r.right;
    1235       |       ^~~~~
    1236 ./common/rect.h:226:17: error: ‘const struct Common::Rect’ has no member named ‘right’
    1237   226 |   if (right > r.right) right = r.right;
    1238       |                 ^~~~~
    1239 ./common/rect.h:226:34: error: ‘const struct Common::Rect’ has no member named ‘right’
    1240   226 |   if (right > r.right) right = r.right;
    1241       |                                  ^~~~~
    1242 ./common/rect.h:227:22: error: ‘const struct Common::Rect’ has no member named ‘left’
    1243   227 |   else if (right < r.left) right = r.left;
    1244       |                      ^~~~
    1245 ./common/rect.h:227:38: error: ‘const struct Common::Rect’ has no member named ‘left’
    1246   227 |   else if (right < r.left) right = r.left;
    1247       |                                      ^~~~
    1248 ./common/rect.h: In member function ‘void Common::Rect::clip(int, int)’:
    1249 ./common/rect.h:231:29: error: no matching function for call to ‘Common::Rect::Rect(int, int, int&, int&)’
    1250   231 |   clip(Rect(0, 0, maxw, maxh));
    1251       |                             ^
    1252 ./common/rect.h:99:2: note: candidate: ‘Common::Rect::Rect()’
    1253    99 |  Rect() : top(0), left(0), bottom(0), right(0) {}
    1254       |  ^~~~
    1255 ./common/rect.h:99:2: note:   candidate expects 0 arguments, 4 provided
    1256 ./common/rect.h:95:8: note: candidate: ‘Common::Rect::Rect(const Common::Rect&)’
    1257    95 | struct Rect {
    1258       |        ^~~~
    1259 ./common/rect.h:95:8: note:   candidate expects 1 argument, 4 provided
    1260 ./common/rect.h: In member function ‘bool Common::Rect::isEmpty() const’:
    1261 ./common/rect.h:235:11: error: ‘left’ was not declared in this scope
    1262   235 |   return (left >= right || top >= bottom);
    1263       |           ^~~~
    1264 ./common/rect.h:235:19: error: ‘right’ was not declared in this scope
    1265   235 |   return (left >= right || top >= bottom);
    1266       |                   ^~~~~
    1267 ./common/rect.h:235:28: error: ‘top’ was not declared in this scope
    1268   235 |   return (left >= right || top >= bottom);
    1269       |                            ^~~
    1270 ./common/rect.h:235:35: error: ‘bottom’ was not declared in this scope
    1271   235 |   return (left >= right || top >= bottom);
    1272       |                                   ^~~~~~
    1273 ./common/rect.h: In member function ‘bool Common::Rect::isValidRect() const’:
    1274 ./common/rect.h:239:11: error: ‘left’ was not declared in this scope
    1275   239 |   return (left <= right && top <= bottom);
    1276       |           ^~~~
    1277 ./common/rect.h:239:19: error: ‘right’ was not declared in this scope
    1278   239 |   return (left <= right && top <= bottom);
    1279       |                   ^~~~~
    1280 ./common/rect.h:239:28: error: ‘top’ was not declared in this scope
    1281   239 |   return (left <= right && top <= bottom);
    1282       |                            ^~~
    1283 ./common/rect.h:239:35: error: ‘bottom’ was not declared in this scope
    1284   239 |   return (left <= right && top <= bottom);
    1285       |                                   ^~~~~~
    1286 ./common/rect.h: In member function ‘void Common::Rect::moveTo(int, int)’:
    1287 ./common/rect.h:243:3: error: ‘bottom’ was not declared in this scope
    1288   243 |   bottom += y - top;
    1289       |   ^~~~~~
    1290 ./common/rect.h:243:17: error: ‘top’ was not declared in this scope
    1291   243 |   bottom += y - top;
    1292       |                 ^~~
    1293 ./common/rect.h:244:3: error: ‘right’ was not declared in this scope
    1294   244 |   right += x - left;
    1295       |   ^~~~~
    1296 ./common/rect.h:244:16: error: ‘left’ was not declared in this scope
    1297   244 |   right += x - left;
    1298       |                ^~~~
    1299 ./common/rect.h: In member function ‘void Common::Rect::translate(int, int)’:
    1300 ./common/rect.h:250:3: error: ‘left’ was not declared in this scope
    1301   250 |   left += dx; right += dx;
    1302       |   ^~~~
    1303 ./common/rect.h:250:15: error: ‘right’ was not declared in this scope
    1304   250 |   left += dx; right += dx;
    1305       |               ^~~~~
    1306 ./common/rect.h:251:3: error: ‘top’ was not declared in this scope
    1307   251 |   top += dy; bottom += dy;
    1308       |   ^~~
    1309 ./common/rect.h:251:14: error: ‘bottom’ was not declared in this scope
    1310   251 |   top += dy; bottom += dy;
    1311       |              ^~~~~~
    1312 ./common/rect.h: In member function ‘void Common::Rect::moveTo(const Common::Point&)’:
    1313 ./common/rect.h:255:12: error: ‘const struct Common::Point’ has no member named ‘x’
    1314   255 |   moveTo(p.x, p.y);
    1315       |            ^
    1316 ./common/rect.h:255:17: error: ‘const struct Common::Point’ has no member named ‘y’
    1317   255 |   moveTo(p.x, p.y);
    1318       |                 ^
    1319 ./common/rect.h: In member function ‘void Common::Rect::debugPrint(int, const char*) const’:
    1320 ./common/rect.h:259:51: error: ‘left’ was not declared in this scope
    1321   259 |   debug(debuglevel, "%s %d, %d, %d, %d", caption, left, top, right, bottom);
    1322       |                                                   ^~~~
    1323 ./common/rect.h:259:57: error: ‘top’ was not declared in this scope
    1324   259 |   debug(debuglevel, "%s %d, %d, %d, %d", caption, left, top, right, bottom);
    1325       |                                                         ^~~
    1326 ./common/rect.h:259:62: error: ‘right’ was not declared in this scope
    1327   259 |   debug(debuglevel, "%s %d, %d, %d, %d", caption, left, top, right, bottom);
    1328       |                                                              ^~~~~
    1329 ./common/rect.h:259:69: error: ‘bottom’ was not declared in this scope
    1330   259 |   debug(debuglevel, "%s %d, %d, %d, %d", caption, left, top, right, bottom);
    1331       |                                                                     ^~~~~~
    1332 ./common/rect.h: In static member function ‘static Common::Rect Common::Rect::center(int, int, int, int)’:
    1333 ./common/rect.h:268:33: error: no matching function for call to ‘Common::Rect::Rect(int&, int&, int, int)’
    1334   268 |   return Rect(x, y, x + w, y + h);
    1335       |                                 ^
    1336 ./common/rect.h:99:2: note: candidate: ‘Common::Rect::Rect()’
    1337    99 |  Rect() : top(0), left(0), bottom(0), right(0) {}
    1338       |  ^~~~
    1339 ./common/rect.h:99:2: note:   candidate expects 0 arguments, 4 provided
    1340 ./common/rect.h:95:8: note: candidate: ‘Common::Rect::Rect(const Common::Rect&)’
    1341    95 | struct Rect {
    1342       |        ^~~~
    1343 ./common/rect.h:95:8: note:   candidate expects 1 argument, 4 provided
    1344 In file included from ./backends/base-backend.h:27,
    1345                  from ./backends/modular-backend.h:26,
    1346                  from ./backends/platform/sdl/sdl.h:28,
    1347                  from backends/platform/sdl/sdl.cpp:25:
    1348 ./common/events.h: At global scope:
    1349 ./common/events.h:118:7: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    1350   118 | const int16 JOYAXIS_MIN = -32768;
    1351       |       ^~~~~
    1352       |       Uint16
    1353 ./common/events.h:119:7: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    1354   119 | const int16 JOYAXIS_MAX = 32767;
    1355       |       ^~~~~
    1356       |       Uint16
    1357 ./common/events.h:126:2: error: ‘byte’ does not name a type
    1358   126 |  byte axis;
    1359       |  ^~~~
    1360 ./common/events.h:128:2: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    1361   128 |  int16 position;
    1362       |  ^~~~~
    1363       |  Uint16
    1364 ./common/events.h:135:2: error: ‘uint8’ does not name a type; did you mean ‘Uint8’?
    1365   135 |  uint8 button;
    1366       |  ^~~~~
    1367       |  Uint8
    1368 ./common/events.h: In constructor ‘Common::JoystickState::JoystickState()’:
    1369 ./common/events.h:137:20: error: class ‘Common::JoystickState’ does not have any field named ‘axis’
    1370   137 |  JoystickState() : axis(0), position(0), button(0) {}
    1371       |                    ^~~~
    1372 ./common/events.h:137:29: error: class ‘Common::JoystickState’ does not have any field named ‘position’
    1373   137 |  JoystickState() : axis(0), position(0), button(0) {}
    1374       |                             ^~~~~~~~
    1375 ./common/events.h:137:42: error: class ‘Common::JoystickState’ does not have any field named ‘button’
    1376   137 |  JoystickState() : axis(0), position(0), button(0) {}
    1377       |                                          ^~~~~~
    1378 ./common/events.h: At global scope:
    1379 ./common/events.h:186:9: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    1380   186 | typedef uint32 CustomEventType;
    1381       |         ^~~~~~
    1382       |         Uint32
    1383 ./common/events.h:218:2: error: ‘CustomEventType’ does not name a type
    1384   218 |  CustomEventType customType;
    1385       |  ^~~~~~~~~~~~~~~
    1386 ./common/events.h: In constructor ‘Common::Event::Event()’:
    1387 ./common/events.h:229:51: error: class ‘Common::Event’ does not have any field named ‘customType’
    1388   229 |  Event() : type(EVENT_INVALID), kbdRepeat(false), customType(0) {
    1389       |                                                   ^~~~~~~~~~
    1390 In file included from ./backends/modular-backend.h:26,
    1391                  from ./backends/platform/sdl/sdl.h:28,
    1392                  from backends/platform/sdl/sdl.cpp:25:
    1393 ./backends/base-backend.h: At global scope:
    1394 ./backends/base-backend.h:35:26: error: ‘uint32’ has not been declared
    1395    35 |  virtual void fillScreen(uint32 col);
    1396       |                          ^~~~~~
    1397 In file included from ./backends/platform/sdl/sdl.h:28,
    1398                  from backends/platform/sdl/sdl.cpp:25:
    1399 ./backends/modular-backend.h:91:10: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    1400    91 |  virtual int16 getHeight() override final;
    1401       |          ^~~~~
    1402       |          Uint16
    1403 ./backends/modular-backend.h:92:10: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    1404    92 |  virtual int16 getWidth() override final;
    1405       |          ^~~~~
    1406       |          Uint16
    1407 ./backends/modular-backend.h:97:26: error: ‘uint32’ has not been declared
    1408    97 |  virtual void fillScreen(uint32 col) override final;
    1409       |                          ^~~~~~
    1410 ./backends/modular-backend.h:109:10: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    1411   109 |  virtual int16 getOverlayHeight() override final;
    1412       |          ^~~~~
    1413       |          Uint16
    1414 ./backends/modular-backend.h:110:10: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    1415   110 |  virtual int16 getOverlayWidth() override final;
    1416       |          ^~~~~
    1417       |          Uint16
    1418 ./backends/modular-backend.h:114:91: error: ‘uint32’ has not been declared
    1419   114 |  virtual void setMouseCursor(const void *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor, bool dontScale = false, const Graphics::PixelFormat *format = NULL) override final;
    1420       |                                                                                           ^~~~~~
    1421 In file included from ./backends/platform/sdl/sdl.h:28,
    1422                  from backends/platform/sdl/sdl.cpp:25:
    1423 ./backends/modular-backend.h:115:38: error: ‘byte’ does not name a type
    1424   115 |  virtual void setCursorPalette(const byte *colors, uint start, uint num) override final;
    1425       |                                      ^~~~
    1426 In file included from ./audio/mixer_intern.h:28,
    1427                  from ./backends/mixer/mixer.h:26,
    1428                  from ./backends/mixer/sdl/sdl-mixer.h:27,
    1429                  from ./backends/platform/sdl/sdl.h:29,
    1430                  from backends/platform/sdl/sdl.cpp:25:
    1431 ./audio/mixer.h:44:2: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    1432    44 |  uint32 _val;
    1433       |  ^~~~~~
    1434       |  Uint32
    1435 ./audio/mixer.h: In constructor ‘Audio::SoundHandle::SoundHandle()’:
    1436 ./audio/mixer.h:46:25: error: class ‘Audio::SoundHandle’ does not have any field named ‘_val’
    1437    46 |  inline SoundHandle() : _val(0xFFFFFFFF) {}
    1438       |                         ^~~~
    1439 In file included from ./audio/mixer_intern.h:28,
    1440                  from ./backends/mixer/mixer.h:26,
    1441                  from ./backends/mixer/sdl/sdl-mixer.h:27,
    1442                  from ./backends/platform/sdl/sdl.h:29,
    1443                  from backends/platform/sdl/sdl.cpp:25:
    1444 ./audio/mixer.h: At global scope:
    1445 ./audio/mixer.h:112:3: error: ‘byte’ has not been declared
    1446   112 |   byte volume = kMaxChannelVolume,
    1447       |   ^~~~
    1448 ./audio/mixer.h:113:3: error: ‘int8’ has not been declared
    1449   113 |   int8 balance = 0,
    1450       |   ^~~~
    1451 ./audio/mixer.h:211:52: error: ‘byte’ has not been declared
    1452   211 |  virtual void setChannelVolume(SoundHandle handle, byte volume) = 0;
    1453       |                                                    ^~~~
    1454 ./audio/mixer.h:219:10: error: ‘byte’ does not name a type
    1455   219 |  virtual byte getChannelVolume(SoundHandle handle) = 0;
    1456       |          ^~~~
    1457 ./audio/mixer.h:228:53: error: ‘int8’ has not been declared
    1458   228 |  virtual void setChannelBalance(SoundHandle handle, int8 balance) = 0;
    1459       |                                                     ^~~~
    1460 ./audio/mixer.h:236:10: error: ‘int8’ does not name a type; did you mean ‘Uint8’?
    1461   236 |  virtual int8 getChannelBalance(SoundHandle handle) = 0;
    1462       |          ^~~~
    1463       |          Uint8
    1464 ./audio/mixer.h:241:10: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    1465   241 |  virtual uint32 getSoundElapsedTime(SoundHandle handle) = 0;
    1466       |          ^~~~~~
    1467       |          Uint32
    1468 In file included from ./backends/mixer/mixer.h:26,
    1469                  from ./backends/mixer/sdl/sdl-mixer.h:27,
    1470                  from ./backends/platform/sdl/sdl.h:29,
    1471                  from backends/platform/sdl/sdl.cpp:25:
    1472 ./audio/mixer_intern.h:61:2: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    1473    61 |  uint32 _handleSeed;
    1474       |  ^~~~~~
    1475       |  Uint32
    1476 ./audio/mixer_intern.h:85:11: error: ‘byte’ has not been declared
    1477    85 |   int id, byte volume, int8 balance,
    1478       |           ^~~~
    1479 ./audio/mixer_intern.h:85:24: error: ‘int8’ has not been declared
    1480    85 |   int id, byte volume, int8 balance,
    1481       |                        ^~~~
    1482 ./audio/mixer_intern.h:106:52: error: ‘byte’ has not been declared
    1483   106 |  virtual void setChannelVolume(SoundHandle handle, byte volume);
    1484       |                                                    ^~~~
    1485 ./audio/mixer_intern.h:107:10: error: ‘byte’ does not name a type
    1486   107 |  virtual byte getChannelVolume(SoundHandle handle);
    1487       |          ^~~~
    1488 ./audio/mixer_intern.h:108:53: error: ‘int8’ has not been declared
    1489   108 |  virtual void setChannelBalance(SoundHandle handle, int8 balance);
    1490       |                                                     ^~~~
    1491 ./audio/mixer_intern.h:109:10: error: ‘int8’ does not name a type; did you mean ‘Uint8’?
    1492   109 |  virtual int8 getChannelBalance(SoundHandle handle);
    1493       |          ^~~~
    1494       |          Uint8
    1495 ./audio/mixer_intern.h:111:10: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    1496   111 |  virtual uint32 getSoundElapsedTime(SoundHandle handle);
    1497       |          ^~~~~~
    1498       |          Uint32
    1499 ./audio/mixer_intern.h:134:18: error: ‘byte’ has not been declared
    1500   134 |  int mixCallback(byte *samples, uint len);
    1501       |                  ^~~~
    1502 In file included from ./backends/platform/sdl/sdl.h:29,
    1503                  from backends/platform/sdl/sdl.cpp:25:
    1504 ./backends/mixer/sdl/sdl-mixer.h:66:37: error: ‘uint32’ has not been declared
    1505    66 |  virtual SDL_AudioSpec getAudioSpec(uint32 rate);
    1506       |                                     ^~~~~~
    1507 ./backends/mixer/sdl/sdl-mixer.h:76:31: error: ‘byte’ has not been declared
    1508    76 |  virtual void callbackHandler(byte *samples, int len);
    1509       |                               ^~~~
    1510 ./backends/mixer/sdl/sdl-mixer.h:82:39: error: ‘byte’ has not been declared
    1511    82 |  static void sdlCallback(void *this_, byte *samples, int len);
    1512       |                                       ^~~~
    1513 In file included from ./backends/graphics/graphics.h:31,
    1514                  from ./backends/graphics/windowed.h:26,
    1515                  from ./backends/graphics/sdl/sdl-graphics.h:26,
    1516                  from ./backends/events/sdl/sdl-events.h:27,
    1517                  from ./backends/platform/sdl/sdl.h:30,
    1518                  from backends/platform/sdl/sdl.cpp:25:
    1519 ./graphics/palette.h:66:32: error: ‘byte’ does not name a type
    1520    66 |  virtual void setPalette(const byte *colors, uint start, uint num) = 0;
    1521       |                                ^~~~
    1522 ./graphics/palette.h:99:27: error: ‘byte’ has not been declared
    1523    99 |  virtual void grabPalette(byte *colors, uint start, uint num) const = 0;
    1524       |                           ^~~~
    1525 In file included from ./backends/graphics/windowed.h:26,
    1526                  from ./backends/graphics/sdl/sdl-graphics.h:26,
    1527                  from ./backends/events/sdl/sdl-events.h:27,
    1528                  from ./backends/platform/sdl/sdl.h:30,
    1529                  from backends/platform/sdl/sdl.cpp:25:
    1530 ./backends/graphics/graphics.h:79:10: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    1531    79 |  virtual int16 getHeight() const = 0;
    1532       |          ^~~~~
    1533       |          Uint16
    1534 ./backends/graphics/graphics.h:80:10: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    1535    80 |  virtual int16 getWidth() const = 0;
    1536       |          ^~~~~
    1537       |          Uint16
    1538 ./backends/graphics/graphics.h:81:32: error: ‘byte’ does not name a type
    1539    81 |  virtual void setPalette(const byte *colors, uint start, uint num) = 0;
    1540       |                                ^~~~
    1541 ./backends/graphics/graphics.h:82:27: error: ‘byte’ has not been declared
    1542    82 |  virtual void grabPalette(byte *colors, uint start, uint num) const = 0;
    1543       |                           ^~~~
    1544 ./backends/graphics/graphics.h:86:26: error: ‘uint32’ has not been declared
    1545    86 |  virtual void fillScreen(uint32 col) = 0;
    1546       |                          ^~~~~~
    1547 ./backends/graphics/graphics.h:98:10: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    1548    98 |  virtual int16 getOverlayHeight() const = 0;
    1549       |          ^~~~~
    1550       |          Uint16
    1551 ./backends/graphics/graphics.h:99:10: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    1552    99 |  virtual int16 getOverlayWidth() const = 0;
    1553       |          ^~~~~
    1554       |          Uint16
    1555 ./backends/graphics/graphics.h:103:91: error: ‘uint32’ has not been declared
    1556   103 |  virtual void setMouseCursor(const void *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor, bool dontScale = false, const Graphics::PixelFormat *format = NULL) = 0;
    1557       |                                                                                           ^~~~~~
    1558 In file included from ./backends/graphics/windowed.h:26,
    1559                  from ./backends/graphics/sdl/sdl-graphics.h:26,
    1560                  from ./backends/events/sdl/sdl-events.h:27,
    1561                  from ./backends/platform/sdl/sdl.h:30,
    1562                  from backends/platform/sdl/sdl.cpp:25:
    1563 ./backends/graphics/graphics.h:104:38: error: ‘byte’ does not name a type
    1564   104 |  virtual void setCursorPalette(const byte *colors, uint start, uint num) = 0;
    1565       |                                      ^~~~
    1566 In file included from ./backends/graphics/windowed.h:27,
    1567                  from ./backends/graphics/sdl/sdl-graphics.h:26,
    1568                  from ./backends/events/sdl/sdl-events.h:27,
    1569                  from ./backends/platform/sdl/sdl.h:30,
    1570                  from backends/platform/sdl/sdl.cpp:25:
    1571 ./common/frac.h:44:9: error: ‘int32’ does not name a type; did you mean ‘Uint32’?
    1572    44 | typedef int32 frac_t;
    1573       |         ^~~~~
    1574       |         Uint32
    1575 ./common/frac.h:46:8: error: ‘frac_t’ does not name a type
    1576    46 | inline frac_t doubleToFrac(double value) { return (frac_t)(value * FRAC_ONE); }
    1577       |        ^~~~~~
    1578 ./common/frac.h:47:1: warning: inline variables are only available with ‘-std=c++17’ or ‘-std=gnu++17’
    1579    47 | inline double fracToDouble(frac_t value) { return ((double)value) / FRAC_ONE; }
    1580       | ^~~~~~
    1581 ./common/frac.h:47:28: error: ‘frac_t’ was not declared in this scope
    1582    47 | inline double fracToDouble(frac_t value) { return ((double)value) / FRAC_ONE; }
    1583       |                            ^~~~~~
    1584 ./common/frac.h:49:8: error: ‘frac_t’ does not name a type
    1585    49 | inline frac_t intToFrac(int16 value) { return value * (1 << FRAC_BITS); }
    1586       |        ^~~~~~
    1587 ./common/frac.h:50:8: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    1588    50 | inline int16 fracToInt(frac_t value) { return value / (1 << FRAC_BITS); }
    1589       |        ^~~~~
    1590       |        Uint16
    1591 In file included from ./common/hashmap.h:53,
    1592                  from ./common/config-manager.h:27,
    1593                  from ./backends/graphics/windowed.h:29,
    1594                  from ./backends/graphics/sdl/sdl-graphics.h:26,
    1595                  from ./backends/events/sdl/sdl-events.h:27,
    1596                  from ./backends/platform/sdl/sdl.h:30,
    1597                  from backends/platform/sdl/sdl.cpp:25:
    1598 ./common/memorypool.h:111:2: error: ‘byte’ does not name a type
    1599   111 |  byte _storage[NUM_INTERNAL_CHUNKS * REAL_CHUNK_SIZE];
    1600       |  ^~~~
    1601 ./common/memorypool.h: In constructor ‘Common::FixedSizeMemoryPool<CHUNK_SIZE, NUM_INTERNAL_CHUNKS>::FixedSizeMemoryPool()’:
    1602 ./common/memorypool.h:116:25: error: ‘_storage’ was not declared in this scope
    1603   116 |   Page internalPage = { _storage, NUM_INTERNAL_CHUNKS };
    1604       |                         ^~~~~~~~
    1605 In file included from ./graphics/scaler.h:27,
    1606                  from ./graphics/scaler/aspect.h:27,
    1607                  from ./backends/graphics/windowed.h:31,
    1608                  from ./backends/graphics/sdl/sdl-graphics.h:26,
    1609                  from ./backends/events/sdl/sdl-events.h:27,
    1610                  from ./backends/platform/sdl/sdl.h:30,
    1611                  from backends/platform/sdl/sdl.cpp:25:
    1612 ./graphics/surface.h: At global scope:
    1613 ./graphics/surface.h:53:2: error: ‘uint16’ does not name a type; did you mean ‘Uint16’?
    1614    53 |  uint16 w;
    1615       |  ^~~~~~
    1616       |  Uint16
    1617 ./graphics/surface.h:58:2: error: ‘uint16’ does not name a type; did you mean ‘Uint16’?
    1618    58 |  uint16 h;
    1619       |  ^~~~~~
    1620       |  Uint16
    1621 ./graphics/surface.h:65:2: error: ‘uint16’ does not name a type; did you mean ‘Uint16’?
    1622    65 |  uint16 pitch;
    1623       |  ^~~~~~
    1624       |  Uint16
    1625 ./graphics/surface.h:144:14: error: ‘uint16’ has not been declared
    1626   144 |  void create(uint16 width, uint16 height, const PixelFormat &format);
    1627       |              ^~~~~~
    1628 ./graphics/surface.h:144:28: error: ‘uint16’ has not been declared
    1629   144 |  void create(uint16 width, uint16 height, const PixelFormat &format);
    1630       |                            ^~~~~~
    1631 ./graphics/surface.h:168:12: error: ‘uint16’ has not been declared
    1632   168 |  void init(uint16 width, uint16 height, uint16 pitch, void *pixels, const PixelFormat &format);
    1633       |            ^~~~~~
    1634 ./graphics/surface.h:168:26: error: ‘uint16’ has not been declared
    1635   168 |  void init(uint16 width, uint16 height, uint16 pitch, void *pixels, const PixelFormat &format);
    1636       |                          ^~~~~~
    1637 ./graphics/surface.h:168:41: error: ‘uint16’ has not been declared
    1638   168 |  void init(uint16 width, uint16 height, uint16 pitch, void *pixels, const PixelFormat &format);
    1639       |                                         ^~~~~~
    1640 ./graphics/surface.h:250:60: error: ‘byte’ does not name a type
    1641   250 |  void convertToInPlace(const PixelFormat &dstFormat, const byte *palette = 0);
    1642       |                                                            ^~~~
    1643 ./graphics/surface.h:261:67: error: ‘byte’ does not name a type
    1644   261 |  Graphics::Surface *convertTo(const PixelFormat &dstFormat, const byte *palette = 0) const;
    1645       |                                                                   ^~~~
    1646 ./graphics/surface.h:273:48: error: ‘uint32’ has not been declared
    1647   273 |  void drawLine(int x0, int y0, int x1, int y1, uint32 color);
    1648       |                                                ^~~~~~
    1649 ./graphics/surface.h:288:73: error: ‘uint32’ has not been declared
    1650   288 |  void drawThickLine(int x0, int y0, int x1, int y1, int penX, int penY, uint32 color);
    1651       |                                                                         ^~~~~~
    1652 ./graphics/surface.h:299:35: error: ‘uint32’ has not been declared
    1653   299 |  void hLine(int x, int y, int x2, uint32 color);
    1654       |                                   ^~~~~~
    1655 ./graphics/surface.h:310:35: error: ‘uint32’ has not been declared
    1656   310 |  void vLine(int x, int y, int y2, uint32 color);
    1657       |                                   ^~~~~~
    1658 ./graphics/surface.h:318:32: error: ‘uint32’ has not been declared
    1659   318 |  void fillRect(Common::Rect r, uint32 color);
    1660       |                                ^~~~~~
    1661 ./graphics/surface.h:326:40: error: ‘uint32’ has not been declared
    1662   326 |  void frameRect(const Common::Rect &r, uint32 color);
    1663       |                                        ^~~~~~
    1664 ./graphics/surface.h:348:21: error: expected ‘;’ at end of member declaration
    1665   348 |  Graphics::Surface *scale(uint16 newWidth, uint16 newHeight, bool filtering = false) const;
    1666       |                     ^~~~~
    1667       |                          ;
    1668 ./graphics/surface.h:348:33: error: expected ‘)’ before ‘newWidth’
    1669   348 |  Graphics::Surface *scale(uint16 newWidth, uint16 newHeight, bool filtering = false) const;
    1670       |                          ~      ^~~~~~~~~
    1671       |                                 )
    1672 ./graphics/surface.h: In constructor ‘Graphics::Surface::Surface()’:
    1673 ./graphics/surface.h:82:14: error: class ‘Graphics::Surface’ does not have any field named ‘w’
    1674    82 |  Surface() : w(0), h(0), pitch(0), pixels(0), format() {
    1675       |              ^
    1676 ./graphics/surface.h:82:20: error: class ‘Graphics::Surface’ does not have any field named ‘h’
    1677    82 |  Surface() : w(0), h(0), pitch(0), pixels(0), format() {
    1678       |                    ^
    1679 ./graphics/surface.h:82:26: error: class ‘Graphics::Surface’ does not have any field named ‘pitch’
    1680    82 |  Surface() : w(0), h(0), pitch(0), pixels(0), format() {
    1681       |                          ^~~~~
    1682 ./graphics/surface.h: In member function ‘const void* Graphics::Surface::getBasePtr(int, int) const’:
    1683 ./graphics/surface.h:120:17: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
    1684   120 |   return (const byte *)(pixels) + y * pitch + x * format.bytesPerPixel;
    1685       |                 ^~~~
    1686 ./graphics/surface.h:120:11: error: expected primary-expression before ‘const’
    1687   120 |   return (const byte *)(pixels) + y * pitch + x * format.bytesPerPixel;
    1688       |           ^~~~~
    1689 ./graphics/surface.h:120:11: error: expected ‘)’ before ‘const’
    1690   120 |   return (const byte *)(pixels) + y * pitch + x * format.bytesPerPixel;
    1691       |          ~^~~~~
    1692       |           )
    1693 ./graphics/surface.h: In member function ‘void* Graphics::Surface::getBasePtr(int, int)’:
    1694 ./graphics/surface.h:131:22: error: ‘byte’ does not name a type
    1695   131 |   return static_cast<byte *>(pixels) + y * pitch + x * format.bytesPerPixel;
    1696       |                      ^~~~
    1697 ./graphics/surface.h:131:27: error: expected ‘>’ before ‘*’ token
    1698   131 |   return static_cast<byte *>(pixels) + y * pitch + x * format.bytesPerPixel;
    1699       |                           ^
    1700 ./graphics/surface.h:131:27: error: expected ‘(’ before ‘*’ token
    1701   131 |   return static_cast<byte *>(pixels) + y * pitch + x * format.bytesPerPixel;
    1702       |                           ^
    1703       |                           (
    1704 ./graphics/surface.h:131:28: error: expected primary-expression before ‘>’ token
    1705   131 |   return static_cast<byte *>(pixels) + y * pitch + x * format.bytesPerPixel;
    1706       |                            ^
    1707 ./graphics/surface.h:131:44: error: ‘pitch’ was not declared in this scope
    1708   131 |   return static_cast<byte *>(pixels) + y * pitch + x * format.bytesPerPixel;
    1709       |                                            ^~~~~
    1710 ./graphics/surface.h:131:63: error: ‘struct Graphics::PixelFormat’ has no member named ‘bytesPerPixel’
    1711   131 |   return static_cast<byte *>(pixels) + y * pitch + x * format.bytesPerPixel;
    1712       |                                                               ^~~~~~~~~~~~~
    1713 ./graphics/surface.h:131:76: error: expected ‘)’ before ‘;’ token
    1714   131 |   return static_cast<byte *>(pixels) + y * pitch + x * format.bytesPerPixel;
    1715       |                                                                            ^
    1716       |                                                                            )
    1717 ./graphics/surface.h: At global scope:
    1718 ./graphics/surface.h:385:30: error: ‘uint32’ has not been declared
    1719   385 |  FloodFill(Surface *surface, uint32 oldColor, uint32 fillColor, bool maskMode = false);
    1720       |                              ^~~~~~
    1721 ./graphics/surface.h:385:47: error: ‘uint32’ has not been declared
    1722   385 |  FloodFill(Surface *surface, uint32 oldColor, uint32 fillColor, bool maskMode = false);
    1723       |                                               ^~~~~~
    1724 ./graphics/surface.h:426:2: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    1725   426 |  uint32 _oldColor, _fillColor;
    1726       |  ^~~~~~
    1727       |  Uint32
    1728 ./graphics/surface.h:427:2: error: ‘byte’ does not name a type
    1729   427 |  byte *_visited;
    1730       |  ^~~~
    1731 In file included from ./graphics/scaler/aspect.h:27,
    1732                  from ./backends/graphics/windowed.h:31,
    1733                  from ./backends/graphics/sdl/sdl-graphics.h:26,
    1734                  from ./backends/events/sdl/sdl-events.h:27,
    1735                  from ./backends/platform/sdl/sdl.h:30,
    1736                  from backends/platform/sdl/sdl.cpp:25:
    1737 ./graphics/scaler.h:29:13: error: variable or field ‘InitScalers’ declared void
    1738    29 | extern void InitScalers(uint32 BitFormat);
    1739       |             ^~~~~~~~~~~
    1740 ./graphics/scaler.h:29:25: error: ‘uint32’ was not declared in this scope; did you mean ‘Uint32’?
    1741    29 | extern void InitScalers(uint32 BitFormat);
    1742       |                         ^~~~~~
    1743       |                         Uint32
    1744 ./graphics/scaler.h:32:31: error: ‘uint8’ does not name a type; did you mean ‘Uint8’?
    1745    32 | typedef void ScalerProc(const uint8 *srcPtr, uint32 srcPitch,
    1746       |                               ^~~~~
    1747       |                               Uint8
    1748 ./graphics/scaler.h:32:46: error: ‘uint32’ has not been declared
    1749    32 | typedef void ScalerProc(const uint8 *srcPtr, uint32 srcPitch,
    1750       |                                              ^~~~~~
    1751 ./graphics/scaler.h:33:8: error: ‘uint8’ has not been declared
    1752    33 |        uint8 *dstPtr, uint32 dstPitch, int width, int height);
    1753       |        ^~~~~
    1754 ./graphics/scaler.h:33:23: error: ‘uint32’ has not been declared
    1755    33 |        uint8 *dstPtr, uint32 dstPitch, int width, int height);
    1756       |                       ^~~~~~
    1757 ./graphics/scaler.h:36:22: error: ‘uint8’ does not name a type; did you mean ‘Uint8’?
    1758    36 |  extern void x(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, \
    1759       |                      ^~~~~
    1760 ./graphics/scaler.h:40:1: note: in expansion of macro ‘DECLARE_SCALER’
    1761    40 | DECLARE_SCALER(Normal1x);
    1762       | ^~~~~~~~~~~~~~
    1763 ./graphics/scaler.h:36:37: error: ‘uint32’ has not been declared
    1764    36 |  extern void x(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, \
    1765       |                                     ^~~~~~
    1766 ./graphics/scaler.h:40:1: note: in expansion of macro ‘DECLARE_SCALER’
    1767    40 | DECLARE_SCALER(Normal1x);
    1768       | ^~~~~~~~~~~~~~
    1769 ./graphics/scaler.h:36:54: error: ‘uint8’ has not been declared
    1770    36 |  extern void x(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, \
    1771       |                                                      ^~~~~
    1772 ./graphics/scaler.h:40:1: note: in expansion of macro ‘DECLARE_SCALER’
    1773    40 | DECLARE_SCALER(Normal1x);
    1774       | ^~~~~~~~~~~~~~
    1775 ./graphics/scaler.h:37:6: error: ‘uint32’ has not been declared
    1776    37 |      uint32 dstPitch, int width, int height)
    1777       |      ^~~~~~
    1778 ./graphics/scaler.h:40:1: note: in expansion of macro ‘DECLARE_SCALER’
    1779    40 | DECLARE_SCALER(Normal1x);
    1780       | ^~~~~~~~~~~~~~
    1781 ./graphics/scaler.h:90:60: error: ‘uint8’ does not name a type; did you mean ‘Uint8’?
    1782    90 | extern bool createThumbnail(Graphics::Surface *surf, const uint8 *pixels, int w, int h, const uint8 *palette);
    1783       |                                                            ^~~~~
    1784       |                                                            Uint8
    1785 ./graphics/scaler.h:90:95: error: ‘uint8’ does not name a type; did you mean ‘Uint8’?
    1786    90 | extern bool createThumbnail(Graphics::Surface *surf, const uint8 *pixels, int w, int h, const uint8 *palette);
    1787       |                                                                                               ^~~~~
    1788       |                                                                                               Uint8
    1789 In file included from ./backends/graphics/windowed.h:31,
    1790                  from ./backends/graphics/sdl/sdl-graphics.h:26,
    1791                  from ./backends/events/sdl/sdl-events.h:27,
    1792                  from ./backends/platform/sdl/sdl.h:30,
    1793                  from backends/platform/sdl/sdl.cpp:25:
    1794 ./graphics/scaler/aspect.h:52:21: error: ‘uint8’ was not declared in this scope; did you mean ‘Uint8’?
    1795    52 | int stretch200To240(uint8 *buf,
    1796       |                     ^~~~~
    1797       |                     Uint8
    1798 ./graphics/scaler/aspect.h:52:28: error: ‘buf’ was not declared in this scope
    1799    52 | int stretch200To240(uint8 *buf,
    1800       |                            ^~~
    1801 ./graphics/scaler/aspect.h:53:21: error: ‘uint32’ was not declared in this scope; did you mean ‘Uint32’?
    1802    53 |                     uint32 pitch,
    1803       |                     ^~~~~~
    1804       |                     Uint32
    1805 ./graphics/scaler/aspect.h:54:21: error: expected primary-expression before ‘int’
    1806    54 |                     int width,
    1807       |                     ^~~
    1808 ./graphics/scaler/aspect.h:55:21: error: expected primary-expression before ‘int’
    1809    55 |                     int height,
    1810       |                     ^~~
    1811 ./graphics/scaler/aspect.h:56:21: error: expected primary-expression before ‘int’
    1812    56 |                     int srcX,
    1813       |                     ^~~
    1814 ./graphics/scaler/aspect.h:57:21: error: expected primary-expression before ‘int’
    1815    57 |                     int srcY,
    1816       |                     ^~~
    1817 ./graphics/scaler/aspect.h:58:21: error: expected primary-expression before ‘int’
    1818    58 |                     int origSrcY,
    1819       |                     ^~~
    1820 ./graphics/scaler/aspect.h:59:21: error: expected primary-expression before ‘bool’
    1821    59 |                     bool interpolate);
    1822       |                     ^~~~
    1823 ./graphics/scaler/aspect.h:59:37: error: expression list treated as compound expression in initializer [-fpermissive]
    1824    59 |                     bool interpolate);
    1825       |                                     ^
    1826 ./graphics/scaler/aspect.h:61:28: error: ‘uint8’ was not declared in this scope; did you mean ‘Uint8’?
    1827    61 | int stretch200To240Nearest(uint8 *buf, uint32 pitch, int width, int height, int srcX, int srcY, int origSrcY);
    1828       |                            ^~~~~
    1829       |                            Uint8
    1830 ./graphics/scaler/aspect.h:61:35: error: ‘buf’ was not declared in this scope
    1831    61 | int stretch200To240Nearest(uint8 *buf, uint32 pitch, int width, int height, int srcX, int srcY, int origSrcY);
    1832       |                                   ^~~
    1833 ./graphics/scaler/aspect.h:61:40: error: ‘uint32’ was not declared in this scope; did you mean ‘Uint32’?
    1834    61 | int stretch200To240Nearest(uint8 *buf, uint32 pitch, int width, int height, int srcX, int srcY, int origSrcY);
    1835       |                                        ^~~~~~
    1836       |                                        Uint32
    1837 ./graphics/scaler/aspect.h:61:54: error: expected primary-expression before ‘int’
    1838    61 | int stretch200To240Nearest(uint8 *buf, uint32 pitch, int width, int height, int srcX, int srcY, int origSrcY);
    1839       |                                                      ^~~
    1840 ./graphics/scaler/aspect.h:61:65: error: expected primary-expression before ‘int’
    1841    61 | int stretch200To240Nearest(uint8 *buf, uint32 pitch, int width, int height, int srcX, int srcY, int origSrcY);
    1842       |                                                                 ^~~
    1843 ./graphics/scaler/aspect.h:61:77: error: expected primary-expression before ‘int’
    1844    61 | int stretch200To240Nearest(uint8 *buf, uint32 pitch, int width, int height, int srcX, int srcY, int origSrcY);
    1845       |                                                                             ^~~
    1846 ./graphics/scaler/aspect.h:61:87: error: expected primary-expression before ‘int’
    1847    61 | int stretch200To240Nearest(uint8 *buf, uint32 pitch, int width, int height, int srcX, int srcY, int origSrcY);
    1848       |                                                                                       ^~~
    1849 ./graphics/scaler/aspect.h:61:97: error: expected primary-expression before ‘int’
    1850    61 | int stretch200To240Nearest(uint8 *buf, uint32 pitch, int width, int height, int srcX, int srcY, int origSrcY);
    1851       |                                                                                                 ^~~
    1852 ./graphics/scaler/aspect.h:61:109: error: expression list treated as compound expression in initializer [-fpermissive]
    1853    61 | int stretch200To240Nearest(uint8 *buf, uint32 pitch, int width, int height, int srcX, int srcY, int origSrcY);
    1854       |                                                                                                             ^
    1855 In file included from ./backends/graphics/sdl/sdl-graphics.h:26,
    1856                  from ./backends/events/sdl/sdl-events.h:27,
    1857                  from ./backends/platform/sdl/sdl.h:30,
    1858                  from backends/platform/sdl/sdl.cpp:25:
    1859 ./backends/graphics/windowed.h:161:2: error: ‘frac_t’ does not name a type
    1860   161 |  frac_t getDesiredGameAspectRatio() const {
    1861       |  ^~~~~~
    1862 ./backends/graphics/windowed.h:373:41: error: ‘frac_t’ does not name a type
    1863   373 |  void populateDisplayAreaDrawRect(const frac_t displayAspect, int originalWidth, Common::Rect &drawRect) const {
    1864       |                                         ^~~~~~
    1865 ./backends/graphics/windowed.h: In member function ‘virtual void WindowedGraphicsManager::showOverlay()’:
    1866 ./backends/graphics/windowed.h:63:23: error: ‘getOverlayWidth’ was not declared in this scope
    1867    63 |   _activeArea.width = getOverlayWidth();
    1868       |                       ^~~~~~~~~~~~~~~
    1869 ./backends/graphics/windowed.h:64:24: error: ‘getOverlayHeight’ was not declared in this scope; did you mean ‘getOverlayFormat’?
    1870    64 |   _activeArea.height = getOverlayHeight();
    1871       |                        ^~~~~~~~~~~~~~~~
    1872       |                        getOverlayFormat
    1873 ./backends/graphics/windowed.h: In member function ‘virtual void WindowedGraphicsManager::hideOverlay()’:
    1874 ./backends/graphics/windowed.h:74:23: error: ‘getWidth’ was not declared in this scope; did you mean ‘XTextWidth’?
    1875    74 |   _activeArea.width = getWidth();
    1876       |                       ^~~~~~~~
    1877       |                       XTextWidth
    1878 ./backends/graphics/windowed.h:75:24: error: ‘getHeight’ was not declared in this scope; did you mean ‘CWHeight’?
    1879    75 |   _activeArea.height = getHeight();
    1880       |                        ^~~~~~~~~
    1881       |                        CWHeight
    1882 ./backends/graphics/windowed.h: In member function ‘Common::Point WindowedGraphicsManager::convertVirtualToWindow(int, int) const’:
    1883 ./backends/graphics/windowed.h:111:44: error: ‘const struct Common::Rect’ has no member named ‘left’
    1884   111 |   const int targetX = _activeArea.drawRect.left;
    1885       |                                            ^~~~
    1886 ./backends/graphics/windowed.h:112:44: error: ‘const struct Common::Rect’ has no member named ‘top’
    1887   112 |   const int targetY = _activeArea.drawRect.top;
    1888       |                                            ^~~
    1889 ./backends/graphics/windowed.h:113:48: error: ‘const struct Common::Rect’ has no member named ‘width’
    1890   113 |   const int targetWidth = _activeArea.drawRect.width();
    1891       |                                                ^~~~~
    1892 ./backends/graphics/windowed.h:114:49: error: ‘const struct Common::Rect’ has no member named ‘height’
    1893   114 |   const int targetHeight = _activeArea.drawRect.height();
    1894       |                                                 ^~~~~~
    1895 ./backends/graphics/windowed.h:126:79: error: no matching function for call to ‘Common::Point::Point(int, int)’
    1896   126 |                        CLIP<int>(windowY, targetY, targetY + targetHeight - 1));
    1897       |                                                                               ^
    1898 In file included from ./common/events.h:28,
    1899                  from ./backends/base-backend.h:27,
    1900                  from ./backends/modular-backend.h:26,
    1901                  from ./backends/platform/sdl/sdl.h:28,
    1902                  from backends/platform/sdl/sdl.cpp:25:
    1903 ./common/rect.h:41:2: note: candidate: ‘Common::Point::Point()’
    1904    41 |  Point() : x(0), y(0) {}
    1905       |  ^~~~~
    1906 ./common/rect.h:41:2: note:   candidate expects 0 arguments, 2 provided
    1907 ./common/rect.h:37:8: note: candidate: ‘Common::Point::Point(const Common::Point&)’
    1908    37 | struct Point {
    1909       |        ^~~~~
    1910 ./common/rect.h:37:8: note:   candidate expects 1 argument, 2 provided
    1911 In file included from ./backends/graphics/sdl/sdl-graphics.h:26,
    1912                  from ./backends/events/sdl/sdl-events.h:27,
    1913                  from ./backends/platform/sdl/sdl.h:30,
    1914                  from backends/platform/sdl/sdl.cpp:25:
    1915 ./backends/graphics/windowed.h: In member function ‘Common::Point WindowedGraphicsManager::convertWindowToVirtual(int, int) const’:
    1916 ./backends/graphics/windowed.h:135:44: error: ‘const struct Common::Rect’ has no member named ‘left’
    1917   135 |   const int sourceX = _activeArea.drawRect.left;
    1918       |                                            ^~~~
    1919 ./backends/graphics/windowed.h:136:44: error: ‘const struct Common::Rect’ has no member named ‘top’
    1920   136 |   const int sourceY = _activeArea.drawRect.top;
    1921       |                                            ^~~
    1922 ./backends/graphics/windowed.h:137:47: error: ‘const struct Common::Rect’ has no member named ‘right’
    1923   137 |   const int sourceMaxX = _activeArea.drawRect.right - 1;
    1924       |                                               ^~~~~
    1925 ./backends/graphics/windowed.h:138:47: error: ‘const struct Common::Rect’ has no member named ‘bottom’
    1926   138 |   const int sourceMaxY = _activeArea.drawRect.bottom - 1;
    1927       |                                               ^~~~~~
    1928 ./backends/graphics/windowed.h:139:48: error: ‘const struct Common::Rect’ has no member named ‘width’
    1929   139 |   const int sourceWidth = _activeArea.drawRect.width();
    1930       |                                                ^~~~~
    1931 ./backends/graphics/windowed.h:140:49: error: ‘const struct Common::Rect’ has no member named ‘height’
    1932   140 |   const int sourceHeight = _activeArea.drawRect.height();
    1933       |                                                 ^~~~~~
    1934 ./backends/graphics/windowed.h:155:64: error: no matching function for call to ‘Common::Point::Point(int, int)’
    1935   155 |                        CLIP<int>(virtualY, 0, targetHeight - 1));
    1936       |                                                                ^
    1937 In file included from ./common/events.h:28,
    1938                  from ./backends/base-backend.h:27,
    1939                  from ./backends/modular-backend.h:26,
    1940                  from ./backends/platform/sdl/sdl.h:28,
    1941                  from backends/platform/sdl/sdl.cpp:25:
    1942 ./common/rect.h:41:2: note: candidate: ‘Common::Point::Point()’
    1943    41 |  Point() : x(0), y(0) {}
    1944       |  ^~~~~
    1945 ./common/rect.h:41:2: note:   candidate expects 0 arguments, 2 provided
    1946 ./common/rect.h:37:8: note: candidate: ‘Common::Point::Point(const Common::Point&)’
    1947    37 | struct Point {
    1948       |        ^~~~~
    1949 ./common/rect.h:37:8: note:   candidate expects 1 argument, 2 provided
    1950 In file included from ./backends/graphics/sdl/sdl-graphics.h:26,
    1951                  from ./backends/events/sdl/sdl-events.h:27,
    1952                  from ./backends/platform/sdl/sdl.h:30,
    1953                  from backends/platform/sdl/sdl.cpp:25:
    1954 ./backends/graphics/windowed.h: In member function ‘virtual void WindowedGraphicsManager::recalculateDisplayAreas()’:
    1955 ./backends/graphics/windowed.h:199:31: error: ‘getDesiredGameAspectRatio’ was not declared in this scope
    1956   199 |   populateDisplayAreaDrawRect(getDesiredGameAspectRatio(), getWidth() * getGameRenderScale(), _gameDrawRect);
    1957       |                               ^~~~~~~~~~~~~~~~~~~~~~~~~
    1958 ./backends/graphics/windowed.h:199:60: error: ‘getWidth’ was not declared in this scope; did you mean ‘XTextWidth’?
    1959   199 |   populateDisplayAreaDrawRect(getDesiredGameAspectRatio(), getWidth() * getGameRenderScale(), _gameDrawRect);
    1960       |                                                            ^~~~~~~~
    1961       |                                                            XTextWidth
    1962 ./backends/graphics/windowed.h:201:7: error: ‘getOverlayHeight’ was not declared in this scope; did you mean ‘getOverlayFormat’?
    1963   201 |   if (getOverlayHeight()) {
    1964       |       ^~~~~~~~~~~~~~~~
    1965       |       getOverlayFormat
    1966 ./backends/graphics/windowed.h:202:10: error: ‘frac_t’ does not name a type
    1967   202 |    const frac_t overlayAspect = intToFrac(getOverlayWidth()) / getOverlayHeight();
    1968       |          ^~~~~~
    1969 ./backends/graphics/windowed.h:203:32: error: ‘overlayAspect’ was not declared in this scope; did you mean ‘real2Aspect’?
    1970   203 |    populateDisplayAreaDrawRect(overlayAspect, getOverlayWidth(), _overlayDrawRect);
    1971       |                                ^~~~~~~~~~~~~
    1972       |                                real2Aspect
    1973 ./backends/graphics/windowed.h:203:47: error: ‘getOverlayWidth’ was not declared in this scope
    1974   203 |    populateDisplayAreaDrawRect(overlayAspect, getOverlayWidth(), _overlayDrawRect);
    1975       |                                               ^~~~~~~~~~~~~~~
    1976 ./backends/graphics/windowed.h:208:24: error: ‘getOverlayWidth’ was not declared in this scope
    1977   208 |    _activeArea.width = getOverlayWidth();
    1978       |                        ^~~~~~~~~~~~~~~
    1979 ./backends/graphics/windowed.h:209:25: error: ‘getOverlayHeight’ was not declared in this scope; did you mean ‘getOverlayFormat’?
    1980   209 |    _activeArea.height = getOverlayHeight();
    1981       |                         ^~~~~~~~~~~~~~~~
    1982       |                         getOverlayFormat
    1983 ./backends/graphics/windowed.h:213:25: error: ‘getHeight’ was not declared in this scope; did you mean ‘CWHeight’?
    1984   213 |    _activeArea.height = getHeight();
    1985       |                         ^~~~~~~~~
    1986       |                         CWHeight
    1987 ./backends/graphics/windowed.h: In member function ‘virtual void WindowedGraphicsManager::warpMouse(int, int)’:
    1988 ./backends/graphics/windowed.h:247:21: error: ‘const struct Common::Point’ has no member named ‘x’
    1989   247 |   if (virtualCursor.x != x || virtualCursor.y != y) {
    1990       |                     ^
    1991 ./backends/graphics/windowed.h:247:45: error: ‘const struct Common::Point’ has no member named ‘y’
    1992   247 |   if (virtualCursor.x != x || virtualCursor.y != y) {
    1993       |                                             ^
    1994 ./backends/graphics/windowed.h:257:34: error: ‘const struct Common::Point’ has no member named ‘x’
    1995   257 |    setMousePosition(windowCursor.x, windowCursor.y);
    1996       |                                  ^
    1997 ./backends/graphics/windowed.h:257:50: error: ‘const struct Common::Point’ has no member named ‘y’
    1998   257 |    setMousePosition(windowCursor.x, windowCursor.y);
    1999       |                                                  ^
    2000 ./backends/graphics/windowed.h:258:40: error: ‘const struct Common::Point’ has no member named ‘x’
    2001   258 |    setSystemMousePosition(windowCursor.x, windowCursor.y);
    2002       |                                        ^
    2003 ./backends/graphics/windowed.h:258:56: error: ‘const struct Common::Point’ has no member named ‘y’
    2004   258 |    setSystemMousePosition(windowCursor.x, windowCursor.y);
    2005       |                                                        ^
    2006 ./backends/graphics/windowed.h: In member function ‘void WindowedGraphicsManager::populateDisplayAreaDrawRect(int, int, Common::Rect&) const’:
    2007 ./backends/graphics/windowed.h:384:13: error: ‘intToFrac’ was not declared in this scope
    2008   384 |    height = intToFrac(width) / displayAspect;
    2009       |             ^~~~~~~~~
    2010 ./backends/graphics/windowed.h:395:4: error: ‘frac_t’ was not declared in this scope
    2011   395 |    frac_t windowAspect = intToFrac(_windowWidth) / _windowHeight;
    2012       |    ^~~~~~
    2013 ./backends/graphics/windowed.h:399:11: error: expected ‘;’ before ‘ratio’
    2014   399 |     frac_t ratio = intToFrac(4) / 3;
    2015       |           ^~~~~~
    2016       |           ;
    2017 ./backends/graphics/windowed.h:400:9: error: ‘windowAspect’ was not declared in this scope
    2018   400 |     if (windowAspect < ratio)
    2019       |         ^~~~~~~~~~~~
    2020 ./backends/graphics/windowed.h:400:24: error: ‘ratio’ was not declared in this scope
    2021   400 |     if (windowAspect < ratio)
    2022       |                        ^~~~~
    2023 ./backends/graphics/windowed.h:401:15: error: ‘intToFrac’ was not declared in this scope
    2024   401 |      height = intToFrac(width) / ratio;
    2025       |               ^~~~~~~~~
    2026 ./backends/graphics/windowed.h:403:14: error: ‘fracToInt’ was not declared in this scope
    2027   403 |      width = fracToInt(height * ratio);
    2028       |              ^~~~~~~~~
    2029 ./backends/graphics/windowed.h:405:9: error: ‘windowAspect’ was not declared in this scope
    2030   405 |     if (windowAspect < displayAspect)
    2031       |         ^~~~~~~~~~~~
    2032 ./backends/graphics/windowed.h:406:15: error: ‘intToFrac’ was not declared in this scope
    2033   406 |      height = intToFrac(width) / displayAspect;
    2034       |               ^~~~~~~~~
    2035 ./backends/graphics/windowed.h:408:14: error: ‘fracToInt’ was not declared in this scope
    2036   408 |      width = fracToInt(height * displayAspect);
    2037       |              ^~~~~~~~~
    2038 ./backends/graphics/windowed.h:412:12: error: ‘struct Common::Rect’ has no member named ‘left’
    2039   412 |   drawRect.left = ((_windowWidth - width) / 2) + _gameScreenShakeXOffset * width / getWidth();
    2040       |            ^~~~
    2041 ./backends/graphics/windowed.h:412:84: error: ‘getWidth’ was not declared in this scope; did you mean ‘XTextWidth’?
    2042   412 |   drawRect.left = ((_windowWidth - width) / 2) + _gameScreenShakeXOffset * width / getWidth();
    2043       |                                                                                    ^~~~~~~~
    2044       |                                                                                    XTextWidth
    2045 ./backends/graphics/windowed.h:413:12: error: ‘struct Common::Rect’ has no member named ‘top’
    2046   413 |   drawRect.top = ((_windowHeight - height) / 2) + _gameScreenShakeYOffset * height / getHeight();
    2047       |            ^~~
    2048 ./backends/graphics/windowed.h:413:86: error: ‘getHeight’ was not declared in this scope; did you mean ‘CWHeight’?
    2049   413 |   drawRect.top = ((_windowHeight - height) / 2) + _gameScreenShakeYOffset * height / getHeight();
    2050       |                                                                                      ^~~~~~~~~
    2051       |                                                                                      CWHeight
    2052 In file included from ./backends/graphics/sdl/sdl-graphics.h:27,
    2053                  from ./backends/events/sdl/sdl-events.h:27,
    2054                  from ./backends/platform/sdl/sdl.h:30,
    2055                  from backends/platform/sdl/sdl.cpp:25:
    2056 ./backends/platform/sdl/sdl-window.h: At global scope:
    2057 ./backends/platform/sdl/sdl-window.h:114:51: error: ‘uint32’ has not been declared
    2058   114 |  bool createOrUpdateWindow(int width, int height, uint32 flags);
    2059       |                                                   ^~~~~~
    2060 ./backends/platform/sdl/sdl-window.h:125:2: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2061   125 |  uint32 _lastFlags;
    2062       |  ^~~~~~
    2063       |  Uint32
    2064 In file included from ./backends/platform/sdl/sdl.h:30,
    2065                  from backends/platform/sdl/sdl.cpp:25:
    2066 ./backends/events/sdl/sdl-events.h:187:2: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2067   187 |  uint32 obtainUnicode(const SDL_Keysym keySym);
    2068       |  ^~~~~~
    2069       |  Uint32
    2070 ./backends/events/sdl/sdl-events.h:206:2: error: ‘uint8’ does not name a type; did you mean ‘Uint8’?
    2071   206 |  uint8 _lastHatPosition;
    2072       |  ^~~~~
    2073       |  Uint8
    2074 In file included from backends/platform/sdl/sdl.cpp:25:
    2075 ./backends/platform/sdl/sdl.h:80:10: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2076    80 |  virtual uint32 getMillis(bool skipRecord = false) override;
    2077       |          ^~~~~~
    2078       |          Uint32
    2079 In file included from ./common/stream.h:26,
    2080                  from ./common/savefile.h:28,
    2081                  from ./gui/EventRecorder.h:29,
    2082                  from backends/platform/sdl/sdl.cpp:27:
    2083 ./common/endian.h:95:9: error: ‘uint16’ does not name a type; did you mean ‘Uint16’?
    2084    95 |  inline uint16 SWAP_BYTES_16(const uint16 a) {
    2085       |         ^~~~~~
    2086       |         Uint16
    2087 ./common/endian.h:131:14: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2088   131 |  FORCEINLINE uint32 SWAP_BYTES_32(uint32 a) {
    2089       |              ^~~~~~
    2090       |              Uint32
    2091 ./common/endian.h:177:14: error: ‘uint64’ does not name a type; did you mean ‘Uint64’?
    2092   177 |  FORCEINLINE uint64 SWAP_BYTES_64(uint64 a) {
    2093       |              ^~~~~~
    2094       |              Uint64
    2095 ./common/endian.h:232:14: error: ‘uint16’ does not name a type; did you mean ‘Uint16’?
    2096   232 |  FORCEINLINE uint16 READ_UINT16(const void *ptr) {
    2097       |              ^~~~~~
    2098       |              Uint16
    2099 ./common/endian.h:237:14: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2100   237 |  FORCEINLINE uint32 READ_UINT32(const void *ptr) {
    2101       |              ^~~~~~
    2102       |              Uint32
    2103 ./common/endian.h:242:43: error: ‘uint16’ has not been declared
    2104   242 |  FORCEINLINE void WRITE_UINT16(void *ptr, uint16 value) {
    2105       |                                           ^~~~~~
    2106 ./common/endian.h: In function ‘void WRITE_UINT16(void*, int)’:
    2107 ./common/endian.h:243:24: error: ‘uint16’ does not name a type; did you mean ‘Uint16’?
    2108   243 |   struct Unaligned16 { uint16 val; } __attribute__ ((__packed__, __may_alias__));
    2109       |                        ^~~~~~
    2110       |                        Uint16
    2111 ./common/endian.h:244:25: error: ‘struct WRITE_UINT16(void*, int)::Unaligned16’ has no member named ‘val’
    2112   244 |   ((Unaligned16 *)ptr)->val = value;
    2113       |                         ^~~
    2114 ./common/endian.h: At global scope:
    2115 ./common/endian.h:247:43: error: ‘uint32’ has not been declared
    2116   247 |  FORCEINLINE void WRITE_UINT32(void *ptr, uint32 value) {
    2117       |                                           ^~~~~~
    2118 ./common/endian.h: In function ‘void WRITE_UINT32(void*, int)’:
    2119 ./common/endian.h:248:24: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2120   248 |   struct Unaligned32 { uint32 val; } __attribute__ ((__packed__, __may_alias__));
    2121       |                        ^~~~~~
    2122       |                        Uint32
    2123 ./common/endian.h:249:25: error: ‘struct WRITE_UINT32(void*, int)::Unaligned32’ has no member named ‘val’
    2124   249 |   ((Unaligned32 *)ptr)->val = value;
    2125       |                         ^~~
    2126 ./common/endian.h: At global scope:
    2127 ./common/endian.h:252:14: error: ‘uint64’ does not name a type; did you mean ‘Uint64’?
    2128   252 |  FORCEINLINE uint64 READ_UINT64(const void *ptr) {
    2129       |              ^~~~~~
    2130       |              Uint64
    2131 ./common/endian.h:257:43: error: ‘uint64’ has not been declared
    2132   257 |  FORCEINLINE void WRITE_UINT64(void *ptr, uint64 value) {
    2133       |                                           ^~~~~~
    2134 ./common/endian.h: In function ‘void WRITE_UINT64(void*, int)’:
    2135 ./common/endian.h:258:24: error: ‘uint64’ does not name a type; did you mean ‘Uint64’?
    2136   258 |   struct Unaligned64 { uint64 val; } __attribute__((__packed__, __may_alias__));
    2137       |                        ^~~~~~
    2138       |                        Uint64
    2139 ./common/endian.h:259:25: error: ‘struct WRITE_UINT64(void*, int)::Unaligned64’ has no member named ‘val’
    2140   259 |   ((Unaligned64 *)ptr)->val = value;
    2141       |                         ^~~
    2142 In file included from ./common/stream.h:26,
    2143                  from ./common/savefile.h:28,
    2144                  from ./gui/EventRecorder.h:29,
    2145                  from backends/platform/sdl/sdl.cpp:27:
    2146 ./common/endian.h: At global scope:
    2147 ./common/endian.h:571:8: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2148   571 | inline uint32 READ_LE_UINT24(const void *ptr) {
    2149       |        ^~~~~~
    2150       |        Uint32
    2151 ./common/endian.h:576:40: error: ‘uint32’ has not been declared
    2152   576 | inline void WRITE_LE_UINT24(void *ptr, uint32 value) {
    2153       |                                        ^~~~~~
    2154 ./common/endian.h: In function ‘void WRITE_LE_UINT24(void*, int)’:
    2155 ./common/endian.h:577:2: error: ‘uint8’ was not declared in this scope; did you mean ‘Uint8’?
    2156   577 |  uint8 *b = (uint8 *)ptr;
    2157       |  ^~~~~
    2158       |  Uint8
    2159 ./common/endian.h:577:9: error: ‘b’ was not declared in this scope
    2160   577 |  uint8 *b = (uint8 *)ptr;
    2161       |         ^
    2162 ./common/endian.h:577:21: error: expected primary-expression before ‘)’ token
    2163   577 |  uint8 *b = (uint8 *)ptr;
    2164       |                     ^
    2165 ./common/endian.h: At global scope:
    2166 ./common/endian.h:583:8: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2167   583 | inline uint32 READ_BE_UINT24(const void *ptr) {
    2168       |        ^~~~~~
    2169       |        Uint32
    2170 ./common/endian.h:588:40: error: ‘uint32’ has not been declared
    2171   588 | inline void WRITE_BE_UINT24(void *ptr, uint32 value) {
    2172       |                                        ^~~~~~
    2173 ./common/endian.h: In function ‘void WRITE_BE_UINT24(void*, int)’:
    2174 ./common/endian.h:589:2: error: ‘uint8’ was not declared in this scope; did you mean ‘Uint8’?
    2175   589 |  uint8 *b = (uint8 *)ptr;
    2176       |  ^~~~~
    2177       |  Uint8
    2178 ./common/endian.h:589:9: error: ‘b’ was not declared in this scope
    2179   589 |  uint8 *b = (uint8 *)ptr;
    2180       |         ^
    2181 ./common/endian.h:589:21: error: expected primary-expression before ‘)’ token
    2182   589 |  uint8 *b = (uint8 *)ptr;
    2183       |                     ^
    2184 ./common/endian.h: At global scope:
    2185 ./common/endian.h:603:8: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    2186   603 | inline int16 READ_LE_INT16(const void *ptr) {
    2187       |        ^~~~~
    2188       |        Uint16
    2189 ./common/endian.h:607:39: error: ‘int16’ has not been declared
    2190   607 | inline void WRITE_LE_INT16(void *ptr, int16 value) {
    2191       |                                       ^~~~~
    2192 ./common/endian.h: In function ‘void WRITE_LE_INT16(void*, int)’:
    2193 ./common/endian.h:608:35: error: ‘uint16’ does not name a type; did you mean ‘Uint16’?
    2194   608 |  WRITE_LE_UINT16(ptr, static_cast<uint16>(value));
    2195       |                                   ^~~~~~
    2196       |                                   Uint16
    2197 ./common/endian.h:608:2: error: ‘WRITE_LE_UINT16’ was not declared in this scope; did you mean ‘WRITE_LE_INT16’?
    2198   608 |  WRITE_LE_UINT16(ptr, static_cast<uint16>(value));
    2199       |  ^~~~~~~~~~~~~~~
    2200       |  WRITE_LE_INT16
    2201 ./common/endian.h: At global scope:
    2202 ./common/endian.h:611:8: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    2203   611 | inline int16 READ_BE_INT16(const void *ptr) {
    2204       |        ^~~~~
    2205       |        Uint16
    2206 ./common/endian.h:615:39: error: ‘int16’ has not been declared
    2207   615 | inline void WRITE_BE_INT16(void *ptr, int16 value) {
    2208       |                                       ^~~~~
    2209 ./common/endian.h: In function ‘void WRITE_BE_INT16(void*, int)’:
    2210 ./common/endian.h:616:35: error: ‘uint16’ does not name a type; did you mean ‘Uint16’?
    2211   616 |  WRITE_BE_UINT16(ptr, static_cast<uint16>(value));
    2212       |                                   ^~~~~~
    2213       |                                   Uint16
    2214 ./common/endian.h:616:2: error: ‘WRITE_BE_UINT16’ was not declared in this scope; did you mean ‘WRITE_BE_INT16’?
    2215   616 |  WRITE_BE_UINT16(ptr, static_cast<uint16>(value));
    2216       |  ^~~~~~~~~~~~~~~
    2217       |  WRITE_BE_INT16
    2218 ./common/endian.h: At global scope:
    2219 ./common/endian.h:619:8: error: ‘int32’ does not name a type; did you mean ‘Uint32’?
    2220   619 | inline int32 READ_LE_INT32(const void *ptr) {
    2221       |        ^~~~~
    2222       |        Uint32
    2223 ./common/endian.h:623:39: error: ‘int32’ has not been declared
    2224   623 | inline void WRITE_LE_INT32(void *ptr, int32 value) {
    2225       |                                       ^~~~~
    2226 ./common/endian.h: In function ‘void WRITE_LE_INT32(void*, int)’:
    2227 ./common/endian.h:624:35: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2228   624 |  WRITE_LE_UINT32(ptr, static_cast<uint32>(value));
    2229       |                                   ^~~~~~
    2230       |                                   Uint32
    2231 ./common/endian.h:624:2: error: ‘WRITE_LE_UINT32’ was not declared in this scope; did you mean ‘WRITE_LE_INT32’?
    2232   624 |  WRITE_LE_UINT32(ptr, static_cast<uint32>(value));
    2233       |  ^~~~~~~~~~~~~~~
    2234       |  WRITE_LE_INT32
    2235 ./common/endian.h: At global scope:
    2236 ./common/endian.h:627:8: error: ‘int32’ does not name a type; did you mean ‘Uint32’?
    2237   627 | inline int32 READ_BE_INT32(const void *ptr) {
    2238       |        ^~~~~
    2239       |        Uint32
    2240 ./common/endian.h:631:39: error: ‘int32’ has not been declared
    2241   631 | inline void WRITE_BE_INT32(void *ptr, int32 value) {
    2242       |                                       ^~~~~
    2243 ./common/endian.h: In function ‘void WRITE_BE_INT32(void*, int)’:
    2244 ./common/endian.h:632:35: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2245   632 |  WRITE_BE_UINT32(ptr, static_cast<uint32>(value));
    2246       |                                   ^~~~~~
    2247       |                                   Uint32
    2248 ./common/endian.h:632:2: error: ‘WRITE_BE_UINT32’ was not declared in this scope; did you mean ‘WRITE_BE_INT32’?
    2249   632 |  WRITE_BE_UINT32(ptr, static_cast<uint32>(value));
    2250       |  ^~~~~~~~~~~~~~~
    2251       |  WRITE_BE_INT32
    2252 In file included from ./common/savefile.h:28,
    2253                  from ./gui/EventRecorder.h:29,
    2254                  from backends/platform/sdl/sdl.cpp:27:
    2255 ./common/stream.h: At global scope:
    2256 ./common/stream.h:78:10: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2257    78 |  virtual uint32 write(const void *dataPtr, uint32 dataSize) = 0;
    2258       |          ^~~~~~
    2259       |          Uint32
    2260 ./common/stream.h:113:10: error: ‘int32’ does not name a type; did you mean ‘Uint32’?
    2261   113 |  virtual int32 pos() const = 0;
    2262       |          ^~~~~
    2263       |          Uint32
    2264 ./common/stream.h:119:17: error: ‘byte’ has not been declared
    2265   119 |  void writeByte(byte value) {
    2266       |                 ^~~~
    2267 ./common/stream.h:123:18: error: ‘int8’ has not been declared
    2268   123 |  void writeSByte(int8 value) {
    2269       |                  ^~~~
    2270 ./common/stream.h:127:21: error: ‘uint16’ has not been declared
    2271   127 |  void writeUint16LE(uint16 value) {
    2272       |                     ^~~~~~
    2273 ./common/stream.h:132:21: error: ‘uint32’ has not been declared
    2274   132 |  void writeUint32LE(uint32 value) {
    2275       |                     ^~~~~~
    2276 ./common/stream.h:137:21: error: ‘uint64’ has not been declared
    2277   137 |  void writeUint64LE(uint64 value) {
    2278       |                     ^~~~~~
    2279 ./common/stream.h:142:21: error: ‘uint16’ has not been declared
    2280   142 |  void writeUint16BE(uint16 value) {
    2281       |                     ^~~~~~
    2282 ./common/stream.h:147:21: error: ‘uint32’ has not been declared
    2283   147 |  void writeUint32BE(uint32 value) {
    2284       |                     ^~~~~~
    2285 ./common/stream.h:152:21: error: ‘uint64’ has not been declared
    2286   152 |  void writeUint64BE(uint64 value) {
    2287       |                     ^~~~~~
    2288 ./common/stream.h:157:33: error: ‘int16’ has not been declared
    2289   157 |  FORCEINLINE void writeSint16LE(int16 value) {
    2290       |                                 ^~~~~
    2291 ./common/stream.h:161:33: error: ‘int32’ has not been declared
    2292   161 |  FORCEINLINE void writeSint32LE(int32 value) {
    2293       |                                 ^~~~~
    2294 ./common/stream.h:165:33: error: ‘int64’ has not been declared
    2295   165 |  FORCEINLINE void writeSint64LE(int64 value) {
    2296       |                                 ^~~~~
    2297 ./common/stream.h:169:33: error: ‘int16’ has not been declared
    2298   169 |  FORCEINLINE void writeSint16BE(int16 value) {
    2299       |                                 ^~~~~
    2300 ./common/stream.h:173:33: error: ‘int32’ has not been declared
    2301   173 |  FORCEINLINE void writeSint32BE(int32 value) {
    2302       |                                 ^~~~~
    2303 ./common/stream.h:177:33: error: ‘int64’ has not been declared
    2304   177 |  FORCEINLINE void writeSint64BE(int64 value) {
    2305       |                                 ^~~~~
    2306 ./common/stream.h:235:2: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2307   235 |  uint32 writeStream(ReadStream *stream, uint32 dataSize);
    2308       |  ^~~~~~
    2309       |  Uint32
    2310 ./common/stream.h:237:2: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2311   237 |  uint32 writeStream(SeekableReadStream *stream);
    2312       |  ^~~~~~
    2313       |  Uint32
    2314 ./common/stream.h: In member function ‘void Common::WriteStream::writeByte(int)’:
    2315 ./common/stream.h:120:3: error: ‘write’ was not declared in this scope; did you mean ‘fwrite’?
    2316   120 |   write(&value, 1);
    2317       |   ^~~~~
    2318       |   fwrite
    2319 ./common/stream.h: In member function ‘void Common::WriteStream::writeSByte(int)’:
    2320 ./common/stream.h:124:3: error: ‘write’ was not declared in this scope; did you mean ‘fwrite’?
    2321   124 |   write(&value, 1);
    2322       |   ^~~~~
    2323       |   fwrite
    2324 ./common/stream.h: In member function ‘void Common::WriteStream::writeUint16LE(int)’:
    2325 ./common/stream.h:128:11: error: ‘TO_LE_16’ was not declared in this scope
    2326   128 |   value = TO_LE_16(value);
    2327       |           ^~~~~~~~
    2328 ./common/stream.h:129:3: error: ‘write’ was not declared in this scope; did you mean ‘fwrite’?
    2329   129 |   write(&value, 2);
    2330       |   ^~~~~
    2331       |   fwrite
    2332 ./common/stream.h: In member function ‘void Common::WriteStream::writeUint32LE(int)’:
    2333 ./common/stream.h:133:11: error: ‘TO_LE_32’ was not declared in this scope
    2334   133 |   value = TO_LE_32(value);
    2335       |           ^~~~~~~~
    2336 ./common/stream.h:134:3: error: ‘write’ was not declared in this scope; did you mean ‘fwrite’?
    2337   134 |   write(&value, 4);
    2338       |   ^~~~~
    2339       |   fwrite
    2340 ./common/stream.h: In member function ‘void Common::WriteStream::writeUint64LE(int)’:
    2341 ./common/stream.h:138:11: error: ‘TO_LE_64’ was not declared in this scope
    2342   138 |   value = TO_LE_64(value);
    2343       |           ^~~~~~~~
    2344 ./common/stream.h:139:3: error: ‘write’ was not declared in this scope; did you mean ‘fwrite’?
    2345   139 |   write(&value, 8);
    2346       |   ^~~~~
    2347       |   fwrite
    2348 ./common/stream.h: In member function ‘void Common::WriteStream::writeUint16BE(int)’:
    2349 ./common/stream.h:143:11: error: ‘TO_BE_16’ was not declared in this scope
    2350   143 |   value = TO_BE_16(value);
    2351       |           ^~~~~~~~
    2352 ./common/stream.h:144:3: error: ‘write’ was not declared in this scope; did you mean ‘fwrite’?
    2353   144 |   write(&value, 2);
    2354       |   ^~~~~
    2355       |   fwrite
    2356 ./common/stream.h: In member function ‘void Common::WriteStream::writeUint32BE(int)’:
    2357 ./common/stream.h:148:11: error: ‘TO_BE_32’ was not declared in this scope
    2358   148 |   value = TO_BE_32(value);
    2359       |           ^~~~~~~~
    2360 ./common/stream.h:149:3: error: ‘write’ was not declared in this scope; did you mean ‘fwrite’?
    2361   149 |   write(&value, 4);
    2362       |   ^~~~~
    2363       |   fwrite
    2364 ./common/stream.h: In member function ‘void Common::WriteStream::writeUint64BE(int)’:
    2365 ./common/stream.h:153:11: error: ‘TO_BE_64’ was not declared in this scope
    2366   153 |   value = TO_BE_64(value);
    2367       |           ^~~~~~~~
    2368 ./common/stream.h:154:3: error: ‘write’ was not declared in this scope; did you mean ‘fwrite’?
    2369   154 |   write(&value, 8);
    2370       |   ^~~~~
    2371       |   fwrite
    2372 ./common/stream.h: In member function ‘void Common::WriteStream::writeSint16LE(int)’:
    2373 ./common/stream.h:158:18: error: ‘uint16’ was not declared in this scope; did you mean ‘Uint16’?
    2374   158 |   writeUint16LE((uint16)value);
    2375       |                  ^~~~~~
    2376       |                  Uint16
    2377 ./common/stream.h: In member function ‘void Common::WriteStream::writeSint32LE(int)’:
    2378 ./common/stream.h:162:18: error: ‘uint32’ was not declared in this scope; did you mean ‘Uint32’?
    2379   162 |   writeUint32LE((uint32)value);
    2380       |                  ^~~~~~
    2381       |                  Uint32
    2382 ./common/stream.h: In member function ‘void Common::WriteStream::writeSint64LE(int)’:
    2383 ./common/stream.h:166:18: error: ‘uint64’ was not declared in this scope; did you mean ‘Uint64’?
    2384   166 |   writeUint64LE((uint64)value);
    2385       |                  ^~~~~~
    2386       |                  Uint64
    2387 ./common/stream.h: In member function ‘void Common::WriteStream::writeSint16BE(int)’:
    2388 ./common/stream.h:170:18: error: ‘uint16’ was not declared in this scope; did you mean ‘Uint16’?
    2389   170 |   writeUint16BE((uint16)value);
    2390       |                  ^~~~~~
    2391       |                  Uint16
    2392 ./common/stream.h: In member function ‘void Common::WriteStream::writeSint32BE(int)’:
    2393 ./common/stream.h:174:18: error: ‘uint32’ was not declared in this scope; did you mean ‘Uint32’?
    2394   174 |   writeUint32BE((uint32)value);
    2395       |                  ^~~~~~
    2396       |                  Uint32
    2397 ./common/stream.h: In member function ‘void Common::WriteStream::writeSint64BE(int)’:
    2398 ./common/stream.h:178:18: error: ‘uint64’ was not declared in this scope; did you mean ‘Uint64’?
    2399   178 |   writeUint64BE((uint64)value);
    2400       |                  ^~~~~~
    2401       |                  Uint64
    2402 ./common/stream.h: In member function ‘void Common::WriteStream::writeFloatLE(float)’:
    2403 ./common/stream.h:187:3: error: ‘uint32’ was not declared in this scope; did you mean ‘Uint32’?
    2404   187 |   uint32 n;
    2405       |   ^~~~~~
    2406       |   Uint32
    2407 ./common/stream.h:189:11: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
    2408   189 |   memcpy(&n, &value, 4);
    2409       |           ^
    2410       |           yn
    2411 ./common/stream.h: In member function ‘void Common::WriteStream::writeFloatBE(float)’:
    2412 ./common/stream.h:200:3: error: ‘uint32’ was not declared in this scope; did you mean ‘Uint32’?
    2413   200 |   uint32 n;
    2414       |   ^~~~~~
    2415       |   Uint32
    2416 ./common/stream.h:202:11: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
    2417   202 |   memcpy(&n, &value, 4);
    2418       |           ^
    2419       |           yn
    2420 ./common/stream.h: In member function ‘void Common::WriteStream::writeDoubleLE(double)’:
    2421 ./common/stream.h:212:3: error: ‘uint64’ was not declared in this scope; did you mean ‘Uint64’?
    2422   212 |   uint64 n;
    2423       |   ^~~~~~
    2424       |   Uint64
    2425 ./common/stream.h:214:11: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
    2426   214 |   memcpy(&n, &value, 8);
    2427       |           ^
    2428       |           yn
    2429 ./common/stream.h: In member function ‘void Common::WriteStream::writeDoubleBE(double)’:
    2430 ./common/stream.h:225:3: error: ‘uint64’ was not declared in this scope; did you mean ‘Uint64’?
    2431   225 |   uint64 n;
    2432       |   ^~~~~~
    2433       |   Uint64
    2434 ./common/stream.h:227:11: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
    2435   227 |   memcpy(&n, &value, 8);
    2436       |           ^
    2437       |           yn
    2438 ./common/stream.h: At global scope:
    2439 ./common/stream.h:266:20: error: ‘int32’ has not been declared
    2440   266 |  virtual bool seek(int32 offset, int whence = SEEK_SET) = 0;
    2441       |                    ^~~~~
    2442 ./common/stream.h:274:10: error: ‘int32’ does not name a type; did you mean ‘Uint32’?
    2443   274 |  virtual int32 size() const = 0;
    2444       |          ^~~~~
    2445       |          Uint32
    2446 ./common/stream.h:308:10: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2447   308 |  virtual uint32 read(void *dataPtr, uint32 dataSize) = 0;
    2448       |          ^~~~~~
    2449       |          Uint32
    2450 ./common/stream.h:320:2: error: ‘byte’ does not name a type
    2451   320 |  byte readByte() {
    2452       |  ^~~~
    2453 ./common/stream.h:332:14: error: ‘int8’ does not name a type; did you mean ‘Uint8’?
    2454   332 |  FORCEINLINE int8 readSByte() {
    2455       |              ^~~~
    2456       |              Uint8
    2457 ./common/stream.h:343:2: error: ‘uint16’ does not name a type; did you mean ‘Uint16’?
    2458   343 |  uint16 readUint16LE() {
    2459       |  ^~~~~~
    2460       |  Uint16
    2461 ./common/stream.h:356:2: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2462   356 |  uint32 readUint32LE() {
    2463       |  ^~~~~~
    2464       |  Uint32
    2465 ./common/stream.h:369:2: error: ‘uint64’ does not name a type; did you mean ‘Uint64’?
    2466   369 |  uint64 readUint64LE() {
    2467       |  ^~~~~~
    2468       |  Uint64
    2469 ./common/stream.h:382:2: error: ‘uint16’ does not name a type; did you mean ‘Uint16’?
    2470   382 |  uint16 readUint16BE() {
    2471       |  ^~~~~~
    2472       |  Uint16
    2473 ./common/stream.h:395:2: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2474   395 |  uint32 readUint32BE() {
    2475       |  ^~~~~~
    2476       |  Uint32
    2477 ./common/stream.h:408:2: error: ‘uint64’ does not name a type; did you mean ‘Uint64’?
    2478   408 |  uint64 readUint64BE() {
    2479       |  ^~~~~~
    2480       |  Uint64
    2481 ./common/stream.h:421:14: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    2482   421 |  FORCEINLINE int16 readSint16LE() {
    2483       |              ^~~~~
    2484       |              Uint16
    2485 ./common/stream.h:432:14: error: ‘int32’ does not name a type; did you mean ‘Uint32’?
    2486   432 |  FORCEINLINE int32 readSint32LE() {
    2487       |              ^~~~~
    2488       |              Uint32
    2489 ./common/stream.h:443:14: error: ‘int64’ does not name a type; did you mean ‘Uint64’?
    2490   443 |  FORCEINLINE int64 readSint64LE() {
    2491       |              ^~~~~
    2492       |              Uint64
    2493 ./common/stream.h:454:14: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    2494   454 |  FORCEINLINE int16 readSint16BE() {
    2495       |              ^~~~~
    2496       |              Uint16
    2497 ./common/stream.h:465:14: error: ‘int32’ does not name a type; did you mean ‘Uint32’?
    2498   465 |  FORCEINLINE int32 readSint32BE() {
    2499       |              ^~~~~
    2500       |              Uint32
    2501 ./common/stream.h:476:14: error: ‘int64’ does not name a type; did you mean ‘Uint64’?
    2502   476 |  FORCEINLINE int64 readSint64BE() {
    2503       |              ^~~~~
    2504       |              Uint64
    2505 ./common/stream.h:553:22: error: expected ‘;’ at end of member declaration
    2506   553 |  SeekableReadStream *readStream(uint32 dataSize);
    2507       |                      ^~~~~~~~~~
    2508       |                                ;
    2509 ./common/stream.h:553:39: error: expected ‘)’ before ‘dataSize’
    2510   553 |  SeekableReadStream *readStream(uint32 dataSize);
    2511       |                                ~      ^~~~~~~~~
    2512       |                                       )
    2513 ./common/stream.h: In member function ‘float Common::ReadStream::readFloatLE()’:
    2514 ./common/stream.h:488:3: error: ‘uint32’ was not declared in this scope; did you mean ‘Uint32’?
    2515   488 |   uint32 n = readUint32LE();
    2516       |   ^~~~~~
    2517       |   Uint32
    2518 ./common/stream.h:491:15: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
    2519   491 |   memcpy(&f, &n, 4);
    2520       |               ^
    2521       |               yn
    2522 ./common/stream.h: In member function ‘float Common::ReadStream::readFloatBE()’:
    2523 ./common/stream.h:504:3: error: ‘uint32’ was not declared in this scope; did you mean ‘Uint32’?
    2524   504 |   uint32 n = readUint32BE();
    2525       |   ^~~~~~
    2526       |   Uint32
    2527 ./common/stream.h:507:15: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
    2528   507 |   memcpy(&f, &n, 4);
    2529       |               ^
    2530       |               yn
    2531 ./common/stream.h: In member function ‘double Common::ReadStream::readDoubleLE()’:
    2532 ./common/stream.h:521:3: error: ‘uint64’ was not declared in this scope; did you mean ‘Uint64’?
    2533   521 |   uint64 n = readUint64LE();
    2534       |   ^~~~~~
    2535       |   Uint64
    2536 ./common/stream.h:524:15: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
    2537   524 |   memcpy(&d, &n, 8);
    2538       |               ^
    2539       |               yn
    2540 ./common/stream.h: In member function ‘double Common::ReadStream::readDoubleBE()’:
    2541 ./common/stream.h:537:3: error: ‘uint64’ was not declared in this scope; did you mean ‘Uint64’?
    2542   537 |   uint64 n = readUint64BE();
    2543       |   ^~~~~~
    2544       |   Uint64
    2545 ./common/stream.h:540:15: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
    2546   540 |   memcpy(&d, &n, 8);
    2547       |               ^
    2548       |               yn
    2549 ./common/stream.h: At global scope:
    2550 ./common/stream.h:580:10: error: ‘int32’ does not name a type; did you mean ‘Uint32’?
    2551   580 |  virtual int32 pos() const = 0;
    2552       |          ^~~~~
    2553       |          Uint32
    2554 ./common/stream.h:588:10: error: ‘int32’ does not name a type; did you mean ‘Uint32’?
    2555   588 |  virtual int32 size() const = 0;
    2556       |          ^~~~~
    2557       |          Uint32
    2558 ./common/stream.h:605:20: error: ‘int32’ has not been declared
    2559   605 |  virtual bool seek(int32 offset, int whence = SEEK_SET) = 0;
    2560       |                    ^~~~~
    2561 ./common/stream.h:611:20: error: ‘uint32’ has not been declared
    2562   611 |  virtual bool skip(uint32 offset) { return seek(offset, SEEK_CUR); }
    2563       |                    ^~~~~~
    2564 ./common/stream.h:677:2: error: ‘uint16’ does not name a type; did you mean ‘Uint16’?
    2565   677 |  uint16 readUint16() {
    2566       |  ^~~~~~
    2567       |  Uint16
    2568 ./common/stream.h:683:2: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2569   683 |  uint32 readUint32() {
    2570       |  ^~~~~~
    2571       |  Uint32
    2572 ./common/stream.h:689:2: error: ‘uint64’ does not name a type; did you mean ‘Uint64’?
    2573   689 |  uint64 readUint64() {
    2574       |  ^~~~~~
    2575       |  Uint64
    2576 ./common/stream.h:695:14: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    2577   695 |  FORCEINLINE int16 readSint16() {
    2578       |              ^~~~~
    2579       |              Uint16
    2580 ./common/stream.h:699:14: error: ‘int32’ does not name a type; did you mean ‘Uint32’?
    2581   699 |  FORCEINLINE int32 readSint32() {
    2582       |              ^~~~~
    2583       |              Uint32
    2584 ./common/stream.h:703:14: error: ‘int64’ does not name a type; did you mean ‘Uint64’?
    2585   703 |  FORCEINLINE int64 readSint64() {
    2586       |              ^~~~~
    2587       |              Uint64
    2588 In file included from ./gui/EventRecorder.h:29,
    2589                  from backends/platform/sdl/sdl.cpp:27:
    2590 ./common/savefile.h:59:10: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2591    59 |  virtual uint32 write(const void *dataPtr, uint32 dataSize);
    2592       |          ^~~~~~
    2593       |          Uint32
    2594 ./common/savefile.h:60:10: error: ‘int32’ does not name a type; did you mean ‘Uint32’?
    2595    60 |  virtual int32 pos() const;
    2596       |          ^~~~~
    2597       |          Uint32
    2598 In file included from ./engines/metaengine.h:31,
    2599                  from ./engines/advancedDetector.h:26,
    2600                  from ./gui/EventRecorder.h:32,
    2601                  from backends/platform/sdl/sdl.cpp:27:
    2602 ./engines/game.h:95:2: error: ‘int32’ does not name a type; did you mean ‘Uint32’?
    2603    95 |  int32 size;
    2604       |  ^~~~~
    2605       |  Uint32
    2606 ./engines/game.h: In constructor ‘FileProperties::FileProperties()’:
    2607 ./engines/game.h:98:21: error: class ‘FileProperties’ does not have any field named ‘size’
    2608    98 |  FileProperties() : size(-1) {}
    2609       |                     ^~~~
    2610 In file included from ./engines/metaengine.h:31,
    2611                  from ./engines/advancedDetector.h:26,
    2612                  from ./gui/EventRecorder.h:32,
    2613                  from backends/platform/sdl/sdl.cpp:27:
    2614 ./engines/game.h: At global scope:
    2615 ./engines/game.h:236:59: error: ‘uint32’ has not been declared
    2616   236 |  Common::String generateUnknownGameReport(bool translate, uint32 wordwrapAt = 0) const;
    2617       |                                                           ^~~~~~
    2618 ./engines/game.h:251:109: error: ‘uint32’ has not been declared
    2619   251 | Common::String generateUnknownGameReport(const DetectedGames &detectedGames, bool translate, bool fullPath, uint32 wordwrapAt = 0);
    2620       |                                                                                                             ^~~~~~
    2621 ./engines/game.h:252:107: error: ‘uint32’ has not been declared
    2622   252 | Common::String generateUnknownGameReport(const DetectedGame &detectedGame, bool translate, bool fullPath, uint32 wordwrapAt = 0);
    2623       |                                                                                                           ^~~~~~
    2624 In file included from ./engines/metaengine.h:32,
    2625                  from ./engines/advancedDetector.h:26,
    2626                  from ./gui/EventRecorder.h:32,
    2627                  from backends/platform/sdl/sdl.cpp:27:
    2628 ./engines/savestate.h:176:19: error: ‘uint32’ has not been declared
    2629   176 |  void setPlayTime(uint32 msecs);
    2630       |                   ^~~~~~
    2631 ./engines/savestate.h:192:2: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2632   192 |  uint32 getPlayTimeMSecs() const { return _playTimeMSecs; }
    2633       |  ^~~~~~
    2634       |  Uint32
    2635 ./engines/savestate.h:249:2: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2636   249 |  uint32 _playTimeMSecs;
    2637       |  ^~~~~~
    2638       |  Uint32
    2639 In file included from ./engines/advancedDetector.h:26,
    2640                  from ./gui/EventRecorder.h:32,
    2641                  from backends/platform/sdl/sdl.cpp:27:
    2642 ./engines/metaengine.h:74:2: error: ‘uint8’ does not name a type; did you mean ‘Uint8’?
    2643    74 |  uint8 version;
    2644       |  ^~~~~
    2645       |  Uint8
    2646 ./engines/metaengine.h:77:2: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2647    77 |  uint32 date;
    2648       |  ^~~~~~
    2649       |  Uint32
    2650 ./engines/metaengine.h:78:2: error: ‘uint16’ does not name a type; did you mean ‘Uint16’?
    2651    78 |  uint16 time;
    2652       |  ^~~~~~
    2653       |  Uint16
    2654 ./engines/metaengine.h:79:2: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2655    79 |  uint32 playtime;
    2656       |  ^~~~~~
    2657       |  Uint32
    2658 ./engines/metaengine.h: In constructor ‘ExtendedSavegameHeader::ExtendedSavegameHeader()’:
    2659 ./engines/metaengine.h:85:3: error: ‘version’ was not declared in this scope
    2660    85 |   version = 0;
    2661       |   ^~~~~~~
    2662 ./engines/metaengine.h:86:3: error: ‘date’ was not declared in this scope
    2663    86 |   date = 0;
    2664       |   ^~~~
    2665 ./engines/metaengine.h:87:3: error: ‘time’ was not declared in this scope; did you mean ‘Time’?
    2666    87 |   time = 0;
    2667       |   ^~~~
    2668       |   Time
    2669 ./engines/metaengine.h:88:3: error: ‘playtime’ was not declared in this scope
    2670    88 |   playtime = 0;
    2671       |   ^~~~~~~~
    2672 In file included from ./engines/advancedDetector.h:26,
    2673                  from ./gui/EventRecorder.h:32,
    2674                  from backends/platform/sdl/sdl.cpp:27:
    2675 ./engines/metaengine.h: At global scope:
    2676 ./engines/metaengine.h:388:64: error: ‘uint32’ has not been declared
    2677   388 |  static void appendExtendedSave(Common::OutSaveFile *saveFile, uint32 playtime,
    2678       |                                                                ^~~~~~
    2679 In file included from ./engines/advancedDetector.h:27,
    2680                  from ./gui/EventRecorder.h:32,
    2681                  from backends/platform/sdl/sdl.cpp:27:
    2682 ./engines/engine.h:126:2: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2683   126 |  uint32 _pauseStartTime;
    2684       |  ^~~~~~
    2685       |  Uint32
    2686 ./engines/engine.h:132:2: error: ‘int32’ does not name a type; did you mean ‘Uint32’?
    2687   132 |  int32 _engineStartTime;
    2688       |  ^~~~~
    2689       |  Uint32
    2690 ./engines/engine.h:423:2: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2691   423 |  uint32 getTotalPlayTime() const;
    2692       |  ^~~~~~
    2693       |  Uint32
    2694 ./engines/engine.h:434:24: error: ‘uint32’ has not been declared
    2695   434 |  void setTotalPlayTime(uint32 time = 0);
    2696       |                        ^~~~~~
    2697 In file included from ./gui/EventRecorder.h:32,
    2698                  from backends/platform/sdl/sdl.cpp:27:
    2699 ./engines/advancedDetector.h:45:2: error: ‘uint16’ does not name a type; did you mean ‘Uint16’?
    2700    45 |  uint16 fileType;      ///< Optional. Not used during detection, only by engines.
    2701       |  ^~~~~~
    2702       |  Uint16
    2703 ./engines/advancedDetector.h:47:2: error: ‘int32’ does not name a type; did you mean ‘Uint32’?
    2704    47 |  int32 fileSize;       ///< Size of the described file. Set to -1 to ignore.
    2705       |  ^~~~~
    2706       |  Uint32
    2707 In file included from ./gui/EventRecorder.h:32,
    2708                  from backends/platform/sdl/sdl.cpp:27:
    2709 ./engines/advancedDetector.h:95:2: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2710    95 |  uint32 flags;
    2711       |  ^~~~~~
    2712       |  Uint32
    2713 ./engines/advancedDetector.h:179:8: error: ‘byte’ does not name a type
    2714   179 |  const byte *_gameDescriptors;
    2715       |        ^~~~
    2716 ./engines/advancedDetector.h:213:2: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2717   213 |  uint32 _flags;
    2718       |  ^~~~~~
    2719       |  Uint32
    2720 ./engines/advancedDetector.h:226:2: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2721   226 |  uint32 _maxScanDepth;
    2722       |  ^~~~~~
    2723       |  Uint32
    2724 In file included from backends/platform/sdl/sdl.cpp:31:
    2725 ./common/encoding.h:229:10: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2726   229 |   static uint32 *transliterateUTF32(const uint32 *string, size_t length);
    2727       |          ^~~~~~
    2728       |          Uint32
    2729 In file included from ./backends/audiocd/default/default-audiocd.h:26,
    2730                  from backends/platform/sdl/sdl.cpp:41:
    2731 ./backends/audiocd/audiocd.h:85:25: error: ‘byte’ has not been declared
    2732    85 |  virtual void setVolume(byte volume) = 0;
    2733       |                         ^~~~
    2734 ./backends/audiocd/audiocd.h:90:26: error: ‘int8’ has not been declared
    2735    90 |  virtual void setBalance(int8 balance) = 0;
    2736       |                          ^~~~
    2737 In file included from backends/platform/sdl/sdl.cpp:41:
    2738 ./backends/audiocd/default/default-audiocd.h:47:25: error: ‘byte’ has not been declared
    2739    47 |  virtual void setVolume(byte volume);
    2740       |                         ^~~~
    2741 ./backends/audiocd/default/default-audiocd.h:48:26: error: ‘int8’ has not been declared
    2742    48 |  virtual void setBalance(int8 balance);
    2743       |                          ^~~~
    2744 In file included from backends/platform/sdl/sdl.cpp:47:
    2745 ./backends/events/sdl/legacy-sdl-events.h:48:3: error: ‘int32’ does not name a type; did you mean ‘Uint32’?
    2746    48 |   int32 x, y;
    2747       |   ^~~~~
    2748       |   Uint32
    2749 ./backends/events/sdl/legacy-sdl-events.h:49:3: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    2750    49 |   int16 x_vel, y_vel, x_max, y_max, x_down_count, y_down_count, joy_x, joy_y;
    2751       |   ^~~~~
    2752       |   Uint16
    2753 ./backends/events/sdl/legacy-sdl-events.h:50:3: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2754    50 |   uint32 last_time, delay_time, x_down_time, y_down_time;
    2755       |   ^~~~~~
    2756       |   Uint32
    2757 ./backends/events/sdl/legacy-sdl-events.h:73:39: error: ‘int16’ has not been declared
    2758    73 |  virtual bool handleAxisToMouseMotion(int16 xAxis, int16 yAxis);
    2759       |                                       ^~~~~
    2760 ./backends/events/sdl/legacy-sdl-events.h:73:52: error: ‘int16’ has not been declared
    2761    73 |  virtual bool handleAxisToMouseMotion(int16 xAxis, int16 yAxis);
    2762       |                                                    ^~~~~
    2763 ./backends/events/sdl/legacy-sdl-events.h:79:2: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    2764    79 |  int16 computeJoystickMouseSpeedFactor() const;
    2765       |  ^~~~~
    2766       |  Uint16
    2767 ./backends/events/sdl/legacy-sdl-events.h:84:30: error: ‘int16’ has not been declared
    2768    84 |  void resetKeyboardEmulation(int16 x_max, int16 y_max);
    2769       |                              ^~~~~
    2770 ./backends/events/sdl/legacy-sdl-events.h:84:43: error: ‘int16’ has not been declared
    2771    84 |  void resetKeyboardEmulation(int16 x_max, int16 y_max);
    2772       |                                           ^~~~~
    2773 In file included from backends/platform/sdl/sdl.cpp:48:
    2774 ./backends/keymapper/hardware-input.h:35:9: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2775    35 | typedef uint32 HardwareInputCode;
    2776       |         ^~~~~~
    2777       |         Uint32
    2778 ./backends/keymapper/hardware-input.h:70:2: error: ‘HardwareInputCode’ does not name a type; did you mean ‘HardwareInputType’?
    2779    70 |  HardwareInputCode inputCode;
    2780       |  ^~~~~~~~~~~~~~~~~
    2781       |  HardwareInputType
    2782 ./backends/keymapper/hardware-input.h:82:53: error: ‘HardwareInputCode’ has not been declared
    2783    82 |  static HardwareInput createCustom(const String &i, HardwareInputCode ic, const String &desc) {
    2784       |                                                     ^~~~~~~~~~~~~~~~~
    2785 ./backends/keymapper/hardware-input.h:96:61: error: ‘uint8’ has not been declared
    2786    96 |  static HardwareInput createJoystickButton(const String &i, uint8 button, const String &desc) {
    2787       |                                                             ^~~~~
    2788 ./backends/keymapper/hardware-input.h:100:63: error: ‘uint8’ has not been declared
    2789   100 |  static HardwareInput createJoystickHalfAxis(const String &i, uint8 axis, bool positiveHalf, const String &desc) {
    2790       |                                                               ^~~~~
    2791 ./backends/keymapper/hardware-input.h:104:52: error: ‘uint8’ has not been declared
    2792   104 |  static HardwareInput createMouse(const String &i, uint8 button, const String &desc) {
    2793       |                                                    ^~~~~
    2794 ./backends/keymapper/hardware-input.h:109:77: error: ‘HardwareInputCode’ has not been declared
    2795   109 |  static HardwareInput createSimple(HardwareInputType type, const String &i, HardwareInputCode ic, const String &desc) {
    2796       |                                                                             ^~~~~~~~~~~~~~~~~
    2797 ./backends/keymapper/hardware-input.h: In constructor ‘Common::HardwareInput::HardwareInput()’:
    2798 ./backends/keymapper/hardware-input.h:80:5: error: class ‘Common::HardwareInput’ does not have any field named ‘inputCode’
    2799    80 |   : inputCode(0), type(kHardwareInputTypeInvalid) { }
    2800       |     ^~~~~~~~~
    2801 ./backends/keymapper/hardware-input.h: In static member function ‘static Common::HardwareInput Common::HardwareInput::createKeyboard(const Common::String&, Common::KeyState, const Common::String&)’:
    2802 ./backends/keymapper/hardware-input.h:91:17: error: ‘struct Common::HardwareInput’ has no member named ‘inputCode’
    2803    91 |   hardwareInput.inputCode = 0;
    2804       |                 ^~~~~~~~~
    2805 ./backends/keymapper/hardware-input.h: In static member function ‘static Common::HardwareInput Common::HardwareInput::createSimple(Common::HardwareInputType, const Common::String&, int, const Common::String&)’:
    2806 ./backends/keymapper/hardware-input.h:114:17: error: ‘struct Common::HardwareInput’ has no member named ‘inputCode’
    2807   114 |   hardwareInput.inputCode = ic;
    2808       |                 ^~~~~~~~~
    2809 ./backends/keymapper/hardware-input.h: At global scope:
    2810 ./backends/keymapper/hardware-input.h:124:2: error: ‘HardwareInputCode’ does not name a type; did you mean ‘HardwareInputType’?
    2811   124 |  HardwareInputCode code;
    2812       |  ^~~~~~~~~~~~~~~~~
    2813       |  HardwareInputType
    2814 ./backends/keymapper/hardware-input.h:127:94: error: ‘HardwareInputCode’ has not been declared
    2815   127 |  static const HardwareInputTableEntry *findWithCode(const HardwareInputTableEntry *_entries, HardwareInputCode code) {
    2816       |                                                                                              ^~~~~~~~~~~~~~~~~
    2817 ./backends/keymapper/hardware-input.h: In static member function ‘static const Common::HardwareInputTableEntry* Common::HardwareInputTableEntry::findWithCode(const Common::HardwareInputTableEntry*, int)’:
    2818 ./backends/keymapper/hardware-input.h:129:12: error: ‘const struct Common::HardwareInputTableEntry’ has no member named ‘code’
    2819   129 |    if (hw->code == code) {
    2820       |            ^~~~
    2821 ./backends/keymapper/hardware-input.h: At global scope:
    2822 ./backends/keymapper/hardware-input.h:159:2: error: ‘byte’ does not name a type
    2823   159 |  byte flag;
    2824       |  ^~~~
    2825 ./backends/keymapper/hardware-input.h:173:2: error: ‘HardwareInputCode’ does not name a type; did you mean ‘HardwareInputType’?
    2826   173 |  HardwareInputCode code;
    2827       |  ^~~~~~~~~~~~~~~~~
    2828       |  HardwareInputType
    2829 ./backends/keymapper/hardware-input.h:177:76: error: ‘HardwareInputCode’ has not been declared
    2830   177 |  static const AxisTableEntry *findWithCode(const AxisTableEntry *_entries, HardwareInputCode code) {
    2831       |                                                                            ^~~~~~~~~~~~~~~~~
    2832 ./backends/keymapper/hardware-input.h: In static member function ‘static const Common::AxisTableEntry* Common::AxisTableEntry::findWithCode(const Common::AxisTableEntry*, int)’:
    2833 ./backends/keymapper/hardware-input.h:179:12: error: ‘const struct Common::AxisTableEntry’ has no member named ‘code’
    2834   179 |    if (hw->code == code) {
    2835       |            ^~~~
    2836 In file included from ./backends/timer/default/default-timer.h:28,
    2837                  from ./backends/timer/sdl/sdl-timer.h:26,
    2838                  from backends/platform/sdl/sdl.cpp:50:
    2839 ./common/timer.h: At global scope:
    2840 ./common/timer.h:51:48: error: ‘int32’ has not been declared
    2841    51 |  virtual bool installTimerProc(TimerProc proc, int32 interval, void *refCon, const Common::String &id) = 0;
    2842       |                                                ^~~~~
    2843 In file included from ./backends/timer/sdl/sdl-timer.h:26,
    2844                  from backends/platform/sdl/sdl.cpp:50:
    2845 ./backends/timer/default/default-timer.h:41:2: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2846    41 |  uint32 _timerCallbackNext;
    2847       |  ^~~~~~
    2848       |  Uint32
    2849 ./backends/timer/default/default-timer.h:46:48: error: ‘int32’ has not been declared
    2850    46 |  virtual bool installTimerProc(TimerProc proc, int32 interval, void *refCon, const Common::String &id);
    2851       |                                                ^~~~~
    2852 ./backends/timer/default/default-timer.h:58:19: error: ‘uint32’ has not been declared
    2853    58 |  void checkTimers(uint32 interval = 10);
    2854       |                   ^~~~~~
    2855 In file included from backends/platform/sdl/sdl.cpp:51:
    2856 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:103:10: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    2857   103 |  virtual int16 getHeight() const override;
    2858       |          ^~~~~
    2859       |          Uint16
    2860 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:104:10: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    2861   104 |  virtual int16 getWidth() const override;
    2862       |          ^~~~~
    2863       |          Uint16
    2864 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:108:32: error: ‘byte’ does not name a type
    2865   108 |  virtual void setPalette(const byte *colors, uint start, uint num) override;
    2866       |                                ^~~~
    2867 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:109:27: error: ‘byte’ has not been declared
    2868   109 |  virtual void grabPalette(byte *colors, uint start, uint num) const override;
    2869       |                           ^~~~
    2870 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:121:26: error: ‘uint32’ has not been declared
    2871   121 |  virtual void fillScreen(uint32 col) override;
    2872       |                          ^~~~~~
    2873 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:130:10: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    2874   130 |  virtual int16 getOverlayHeight() const override { return _videoMode.overlayHeight; }
    2875       |          ^~~~~
    2876       |          Uint16
    2877 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:131:10: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    2878   131 |  virtual int16 getOverlayWidth() const override { return _videoMode.overlayWidth; }
    2879       |          ^~~~~
    2880       |          Uint16
    2881 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:133:91: error: ‘uint32’ has not been declared
    2882   133 |  virtual void setMouseCursor(const void *buf, uint w, uint h, int hotspotX, int hotspotY, uint32 keycolor, bool dontScale = false, const Graphics::PixelFormat *format = NULL) override;
    2883       |                                                                                           ^~~~~~
    2884 In file included from backends/platform/sdl/sdl.cpp:51:
    2885 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:134:38: error: ‘byte’ does not name a type
    2886   134 |  virtual void setCursorPalette(const byte *colors, uint start, uint num) override;
    2887       |                                      ^~~~
    2888 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:153:2: error: ‘uint8’ does not name a type; did you mean ‘Uint8’?
    2889   153 |  uint8 _osdMessageAlpha;
    2890       |  ^~~~~
    2891       |  Uint8
    2892 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:155:2: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    2893   155 |  uint32 _osdMessageFadeStartTime;
    2894       |  ^~~~~~
    2895       |  Uint32
    2896 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:349:3: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    2897   349 |   int16 w, h;
    2898       |   ^~~~~
    2899       |   Uint16
    2900 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:350:3: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    2901   350 |   int16 hotX, hotY;
    2902       |   ^~~~~
    2903       |   Uint16
    2904 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:354:3: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    2905   354 |   int16 rW, rH;
    2906       |   ^~~~~
    2907       |   Uint16
    2908 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:355:3: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    2909   355 |   int16 rHotX, rHotY;
    2910       |   ^~~~~
    2911       |   Uint16
    2912 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:359:3: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    2913   359 |   int16 vW, vH;
    2914       |   ^~~~~
    2915       |   Uint16
    2916 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:360:3: error: ‘int16’ does not name a type; did you mean ‘Uint16’?
    2917   360 |   int16 vHotX, vHotY;
    2918       |   ^~~~~
    2919       |   Uint16
    2920 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:368:2: error: ‘byte’ does not name a type
    2921   368 |  byte *_mouseData;
    2922       |  ^~~~
    2923 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:374:2: error: ‘byte’ does not name a type
    2924   374 |  byte _mouseKeyColor;
    2925       |  ^~~~
    2926 ./backends/graphics/surfacesdl/surfacesdl-graphics.h: In constructor ‘SurfaceSdlGraphicsManager::MousePos::MousePos()’:
    2927 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:362:16: error: class ‘SurfaceSdlGraphicsManager::MousePos’ does not have any field named ‘w’
    2928   362 |   MousePos() : w(0), h(0), hotX(0), hotY(0),
    2929       |                ^
    2930 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:362:22: error: class ‘SurfaceSdlGraphicsManager::MousePos’ does not have any field named ‘h’
    2931   362 |   MousePos() : w(0), h(0), hotX(0), hotY(0),
    2932       |                      ^
    2933 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:362:28: error: class ‘SurfaceSdlGraphicsManager::MousePos’ does not have any field named ‘hotX’
    2934   362 |   MousePos() : w(0), h(0), hotX(0), hotY(0),
    2935       |                            ^~~~
    2936 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:362:37: error: class ‘SurfaceSdlGraphicsManager::MousePos’ does not have any field named ‘hotY’
    2937   362 |   MousePos() : w(0), h(0), hotX(0), hotY(0),
    2938       |                                     ^~~~
    2939 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:363:6: error: class ‘SurfaceSdlGraphicsManager::MousePos’ does not have any field named ‘rW’
    2940   363 |      rW(0), rH(0), rHotX(0), rHotY(0), vW(0), vH(0),
    2941       |      ^~
    2942 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:363:13: error: class ‘SurfaceSdlGraphicsManager::MousePos’ does not have any field named ‘rH’
    2943   363 |      rW(0), rH(0), rHotX(0), rHotY(0), vW(0), vH(0),
    2944       |             ^~
    2945 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:363:20: error: class ‘SurfaceSdlGraphicsManager::MousePos’ does not have any field named ‘rHotX’
    2946   363 |      rW(0), rH(0), rHotX(0), rHotY(0), vW(0), vH(0),
    2947       |                    ^~~~~
    2948 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:363:30: error: class ‘SurfaceSdlGraphicsManager::MousePos’ does not have any field named ‘rHotY’
    2949   363 |      rW(0), rH(0), rHotX(0), rHotY(0), vW(0), vH(0),
    2950       |                              ^~~~~
    2951 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:363:40: error: class ‘SurfaceSdlGraphicsManager::MousePos’ does not have any field named ‘vW’
    2952   363 |      rW(0), rH(0), rHotX(0), rHotY(0), vW(0), vH(0),
    2953       |                                        ^~
    2954 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:363:47: error: class ‘SurfaceSdlGraphicsManager::MousePos’ does not have any field named ‘vH’
    2955   363 |      rW(0), rH(0), rHotX(0), rHotY(0), vW(0), vH(0),
    2956       |                                               ^~
    2957 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:364:6: error: class ‘SurfaceSdlGraphicsManager::MousePos’ does not have any field named ‘vHotX’
    2958   364 |      vHotX(0), vHotY(0)
    2959       |      ^~~~~
    2960 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:364:16: error: class ‘SurfaceSdlGraphicsManager::MousePos’ does not have any field named ‘vHotY’
    2961   364 |      vHotX(0), vHotY(0)
    2962       |                ^~~~~
    2963 ./backends/graphics/surfacesdl/surfacesdl-graphics.h: In member function ‘Common::Point SurfaceSdlGraphicsManager::convertOverlayToGame(int, int) const’:
    2964 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:435:7: error: ‘getOverlayWidth’ was not declared in this scope
    2965   435 |   if (getOverlayWidth() == 0 || getOverlayHeight() == 0) {
    2966       |       ^~~~~~~~~~~~~~~
    2967 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:435:33: error: ‘getOverlayHeight’ was not declared in this scope; did you mean ‘getOverlayFormat’?
    2968   435 |   if (getOverlayWidth() == 0 || getOverlayHeight() == 0) {
    2969       |                                 ^~~~~~~~~~~~~~~~
    2970       |                                 getOverlayFormat
    2971 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:439:28: error: ‘getWidth’ was not declared in this scope; did you mean ‘getWindow’?
    2972   439 |   return Common::Point(x * getWidth() / getOverlayWidth(),
    2973       |                            ^~~~~~~~
    2974       |                            getWindow
    2975 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:439:41: error: ‘getOverlayWidth’ was not declared in this scope
    2976   439 |   return Common::Point(x * getWidth() / getOverlayWidth(),
    2977       |                                         ^~~~~~~~~~~~~~~
    2978 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:440:13: error: ‘getHeight’ was not declared in this scope; did you mean ‘CWHeight’?
    2979   440 |         y * getHeight() / getOverlayHeight());
    2980       |             ^~~~~~~~~
    2981       |             CWHeight
    2982 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:440:27: error: ‘getOverlayHeight’ was not declared in this scope; did you mean ‘getOverlayFormat’?
    2983   440 |         y * getHeight() / getOverlayHeight());
    2984       |                           ^~~~~~~~~~~~~~~~
    2985       |                           getOverlayFormat
    2986 ./backends/graphics/surfacesdl/surfacesdl-graphics.h: In member function ‘Common::Point SurfaceSdlGraphicsManager::convertGameToOverlay(int, int) const’:
    2987 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:448:7: error: ‘getWidth’ was not declared in this scope; did you mean ‘getWindow’?
    2988   448 |   if (getWidth() == 0 || getHeight() == 0) {
    2989       |       ^~~~~~~~
    2990       |       getWindow
    2991 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:448:26: error: ‘getHeight’ was not declared in this scope; did you mean ‘CWHeight’?
    2992   448 |   if (getWidth() == 0 || getHeight() == 0) {
    2993       |                          ^~~~~~~~~
    2994       |                          CWHeight
    2995 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:452:28: error: ‘getOverlayWidth’ was not declared in this scope
    2996   452 |   return Common::Point(x * getOverlayWidth() / getWidth(),
    2997       |                            ^~~~~~~~~~~~~~~
    2998 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:452:48: error: ‘getWidth’ was not declared in this scope; did you mean ‘getWindow’?
    2999   452 |   return Common::Point(x * getOverlayWidth() / getWidth(),
    3000       |                                                ^~~~~~~~
    3001       |                                                getWindow
    3002 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:453:13: error: ‘getOverlayHeight’ was not declared in this scope; did you mean ‘getOverlayFormat’?
    3003   453 |         y * getOverlayHeight() / getHeight());
    3004       |             ^~~~~~~~~~~~~~~~
    3005       |             getOverlayFormat
    3006 ./backends/graphics/surfacesdl/surfacesdl-graphics.h:453:34: error: ‘getHeight’ was not declared in this scope; did you mean ‘CWHeight’?
    3007   453 |         y * getOverlayHeight() / getHeight());
    3008       |                                  ^~~~~~~~~
    3009       |                                  CWHeight
    3010 backends/platform/sdl/sdl.cpp: In member function ‘virtual void OSystem_SDL::initSDL()’:
    3011 backends/platform/sdl/sdl.cpp:335:3: error: ‘uint32’ was not declared in this scope; did you mean ‘Uint32’?
    3012   335 |   uint32 sdlFlags = SDL_INIT_VIDEO;
    3013       |   ^~~~~~
    3014       |   Uint32
    3015 backends/platform/sdl/sdl.cpp:338:4: error: ‘sdlFlags’ was not declared in this scope
    3016   338 |    sdlFlags |= SDL_INIT_NOPARACHUTE;
    3017       |    ^~~~~~~~
    3018 backends/platform/sdl/sdl.cpp:341:16: error: ‘sdlFlags’ was not declared in this scope
    3019   341 |   if (SDL_Init(sdlFlags) == -1)
    3020       |                ^~~~~~~~
    3021 backends/platform/sdl/sdl.cpp: In member function ‘virtual void OSystem_SDL::setWindowCaption(const char*)’:
    3022 backends/platform/sdl/sdl.cpp:374:2: error: ‘byte’ was not declared in this scope
    3023   374 |  byte c;
    3024       |  ^~~~
    3025 backends/platform/sdl/sdl.cpp:378:10: error: ‘c’ was not declared in this scope; did you mean ‘_c’?
    3026   378 |  while ((c = *(const byte *)caption++)) {
    3027       |          ^
    3028       |          _c
    3029 backends/platform/sdl/sdl.cpp:378:22: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
    3030   378 |  while ((c = *(const byte *)caption++)) {
    3031       |                      ^~~~
    3032 backends/platform/sdl/sdl.cpp:378:16: error: expected primary-expression before ‘const’
    3033   378 |  while ((c = *(const byte *)caption++)) {
    3034       |                ^~~~~
    3035 backends/platform/sdl/sdl.cpp:378:16: error: expected ‘)’ before ‘const’
    3036   378 |  while ((c = *(const byte *)caption++)) {
    3037       |               ~^~~~~
    3038       |                )
    3039 backends/platform/sdl/sdl.cpp:385:3: error: expected ‘)’ before ‘_window’
    3040   385 |  }
    3041       |   ^
    3042       |   )
    3043   386 |
    3044   387 |  _window->setWindowCaption(cap);
    3045       |  ~~~~~~~
    3046 backends/platform/sdl/sdl.cpp:378:9: note: to match this ‘(’
    3047   378 |  while ((c = *(const byte *)caption++)) {
    3048       |         ^
    3049 backends/platform/sdl/sdl.cpp:387:32: error: expected ‘)’ before ‘;’ token
    3050   387 |  _window->setWindowCaption(cap);
    3051       |                                ^
    3052       |                                )
    3053 backends/platform/sdl/sdl.cpp:378:8: note: to match this ‘(’
    3054   378 |  while ((c = *(const byte *)caption++)) {
    3055       |        ^
    3056 backends/platform/sdl/sdl.cpp: At global scope:
    3057 backends/platform/sdl/sdl.cpp:537:1: error: ‘uint32’ does not name a type; did you mean ‘Uint32’?
    3058   537 | uint32 OSystem_SDL::getMillis(bool skipRecord) {
    3059       | ^~~~~~
    3060       | Uint32
    3061 make: *** [Makefile.common:122: backends/platform/sdl/sdl.o] Error 1
    3062 
     200...