Snippets for allegro 5.2.10.1 from FreeBSD 150amd64
Sourced from https://pkg-status.freebsd.org/beefy23/data/latest-per-pkg/allegro5/5.2.10.1_1/150amd64-default.log.
-
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/src/shader.c:216:38: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 216 | ALLEGRO_SHADER *al_get_current_shader() | ^ | void -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/addons/audio/audio.c:201:36: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 201 | int al_get_num_audio_output_devices() | ^ | void -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/addons/primitives/prim_soft.c:122:11: warning: variable 'n' set but not used [-Wunused-but-set-variable] 122 | int n = 0; | ^ -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/addons/image/pcx.c:141:29: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 141 | dest[x*4 + 3] = 255; | ~ ^~~ -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/addons/image/pcx.c:168:32: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 168 | dest[x*4 + 3] = 255; | ~ ^~~ -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/addons/acodec/openmpt.c:110:8: warning: variable 'count' set but not used [-Wunused-but-set-variable] 110 | int count = 0; | ^ -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/addons/ttf/ttf.c:314:25: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 314 | *ptr++ = 255; | ~ ^~~ -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/addons/ttf/ttf.c:315:25: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 315 | *ptr++ = 255; | ~ ^~~ -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/addons/ttf/ttf.c:316:25: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 316 | *ptr++ = 255; | ~ ^~~ -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/demos/speed/sound.c:657:29: warning: implicit conversion from 'int' to 'char' changes value from 136 to -120 [-Wconstant-conversion] 657 | *p = (i < 32) ? 120 : 136; | ~ ^~~ -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/demos/speed/title.c:226:31: warning: implicit conversion from 'int' to 'char' changes value from 255 to -1 [-Wconstant-conversion] 226 | sdata2[i] = (i < 128) ? 255 : 0; | ~ ^~~ -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/demos/skater/src/game.c:460:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 460 | void destroy_game() | ^ | void -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/demos/skater/src/level_alloc.c:19:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 19 | struct Level *NewLevel() | ^ | void -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/demos/skater/src/level_alloc.c:41:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 41 | struct Material *NewMaterial() | ^ | void -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/demos/skater/src/level_alloc.c:51:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 51 | struct ObjectType *NewObjectType() | ^ | void -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/demos/skater/src/level_alloc.c:62:29: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 62 | struct Triangle *NewTriangle() | ^ | void -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/demos/skater/src/level_alloc.c:72:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 72 | struct Object *NewObject() | ^ | void -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/demos/skater/src/level_alloc.c:82:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 82 | struct Edge *NewEdge() | ^ | void -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/demos/skater/src/level_alloc.c:91:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 91 | struct Vertex *NewVertex() | ^ | void -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/demos/shooter/aster.c:135:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 135 | void draw_asteroids() | ^ | void -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/demos/shooter/bullet.c:89:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 89 | void draw_bullets() | ^ | void -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/demos/shooter/star.c:50:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 50 | void draw_starfield_2d() | ^ | void -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/demos/shooter/title.c:97:8: warning: variable 'n' set but not used [-Wunused-but-set-variable] 97 | int n; | ^ -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/demos/shooter/title.c:263:8: warning: variable 'scroll_pos' set but not used [-Wunused-but-set-variable] 263 | int scroll_pos = 0; | ^ -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/demos/speed/a4_aux.c:85:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 85 | void init_input() | ^ | void -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/demos/speed/a4_aux.c:106:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 106 | void shutdown_input() | ^ | void -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/demos/speed/a4_aux.c:136:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 136 | void poll_input() | ^ | void -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/demos/speed/a4_aux.c:191:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 191 | void poll_input_wait() | ^ | void -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/demos/speed/a4_aux.c:200:15: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 200 | int keypressed() | ^ | void -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/demos/speed/a4_aux.c:210:12: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 210 | int readkey() | ^ | void -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/demos/speed/a4_aux.c:232:18: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 232 | void clear_keybuf() | ^ | void -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/demos/speed/a4_aux.c:311:16: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 311 | void solid_mode() | ^ | void -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/demos/speed/a4_aux.c:593:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 593 | void start_retrace_count() | ^ | void -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/demos/speed/a4_aux.c:603:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 603 | void stop_retrace_count() | ^ | void -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/demos/speed/a4_aux.c:612:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 612 | int64_t retrace_count() | ^ | void -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/demos/speed/a4_aux.c:627:19: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 627 | void install_timer() | ^ | void -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/demos/speed/a4_aux.c:695:12: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 695 | int AL_RAND() { | ^ | void -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/examples/ex_prim_wrap.c:173:11: warning: variable 'pixel_file' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 173 | if (al_get_shader_platform(shader) == ALLEGRO_SHADER_GLSL) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
/wrkdirs/usr/ports/devel/allegro5/work/allegro-5.2.10.1/examples/ex_haiku.c:626:27: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion] 626 | return ((float) rand()/RAND_MAX)*(max-min) + min; | ~^~~~~~~~