Snippets for adventuregamestudio 3.6.2.21 from FreeBSD 150arm64
Sourced from https://pkg-status.freebsd.org/ampere5/data/latest-per-pkg/ags/3.6.2.21/150arm64-default.log.
-
libsrc/apeg-1.2.1/ogg.c:37:18: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 37 | unsigned char *buf = ogg_sync_buffer(&info->osync, i); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
../Plugins/AGSSpriteFont/AGSSpriteFont/SpriteFontRenderer.h:27:6: warning: 'GetFontHeight' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] 27 | int GetFontHeight(int fontNumber); | ^ -
../Plugins/AGSSpriteFont/AGSSpriteFont/SpriteFontRenderer.h:28:6: warning: 'GetLineSpacing' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] 28 | int GetLineSpacing(int fontNumber) { return 0; /* not specified */ } | ^ -
../Plugins/AGSSpriteFont/AGSSpriteFont/VariableWidthSpriteFont.h:32:6: warning: 'GetFontHeight' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] 32 | int GetFontHeight(int fontNumber); | ^ -
../Plugins/AGSSpriteFont/AGSSpriteFont/VariableWidthSpriteFont.h:33:6: warning: 'GetLineSpacing' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] 33 | int GetLineSpacing(int fontNumber); | ^ -
../Plugins/AGSSpriteFont/AGSSpriteFont/AGSSpriteFont.cpp:335:64: warning: '/*' within block comment [-Wcomment] 335 | int lineNum, int reserved) //*** optional *** | ^ -
../Plugins/AGSSpriteFont/AGSSpriteFont/AGSSpriteFont.cpp:342:64: warning: '/*' within block comment [-Wcomment] 342 | void AGS_EngineInitGfx(const char *driverID, void *data) //*** optional *** | ^ -
../Plugins/agspalrender/agspalrender/raycast.cpp:763:7: warning: address of array 'worldMap' will always evaluate to 'true' [-Wpointer-bool-conversion] 763 | if (!worldMap) return; | ~^~~~~~~~ -
../Plugins/agspalrender/agspalrender/raycast.cpp:1197:9: warning: address of array 'heightMap' will always evaluate to 'true' [-Wpointer-bool-conversion] 1197 | if (!heightMap) break; | ~^~~~~~~~~ -
../Plugins/agspalrender/agspalrender/raycast.cpp:1237:8: warning: address of array 'heightMap' will always evaluate to 'true' [-Wpointer-bool-conversion] 1237 | if (heightMap && floorcolor > 0) | ^~~~~~~~~ ~~ -
../Plugins/agspalrender/agspalrender/raycast.cpp:1295:8: warning: address of array 'heightMap' will always evaluate to 'true' [-Wpointer-bool-conversion] 1295 | if (heightMap && floorcolor > 0 && (currentDist < ZBuffer[x][y] || ZBuffer[x][y] == 0)) | ^~~~~~~~~ ~~ -
../Engine/gfx/gfxdriverbase.h:212:10: warning: 'MatchesFormat' overrides a member function but is not marked 'override' [-Winconsistent-missing-override] 212 | bool MatchesFormat(AGS::Common::Bitmap *other) const | ^ -
main/game_run.cpp:950:17: warning: enumeration value 'kEnterRoom_None' not handled in switch [-Wswitch] 950 | switch (new_room_was) | ^~~~~~~~~~~~ -
media/video/videoplayer.cpp:391:24: warning: '/*' within block comment [-Wcomment] 391 | _framesPlayed);/**/ | ^ -
../Engine/plugin/agsplugin.h:122:9: warning: 'CHF_FIXVIEW' macro redefined [-Wmacro-redefined] 122 | #define CHF_FIXVIEW 2 // between SetCharView and ReleaseCharView | ^ -
../Engine/plugin/agsplugin.h:123:9: warning: 'CHF_NOINTERACT' macro redefined [-Wmacro-redefined] 123 | #define CHF_NOINTERACT 4 | ^ -
../Engine/plugin/agsplugin.h:124:9: warning: 'CHF_NODIAGONAL' macro redefined [-Wmacro-redefined] 124 | #define CHF_NODIAGONAL 8 | ^ -
../Engine/plugin/agsplugin.h:125:9: warning: 'CHF_ALWAYSIDLE' macro redefined [-Wmacro-redefined] 125 | #define CHF_ALWAYSIDLE 0x10 | ^ -
../Engine/plugin/agsplugin.h:126:9: warning: 'CHF_NOLIGHTING' macro redefined [-Wmacro-redefined] 126 | #define CHF_NOLIGHTING 0x20 | ^ -
../Engine/plugin/agsplugin.h:128:9: warning: 'CHF_NOWALKBEHINDS' macro redefined [-Wmacro-redefined] 128 | #define CHF_NOWALKBEHINDS 0x80 | ^ -
../libsrc/allegro/src/readbmp.c:48:30: warning: passing 'const BITMAP *' (aka 'const struct BITMAP *') to parameter of type 'struct BITMAP *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 48 | generate_optimized_palette(bmp, pal, NULL); | ^~~ -
../libsrc/allegro/src/readbmp.c:56:12: warning: passing 'const BITMAP *' (aka 'const struct BITMAP *') to parameter of type 'struct BITMAP *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 56 | blit(bmp, b2, 0, 0, 0, 0, bmp->w, bmp->h); | ^~~ -
../libsrc/allegro/src/readbmp.c:62:32: warning: passing 'const BITMAP *' (aka 'const struct BITMAP *') to parameter of type 'BITMAP *' (aka 'struct BITMAP *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 62 | else if (bitmap_color_depth(bmp) == 8) { | ^~~ -
../libsrc/allegro/src/readbmp.c:64:12: warning: passing 'const BITMAP *' (aka 'const struct BITMAP *') to parameter of type 'struct BITMAP *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 64 | blit(bmp, b2, 0, 0, 0, 0, bmp->w, bmp->h); | ^~~ -
../libsrc/allegro/src/readbmp.c:68:12: warning: passing 'const BITMAP *' (aka 'const struct BITMAP *') to parameter of type 'struct BITMAP *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 68 | blit(bmp, b2, 0, 0, 0, 0, bmp->w, bmp->h); | ^~~ -
../libsrc/allegro/src/unix/ufile.c:54:9: warning: 'U_CURRENT' macro redefined [-Wmacro-redefined] 54 | #define U_CURRENT U_UTF8 | ^ -
../Common/libsrc/alfont-2.0.9/alfont.c:453:19: warning: absolute value function 'abs' given an argument of type 'FT_Pos' (aka 'long') but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] 453 | real_height = abs(f->face->size->metrics.ascender >> 6) + abs(f->face->size->metrics.descender >> 6); | ^ -
../Common/libsrc/alfont-2.0.9/alfont.c:453:63: warning: absolute value function 'abs' given an argument of type 'FT_Pos' (aka 'long') but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] 453 | real_height = abs(f->face->size->metrics.ascender >> 6) + abs(f->face->size->metrics.descender >> 6); | ^ -
../Common/libsrc/alfont-2.0.9/alfont.c:510:33: warning: absolute value function 'abs' given an argument of type 'FT_Pos' (aka 'long') but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] 510 | f->real_face_h = test_h + abs(f->face->size->metrics.descender >> 6); | ^ -
../Common/libsrc/alfont-2.0.9/alfont.c:669:42: warning: passing 'char *' to parameter of type 'const FT_Byte *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 669 | error = FT_New_Memory_Face(ft_library, font->data, font->data_size, 0, &font->face); | ^~~~~~~~~~ -
../Common/libsrc/freetype-2.1.3/src/gzip/inftrees.c:92:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | local int huft_build(b, n, s, d, e, t, m, hp, hn, v) | ^ -
../Common/libsrc/freetype-2.1.3/src/gzip/inftrees.c:292:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | local int inflate_trees_bits(c, bb, tb, hp, z) | ^ -
../Common/libsrc/freetype-2.1.3/src/gzip/inftrees.c:319:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | local int inflate_trees_dynamic(nl, nd, c, bl, bd, tl, td, hp, z) | ^ -
../Common/libsrc/freetype-2.1.3/src/gzip/inftrees.c:397:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | local int inflate_trees_fixed(bl, bd, tl, td, z) | ^ -
../Common/libsrc/freetype-2.1.3/src/gzip/infcodes.c:58:29: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | local inflate_codes_statef *inflate_codes_new(bl, bd, tl, td, z) | ^ -
../Common/libsrc/freetype-2.1.3/src/gzip/infcodes.c:80:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | local int inflate_codes(s, z, r) | ^ -
../Common/libsrc/freetype-2.1.3/src/gzip/infcodes.c:244:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | local void inflate_codes_free(c, z) | ^ -
../Common/libsrc/freetype-2.1.3/src/gzip/infutil.c:22:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | local int inflate_flush(s, z, r) | ^ -
../Common/libsrc/freetype-2.1.3/src/gzip/infblock.c:67:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | local void inflate_blocks_reset(s, z, c) | ^ -
../Common/libsrc/freetype-2.1.3/src/gzip/infblock.c:88:30: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | local inflate_blocks_statef *inflate_blocks_new(z, c, w) | ^ -
../Common/libsrc/freetype-2.1.3/src/gzip/infblock.c:119:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | local int inflate_blocks(s, z, r) | ^ -
../Common/libsrc/freetype-2.1.3/src/gzip/infblock.c:371:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | local int inflate_blocks_free(s, z) | ^ -
../Common/libsrc/freetype-2.1.3/src/gzip/inflate.c:54:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | int ZEXPORT inflateReset(z) | ^ -
../Common/libsrc/freetype-2.1.3/src/gzip/inflate.c:68:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | int ZEXPORT inflateEnd(z) | ^ -
../Common/libsrc/freetype-2.1.3/src/gzip/inflate.c:82:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | int ZEXPORT inflateInit2_(z, w, version, stream_size) | ^ -
../Common/libsrc/freetype-2.1.3/src/gzip/inflate.c:147:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | int ZEXPORT inflate(z, f) | ^ -
../Common/libsrc/freetype-2.1.3/src/gzip/adler32.c:21:26: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | ZEXTERNDEF uLong ZEXPORT adler32(adler, buf, len) | ^ -
../Common/libsrc/freetype-2.1.3/src/gzip/ftgzip.c:107:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | zcalloc (opaque, items, size) | ^