miran
[code]
D:\tmp>g++ *.cpp -o test.exe -lalleg
fontdemo.cpp: In function `int _mangled_main()':
fontdemo.cpp:287: warning: passing `double' for argument passing 5 of `void
PFONT_posmod_selection(prop_text_struct*, float, float, int, int, float,
float, int)'
fontdemo.cpp:287: warning: argument to `int' from `double'
fontdemo.cpp:298: warning: passing `double' for argument passing 4 of `void
PFONT_texmod_selection(prop_text_struct*, float, float, int, int, float,
float, int)'
fontdemo.cpp:298: warning: argument to `int' from `double'
fontdemo.cpp:332: warning: passing `double' for argument passing 4 of `void
PFONT_texmod_selection(prop_text_struct*, float, float, int, int, float,
float, int)'
fontdemo.cpp:332: warning: argument to `int' from `double'
fontdemo.cpp:333: warning: passing `double' for argument passing 5 of `void
PFONT_posmod_selection(prop_text_struct*, float, float, int, int, float,
float, int)'
fontdemo.cpp:333: warning: argument to `int' from `double'
fontdemo.cpp:377: warning: passing `double' for argument passing 4 of `void
PFONT_texmod_selection(prop_text_struct*, float, float, int, int, float,
float, int)'
fontdemo.cpp:377: warning: argument to `int' from `double'
fontdemo.cpp:378: warning: passing `double' for argument passing 5 of `void
PFONT_posmod_selection(prop_text_struct*, float, float, int, int, float,
float, int)'
fontdemo.cpp:378: warning: argument to `int' from `double'
fontdemo.cpp:534: warning: passing `double' for argument passing 9 of `void
PFONT_draw_frame_list_coloured(prop_text_struct*, int, int, int, float,
float, BITMAP*, int, int, int)'
fontdemo.cpp:534: warning: argument to `int' from `double'
fontdemo.cpp:537: warning: passing `double' for argument passing 9 of `void
PFONT_draw_frame_list_vert_lerped_coloured(prop_text_struct*, int, int, int,
float, float, BITMAP*, int, int, int, int, int, int)'
fontdemo.cpp:537: warning: argument to `int' from `double'
fontdemo.cpp:537: warning: passing `double' for argument passing 11 of `void
PFONT_draw_frame_list_vert_lerped_coloured(prop_text_struct*, int, int, int,
float, float, BITMAP*, int, int, int, int, int, int)'
fontdemo.cpp:537: warning: argument to `int' from `double'
fontdemo.cpp:547: warning: `textout' is deprecated (declared at
c:/mingw/include/allegro/alcompat.h:158)
funkyfont.cpp: In function `void GRAPHICS_double_masked_blit_32bit(BITMAP*,
BITMAP*, BITMAP*, int, int, int, int, int, int, int, int)':
funkyfont.cpp:109: parse error before `long'
funkyfont.cpp: In function `void GRAPHICS_colour_blit_32bit(BITMAP*, BITMAP*,
int, int, int, int, int, int, long unsigned int)':
funkyfont.cpp:160: parse error before `long'
funkyfont.cpp: In function `void
GRAPHICS_colour_vert_lerped_blit_32bit(BITMAP*, BITMAP*, int, int, int, int,
int, int, long unsigned int*)':
funkyfont.cpp:215: parse error before `long'
funkyfont.cpp: In function `void GRAPHICS_double_masked_blit_16bit(BITMAP*,
BITMAP*, BITMAP*, int, int, int, int, int, int, int, int)':
funkyfont.cpp:265: parse error before `short'
funkyfont.cpp: In function `void GRAPHICS_colour_blit_16bit(BITMAP*, BITMAP*,
int, int, int, int, int, int, short unsigned int)':
funkyfont.cpp:316: parse error before `short'
funkyfont.cpp: In function `void
GRAPHICS_colour_vert_lerped_blit_16bit(BITMAP*, BITMAP*, int, int, int, int,
int, int, short unsigned int*)':
funkyfont.cpp:371: parse error before `short'
funkyfont.cpp: In function `void PFONT_posmod_selection(prop_text_struct*,
float, float, int, int, float, float, int)':
funkyfont.cpp:913: warning: initialization to `int' from `float'
funkyfont.cpp:913: warning: argument to `int' from `float'
funkyfont.cpp:914: warning: initialization to `int' from `float'
funkyfont.cpp:914: warning: argument to `int' from `float'
funkyfont.cpp: In function `void PFONT_posmod_distort(prop_text_struct*, float,
float, float, float)':
funkyfont.cpp:1015: warning: initialization to `int' from `float'
funkyfont.cpp:1015: warning: argument to `int' from `float'
funkyfont.cpp:1016: warning: initialization to `int' from `float'
funkyfont.cpp:1016: warning: argument to `int' from `float'
funkyfont.cpp: In function `void PFONT_posmod_rotate(prop_text_struct*, float,
float, float)':
funkyfont.cpp:1090: warning: initialization to `int' from `float'
funkyfont.cpp:1090: warning: argument to `int' from `float'
funkyfont.cpp:1091: warning: initialization to `int' from `float'
funkyfont.cpp:1091: warning: argument to `int' from `float'
funkyfont.cpp: In function `void
PFONT_posmod_rotate_selection(prop_text_struct*, float, float, float, float,
float, int)':
funkyfont.cpp:1121: warning: initialization to `int' from `float'
funkyfont.cpp:1121: warning: argument to `int' from `float'
funkyfont.cpp:1122: warning: initialization to `int' from `float'
funkyfont.cpp:1122: warning: argument to `int' from `float'
funkyfont.cpp: In function `void PFONT_posmod_scale(prop_text_struct*, float,
float, float, float)':
funkyfont.cpp:1232: warning: initialization to `int' from `float'
funkyfont.cpp:1232: warning: argument to `int' from `float'
funkyfont.cpp:1233: warning: initialization to `int' from `float'
funkyfont.cpp:1233: warning: argument to `int' from `float'
funkyfont.cpp: In function `void PFONT_posmod_bow_in(prop_text_struct*, float,
float, float, float)':
funkyfont.cpp:1252: warning: initialization to `int' from `float'
funkyfont.cpp:1252: warning: argument to `int' from `float'
funkyfont.cpp:1253: warning: initialization to `int' from `float'
funkyfont.cpp:1253: warning: argument to `int' from `float'
funkyfont.cpp: In function `void PFONT_posmod_bow_out(prop_text_struct*, float,
float, float, float)':
funkyfont.cpp:1282: warning: initialization to `int' from `float'
funkyfont.cpp:1282: warning: argument to `int' from `float'
funkyfont.cpp:1283: warning: initialization to `int' from `float'
funkyfont.cpp:1283: warning: argument to `int' from `float'
funkyfont.cpp: In function `void PFONT_posmod_damp_point(prop_text_struct*,
int, float, int)':
funkyfont.cpp:1348: warning: assignment to `int' from `float'
funkyfont.cpp:1348: warning: argument to `int' from `float'
funkyfont.cpp: In function `void
PFONT_texmod_bouncing_in_phase(prop_text_struct*, float, float, float,
float, float, float)':
funkyfont.cpp:1545: warning: passing `double' for argument passing 1 of `int
abs(int)'
funkyfont.cpp:1545: warning: argument to `int' from `double'
funkyfont.cpp:1546: warning: passing `double' for argument passing 1 of `int
abs(int)'
funkyfont.cpp:1546: warning: argument to `int' from `double'
funkyfont.cpp: In function `void PFONT_texmod_selection(prop_text_struct*,
float, float, int, int, float, float, int)':
funkyfont.cpp:1625: warning: initialization to `int' from `float'
funkyfont.cpp:1625: warning: argument to `int' from `float'
funkyfont.cpp:1626: warning: initialization to `int' from `float'
funkyfont.cpp:1626: warning: argument to `int' from `float'
funkyfont.cpp: In function `void PFONT_texmod_rotate(prop_text_struct*, float,
float, float)':
funkyfont.cpp:1762: warning: initialization to `int' from `float'
funkyfont.cpp:1762: warning: argument to `int' from `float'
funkyfont.cpp:1763: warning: initialization to `int' from `float'
funkyfont.cpp:1763: warning: argument to `int' from `float'
funkyfont.cpp: In function `void PFONT_texmod_scale(prop_text_struct*, float,
float, float, float)':
funkyfont.cpp:1786: warning: initialization to `int' from `float'
funkyfont.cpp:1786: warning: argument to `int' from `float'
funkyfont.cpp:1787: warning: initialization to `int' from `float'
funkyfont.cpp:1787: warning: argument to `int' from `float'
funkyfont.cpp: In function `void PFONT_texmod_bow_in(prop_text_struct*, float,
float, float, float)':
funkyfont.cpp:1806: warning: initialization to `int' from `float'
funkyfont.cpp:1806: warning: argument to `int' from `float'
funkyfont.cpp:1807: warning: initialization to `int' from `float'
funkyfont.cpp:1807: warning: argument to `int' from `float'
funkyfont.cpp: In function `void PFONT_texmod_bow_out(prop_text_struct*, float,
float, float, float)':
funkyfont.cpp:1836: warning: initialization to `int' from `float'
funkyfont.cpp:1836: warning: argument to `int' from `float'
funkyfont.cpp:1837: warning: initialization to `int' from `float'
funkyfont.cpp:1837: warning: argument to `int' from `float'
funkyfont.cpp: In function `void PFONT_find_extremes(prop_text_struct*)':
funkyfont.cpp:1874: warning: assignment to `int' from `float'
funkyfont.cpp:1874: warning: argument to `int' from `float'
funkyfont.cpp:1877: warning: assignment to `int' from `float'
funkyfont.cpp:1877: warning: argument to `int' from `float'
funkyfont.cpp:1880: warning: assignment to `int' from `float'
funkyfont.cpp:1880: warning: argument to `int' from `float'
funkyfont.cpp:1883: warning: assignment to `int' from `float'
funkyfont.cpp:1883: warning: argument to `int' from `float'
funkyfont.cpp: In function `void
PFONT_draw_frame_list_notexture(prop_text_struct*, int, int, int, float,
float, BITMAP*)':
funkyfont.cpp:1898: warning: initialization to `int' from `float'
funkyfont.cpp:1898: warning: argument to `int' from `float'
funkyfont.cpp:1899: warning: initialization to `int' from `float'
funkyfont.cpp:1899: warning: argument to `int' from `float'
funkyfont.cpp:1906: warning: passing `float' for argument passing 3 of `void
masked_blit(BITMAP*, BITMAP*, int, int, int, int, int, int)'
funkyfont.cpp:1906: warning: argument to `int' from `float'
funkyfont.cpp:1906: warning: passing `float' for argument passing 4 of `void
masked_blit(BITMAP*, BITMAP*, int, int, int, int, int, int)'
funkyfont.cpp:1906: warning: argument to `int' from `float'
funkyfont.cpp:1906: warning: passing `float' for argument passing 5 of `void
masked_blit(BITMAP*, BITMAP*, int, int, int, int, int, int)'
funkyfont.cpp:1906: warning: argument to `int' from `float'
funkyfont.cpp:1906: warning: passing `float' for argument passing 6 of `void
masked_blit(BITMAP*, BITMAP*, int, int, int, int, int, int)'
funkyfont.cpp:1906: warning: argument to `int' from `float'
funkyfont.cpp: In function `void
PFONT_draw_frame_list_texture(prop_text_struct*, int, int, int, float,
float, BITMAP*, texture_struct*)':
funkyfont.cpp:1917: warning: initialization to `int' from `float'
funkyfont.cpp:1917: warning: argument to `int' from `float'
funkyfont.cpp:1918: warning: initialization to `int' from `float'
funkyfont.cpp:1918: warning: argument to `int' from `float'
funkyfont.cpp:1925: warning: passing `float' for argument passing 1 of `int
MATH_wrap(int, int)'
funkyfont.cpp:1925: warning: argument to `int' from `float'
funkyfont.cpp:1926: warning: passing `float' for argument passing 1 of `int
MATH_wrap(int, int)'
funkyfont.cpp:1926: warning: argument to `int' from `float'
funkyfont.cpp:1935: warning: passing `float' for argument passing 4 of `void
GRAPHICS_double_masked_blit_16bit(BITMAP*, BITMAP*, BITMAP*, int, int, int,
int, int, int, int, int)'
funkyfont.cpp:1935: warning: argument to `int' from `float'
funkyfont.cpp:1935: warning: passing `float' for argument passing 5 of `void
GRAPHICS_double_masked_blit_16bit(BITMAP*, BITMAP*, BITMAP*, int, int, int,
int, int, int, int, int)'
funkyfont.cpp:1935: warning: argument to `int' from `float'
funkyfont.cpp:1935: warning: passing `float' for argument passing 6 of `void
GRAPHICS_double_masked_blit_16bit(BITMAP*, BITMAP*, BITMAP*, int, int, int,
int, int, int, int, int)'
funkyfont.cpp:1935: warning: argument to `int' from `float'
funkyfont.cpp:1935: warning: passing `float' for argument passing 7 of `void
GRAPHICS_double_masked_blit_16bit(BITMAP*, BITMAP*, BITMAP*, int, int, int,
int, int, int, int, int)'
funkyfont.cpp:1935: warning: argument to `int' from `float'
funkyfont.cpp:1935: warning: passing `float' for argument passing 8 of `void
GRAPHICS_double_masked_blit_16bit(BITMAP*, BITMAP*, BITMAP*, int, int, int,
int, int, int, int, int)'
funkyfont.cpp:1935: warning: argument to `int' from `float'
funkyfont.cpp:1935: warning: passing `float' for argument passing 9 of `void
GRAPHICS_double_masked_blit_16bit(BITMAP*, BITMAP*, BITMAP*, int, int, int,
int, int, int, int, int)'
funkyfont.cpp:1935: warning: argument to `int' from `float'
funkyfont.cpp:1942: warning: passing `float' for argument passing 4 of `void
GRAPHICS_double_masked_blit_32bit(BITMAP*, BITMAP*, BITMAP*, int, int, int,
int, int, int, int, int)'
funkyfont.cpp:1942: warning: argument to `int' from `float'
funkyfont.cpp:1942: warning: passing `float' for argument passing 5 of `void
GRAPHICS_double_masked_blit_32bit(BITMAP*, BITMAP*, BITMAP*, int, int, int,
int, int, int, int, int)'
funkyfont.cpp:1942: warning: argument to `int' from `float'
funkyfont.cpp:1942: warning: passing `float' for argument passing 6 of `void
GRAPHICS_double_masked_blit_32bit(BITMAP*, BITMAP*, BITMAP*, int, int, int,
int, int, int, int, int)'
funkyfont.cpp:1942: warning: argument to `int' from `float'
funkyfont.cpp:1942: warning: passing `float' for argument passing 7 of `void
GRAPHICS_double_masked_blit_32bit(BITMAP*, BITMAP*, BITMAP*, int, int, int,
int, int, int, int, int)'
funkyfont.cpp:1942: warning: argument to `int' from `float'
funkyfont.cpp:1942: warning: passing `float' for argument passing 8 of `void
GRAPHICS_double_masked_blit_32bit(BITMAP*, BITMAP*, BITMAP*, int, int, int,
int, int, int, int, int)'
funkyfont.cpp:1942: warning: argument to `int' from `float'
funkyfont.cpp:1942: warning: passing `float' for argument passing 9 of `void
GRAPHICS_double_masked_blit_32bit(BITMAP*, BITMAP*, BITMAP*, int, int, int,
int, int, int, int, int)'
funkyfont.cpp:1942: warning: argument to `int' from `float'
funkyfont.cpp: In function `void
PFONT_draw_frame_list_coloured(prop_text_struct*, int, int, int, float,
float, BITMAP*, int, int, int)':
funkyfont.cpp:1956: warning: initialization to `int' from `float'
funkyfont.cpp:1956: warning: argument to `int' from `float'
funkyfont.cpp:1957: warning: initialization to `int' from `float'
funkyfont.cpp:1957: warning: argument to `int' from `float'
funkyfont.cpp:1971: warning: passing `float' for argument passing 3 of `void
GRAPHICS_colour_blit_16bit(BITMAP*, BITMAP*, int, int, int, int, int, int,
short unsigned int)'
funkyfont.cpp:1971: warning: argument to `int' from `float'
funkyfont.cpp:1971: warning: passing `float' for argument passing 4 of `void
GRAPHICS_colour_blit_16bit(BITMAP*, BITMAP*, int, int, int, int, int, int,
short unsigned int)'
funkyfont.cpp:1971: warning: argument to `int' from `float'
funkyfont.cpp:1971: warning: passing `float' for argument passing 5 of `void
GRAPHICS_colour_blit_16bit(BITMAP*, BITMAP*, int, int, int, int, int, int,
short unsigned int)'
funkyfont.cpp:1971: warning: argument to `int' from `float'
funkyfont.cpp:1971: warning: passing `float' for argument passing 6 of `void
GRAPHICS_colour_blit_16bit(BITMAP*, BITMAP*, int, int, int, int, int, int,
short unsigned int)'
funkyfont.cpp:1971: warning: argument to `int' from `float'
funkyfont.cpp:1978: warning: passing `float' for argument passing 3 of `void
GRAPHICS_colour_blit_32bit(BITMAP*, BITMAP*, int, int, int, int, int, int,
long unsigned int)'
funkyfont.cpp:1978: warning: argument to `int' from `float'
funkyfont.cpp:1978: warning: passing `float' for argument passing 4 of `void
GRAPHICS_colour_blit_32bit(BITMAP*, BITMAP*, int, int, int, int, int, int,
long unsigned int)'
funkyfont.cpp:1978: warning: argument to `int' from `float'
funkyfont.cpp:1978: warning: passing `float' for argument passing 5 of `void
GRAPHICS_colour_blit_32bit(BITMAP*, BITMAP*, int, int, int, int, int, int,
long unsigned int)'
funkyfont.cpp:1978: warning: argument to `int' from `float'
funkyfont.cpp:1978: warning: passing `float' for argument passing 6 of `void
GRAPHICS_colour_blit_32bit(BITMAP*, BITMAP*, int, int, int, int, int, int,
long unsigned int)'
funkyfont.cpp:1978: warning: argument to `int' from `float'
funkyfont.cpp: In function `void
PFONT_draw_frame_list_vert_lerped_coloured(prop_text_struct*, int, int, int,
float, float, BITMAP*, int, int, int, int, int, int)':
funkyfont.cpp:1992: warning: initialization to `int' from `float'
funkyfont.cpp:1992: warning: argument to `int' from `float'
funkyfont.cpp:1993: warning: initialization to `int' from `float'
funkyfont.cpp:1993: warning: argument to `int' from `float'
funkyfont.cpp:2003: warning: passing `float' for argument passing 1 of `int
makecol16(int, int, int)'
funkyfont.cpp:2003: warning: argument to `int' from `float'
funkyfont.cpp:2003: warning: passing `float' for argument passing 2 of `int
makecol16(int, int, int)'
funkyfont.cpp:2003: warning: argument to `int' from `float'
funkyfont.cpp:2003: warning: passing `float' for argument passing 3 of `int
makecol16(int, int, int)'
funkyfont.cpp:2003: warning: argument to `int' from `float'
funkyfont.cpp:2004: warning: passing `float' for argument passing 1 of `int
makecol32(int, int, int)'
funkyfont.cpp:2004: warning: argument to `int' from `float'
funkyfont.cpp:2004: warning: passing `float' for argument passing 2 of `int
makecol32(int, int, int)'
funkyfont.cpp:2004: warning: argument to `int' from `float'
funkyfont.cpp:2004: warning: passing `float' for argument passing 3 of `int
makecol32(int, int, int)'
funkyfont.cpp:2004: warning: argument to `int' from `float'
funkyfont.cpp:2016: warning: passing `float' for argument passing 3 of `void
GRAPHICS_colour_vert_lerped_blit_16bit(BITMAP*, BITMAP*, int, int, int, int,
int, int, short unsigned int*)'
funkyfont.cpp:2016: warning: argument to `int' from `float'
funkyfont.cpp:2016: warning: passing `float' for argument passing 4 of `void
GRAPHICS_colour_vert_lerped_blit_16bit(BITMAP*, BITMAP*, int, int, int, int,
int, int, short unsigned int*)'
funkyfont.cpp:2016: warning: argument to `int' from `float'
funkyfont.cpp:2016: warning: passing `float' for argument passing 5 of `void
GRAPHICS_colour_vert_lerped_blit_16bit(BITMAP*, BITMAP*, int, int, int, int,
int, int, short unsigned int*)'
funkyfont.cpp:2016: warning: argument to `int' from `float'
funkyfont.cpp:2016: warning: passing `float' for argument passing 6 of `void
GRAPHICS_colour_vert_lerped_blit_16bit(BITMAP*, BITMAP*, int, int, int, int,
int, int, short unsigned int*)'
funkyfont.cpp:2016: warning: argument to `int' from `float'
funkyfont.cpp:2023: warning: passing `float' for argument passing 3 of `void
GRAPHICS_colour_vert_lerped_blit_32bit(BITMAP*, BITMAP*, int, int, int, int,
int, int, long unsigned int*)'
funkyfont.cpp:2023: warning: argument to `int' from `float'
funkyfont.cpp:2023: warning: passing `float' for argument passing 4 of `void
GRAPHICS_colour_vert_lerped_blit_32bit(BITMAP*, BITMAP*, int, int, int, int,
int, int, long unsigned int*)'
funkyfont.cpp:2023: warning: argument to `int' from `float'
funkyfont.cpp:2023: warning: passing `float' for argument passing 5 of `void
GRAPHICS_colour_vert_lerped_blit_32bit(BITMAP*, BITMAP*, int, int, int, int,
int, int, long unsigned int*)'
funkyfont.cpp:2023: warning: argument to `int' from `float'
funkyfont.cpp:2023: warning: passing `float' for argument passing 6 of `void
GRAPHICS_colour_vert_lerped_blit_32bit(BITMAP*, BITMAP*, int, int, int, int,
int, int, long unsigned int*)'
funkyfont.cpp:2023: warning: argument to `int' from `float'
funkyfont.cpp:2029:2: warning: no newline at end of file
[/code]
Mostly warnings, but there are some errors in there too...