Ticket #49: makeit.out

File makeit.out, 8.5 KB (added by HoraK-FDF, 7 years ago)

grafx2 warnings mingw32

Line 
1misc.c:724:0: warning: "_WIN32_WINNT" redefined [enabled by default]
2 #define _WIN32_WINNT 0x0500
3 ^
4In file included from c:\mingw\include\_mingw.h:35:0,
5 from c:\mingw\include\sys\types.h:27,
6 from c:\mingw\include\SDL_stdinc.h:34,
7 from c:\mingw\include\SDL_main.h:26,
8 from c:\mingw\include\sdl.h:30,
9 from misc.c:24:
10c:\mingw\include\sdkddkver.h:154:0: note: this is the location of the previous definition
11 # define _WIN32_WINNT _WIN32_WINNT_WIN2K
12 ^
13operatio.c: In function 'Grad_rectangle_0_5':
14operatio.c:3635:15: warning: variable 'height' set but not used [-Wunused-but-set-variable]
15 short width,height;
16 ^
17operatio.c:3635:9: warning: variable 'width' set but not used [-Wunused-but-set-variable]
18 short width,height;
19 ^
20pages.c: In function 'Delete_layer':
21pages.c:1448:12: warning: variable 'page' set but not used [-Wunused-but-set-variable]
22 T_Page * page;
23 ^
24loadsave.c: In function 'Set_pixel_24b':
25loadsave.c:296:3: warning: enumeration value 'CONTEXT_PALETTE' not handled in switch [-Wswitch]
26 switch(context->Type)
27 ^
28loadsave.c: In function 'Pre_load':
29loadsave.c:382:3: warning: enumeration value 'CONTEXT_PALETTE' not handled in switch [-Wswitch]
30 switch(context->Type)
31 ^
32loadsave.c:527:5: warning: enumeration value 'CONTEXT_PALETTE' not handled in switch [-Wswitch]
33 switch(context->Type)
34 ^
35loadsave.c: In function 'Load_image':
36loadsave.c:659:7: warning: enumeration value 'CONTEXT_PALETTE' not handled in switch [-Wswitch]
37 switch(context->Type)
38 ^
39loadsave.c: In function 'Save_image':
40loadsave.c:964:3: warning: enumeration value 'CONTEXT_PALETTE' not handled in switch [-Wswitch]
41 switch (context->Type)
42 ^
43windows.c: In function 'Display_menu_palette_avoiding_window':
44windows.c:1381:7: warning: variable 'transparent' set but not used [-Wunused-but-set-variable]
45 int transparent = -1;
46 ^
47brush.c: In function 'Display_paintbrush':
48brush.c:120:9: warning: variable 'end_counter_y' set but not used [-Wunused-but-set-variable]
49 short end_counter_y; // Position Y ou s'arrête l'affichade de la
50 ^
51brush.c:118:9: warning: variable 'end_counter_x' set but not used [-Wunused-but-set-variable]
52 short end_counter_x; // Position X ou s'arrête l'affichade de la
53 ^
54brush.c: In function 'Hide_paintbrush':
55brush.c:715:9: warning: variable 'end_counter_y' set but not used [-Wunused-but-set-variable]
56 short end_counter_y; // Position Y ou s'arrête l'affichage de la brosse/pinceau
57 ^
58brush.c:714:9: warning: variable 'end_counter_x' set but not used [-Wunused-but-set-variable]
59 short end_counter_x; // Position X ou s'arrête l'affichage de la brosse/pinceau
60 ^
61brush.c: In function 'Stretch_brush':
62brush.c:1321:21: warning: variable 'y_flipped' set but not used [-Wunused-but-set-variable]
63 int x_flipped, y_flipped;
64 ^
65brush.c:1321:10: warning: variable 'x_flipped' set but not used [-Wunused-but-set-variable]
66 int x_flipped, y_flipped;
67 ^
68brush.c: In function 'Draw_quad_texture_preview':
69brush.c:2026:13: warning: variable 'x_max' set but not used [-Wunused-but-set-variable]
70 int x_min,x_max,y_min,y_max;
71 ^
72brush.c:2026:7: warning: variable 'x_min' set but not used [-Wunused-but-set-variable]
73 int x_min,x_max,y_min,y_max;
74 ^
75factory.c: In function 'L_WindowPrint':
76factory.c:1742:7: warning: variable 'len' set but not used [-Wunused-but-set-variable]
77 int len;
78 ^
79factory.c: In function 'L_WindowSlider':
80factory.c:1779:22: warning: variable 'button' set but not used [-Wunused-but-set-variable]
81 T_Scroller_button *button;
82 ^
83fileformats.c: In function 'Load_IMG':
84fileformats.c:108:8: warning: variable 'width_read' set but not used [-Wunused-but-set-variable]
85 long width_read;
86 ^
87fileformats.c: In function 'Load_IFF':
88fileformats.c:592:9: warning: variable 'is_anim' set but not used [-Wunused-but-set-variable]
89 byte is_anim=0;
90 ^
91fileformats.c: In function 'Load_PNG':
92fileformats.c:4202:23: warning: enumeration value 'CONTEXT_PALETTE' not handled in switch [-Wswitch]
93 switch (context->Type)
94 ^
95miscfileformats.c: In function 'Load_GPL':
96miscfileformats.c:146:8: warning: variable 'file_size' set but not used [-Wunused-but-set-variable]
97 long file_size;
98 ^
99miscfileformats.c: In function 'Save_C64_multi':
100miscfileformats.c:2926:20: warning: variable 'count' set but not used [-Wunused-but-set-variable]
101 word numcolors,count;
102 ^
103miscfileformats.c: In function 'Save_C64':
104miscfileformats.c:3154:11: warning: variable 'numcolors' set but not used [-Wunused-but-set-variable]
105 dword numcolors,cusage[256];
106 ^
107miscfileformats.c: In function 'Test_PPH':
108miscfileformats.c:3566:3: warning: pointer targets in passing argument 1 of 'Get_full_filename' differ in signedness [-Wpointer-sign]
109 Get_full_filename(buffer, context->File_name, context->File_directory);
110 ^
111In file included from miscfileformats.c:36:0:
112io.h:105:6: note: expected 'char *' but argument is of type 'unsigned char *'
113 void Get_full_filename(char * output_name, char * file_name, char * directory_name);
114 ^
115miscfileformats.c:3570:3: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign]
116 if ((file = fopen(buffer, "rb")))
117 ^
118In file included from c:\mingw\include\SDL_stdinc.h:37:0,
119 from c:\mingw\include\SDL_main.h:26,
120 from c:\mingw\include\sdl.h:30,
121 from global.h:33,
122 from miscfileformats.c:35:
123c:\mingw\include\stdio.h:165:39: note: expected 'const char *' but argument is of type 'unsigned char *'
124 _CRTIMP FILE* __cdecl __MINGW_NOTHROW fopen (const char*, const char*);
125 ^
126miscfileformats.c: In function 'Save_PPH':
127miscfileformats.c:3909:29: warning: unused parameter 'context' [-Wunused-parameter]
128 void Save_PPH(T_IO_Context* context)
129 ^
130libraw2crtc.c: In function 'raw2crtc':
131libraw2crtc.c:69:17: warning: variable 'nbPixPerByte' set but not used [-Wunused-but-set-variable]
132 unsigned char nbPixPerByte;
133 ^
134buttons_effects.c: In function 'Button_Sieve_menu':
135buttons_effects.c:1042:9: warning: variable 'preview_y_end' set but not used [-Wunused-but-set-variable]
136 short preview_y_end; // | rapidité.
137 ^
138buttons_effects.c:1041:9: warning: variable 'preview_x_end' set but not used [-Wunused-but-set-variable]
139 short preview_x_end; // | => plus grande
140 ^
141gcc -W -Wall -Wdeclaration-after-statement -O -g -ggdb `sdl-config --cflags` -D__ENABLE_LUA__ -c layers.c -o ../obj/win32/layers.o
142gcc -W -Wall -Wdeclaration-after-statement -O -g -ggdb `sdl-config --cflags` -D__ENABLE_LUA__ -c oldies.c -o ../obj/win32/oldies.o
143gcc -W -Wall -Wdeclaration-after-statement -O -g -ggdb `sdl-config --cflags` -D__ENABLE_LUA__ -c tiles.c -o ../obj/win32/tiles.o
144gcc -W -Wall -Wdeclaration-after-statement -O -g -ggdb `sdl-config --cflags` -D__ENABLE_LUA__ -c colorred.c -o ../obj/win32/colorred.o
145test -d ../bin || mkdir -p ../bin
146gcc ../obj/win32/main.o ../obj/win32/init.o ../obj/win32/graph.o ../obj/win32/sdlscreen.o ../obj/win32/misc.o ../obj/win32/special.o ../obj/win32/buttons.o ../obj/win32/palette.o ../obj/win32/help.o ../obj/win32/operatio.o ../obj/win32/pages.o ../obj/win32/loadsave.o ../obj/win32/readline.o ../obj/win32/engine.o ../obj/win32/filesel.o ../obj/win32/op_c.o ../obj/win32/readini.o ../obj/win32/saveini.o ../obj/win32/shade.o ../obj/win32/keyboard.o ../obj/win32/io.o ../obj/win32/version.o ../obj/win32/text.o ../obj/win32/SFont.o ../obj/win32/setup.o ../obj/win32/pxsimple.o ../obj/win32/pxtall.o ../obj/win32/pxwide.o ../obj/win32/pxdouble.o ../obj/win32/pxtriple.o ../obj/win32/pxtall2.o ../obj/win32/pxtall3.o ../obj/win32/pxwide2.o ../obj/win32/pxquad.o ../obj/win32/windows.o ../obj/win32/brush.o ../obj/win32/realpath.o ../obj/win32/mountlist.o ../obj/win32/input.o ../obj/win32/hotkeys.o ../obj/win32/transform.o ../obj/win32/pversion.o ../obj/win32/factory.o ../obj/win32/winres.o ../obj/win32/fileformats.o ../obj/win32/miscfileformats.o ../obj/win32/libraw2crtc.o ../obj/win32/brush_ops.o ../obj/win32/buttons_effects.o ../obj/win32/layers.o ../obj/win32/oldies.o ../obj/win32/tiles.o ../obj/win32/colorred.o -o ../bin/grafx2.exe `sdl-config --libs` -lSDL_image -L./usr/local/lib -lSDL_ttf -lpng -lz -llua