1 | misc.c:724:0: warning: "_WIN32_WINNT" redefined [enabled by default]
|
---|
2 | #define _WIN32_WINNT 0x0500
|
---|
3 | ^
|
---|
4 | In 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:
|
---|
10 | c:\mingw\include\sdkddkver.h:154:0: note: this is the location of the previous definition
|
---|
11 | # define _WIN32_WINNT _WIN32_WINNT_WIN2K
|
---|
12 | ^
|
---|
13 | operatio.c: In function 'Grad_rectangle_0_5':
|
---|
14 | operatio.c:3635:15: warning: variable 'height' set but not used [-Wunused-but-set-variable]
|
---|
15 | short width,height;
|
---|
16 | ^
|
---|
17 | operatio.c:3635:9: warning: variable 'width' set but not used [-Wunused-but-set-variable]
|
---|
18 | short width,height;
|
---|
19 | ^
|
---|
20 | pages.c: In function 'Delete_layer':
|
---|
21 | pages.c:1448:12: warning: variable 'page' set but not used [-Wunused-but-set-variable]
|
---|
22 | T_Page * page;
|
---|
23 | ^
|
---|
24 | loadsave.c: In function 'Set_pixel_24b':
|
---|
25 | loadsave.c:296:3: warning: enumeration value 'CONTEXT_PALETTE' not handled in switch [-Wswitch]
|
---|
26 | switch(context->Type)
|
---|
27 | ^
|
---|
28 | loadsave.c: In function 'Pre_load':
|
---|
29 | loadsave.c:382:3: warning: enumeration value 'CONTEXT_PALETTE' not handled in switch [-Wswitch]
|
---|
30 | switch(context->Type)
|
---|
31 | ^
|
---|
32 | loadsave.c:527:5: warning: enumeration value 'CONTEXT_PALETTE' not handled in switch [-Wswitch]
|
---|
33 | switch(context->Type)
|
---|
34 | ^
|
---|
35 | loadsave.c: In function 'Load_image':
|
---|
36 | loadsave.c:659:7: warning: enumeration value 'CONTEXT_PALETTE' not handled in switch [-Wswitch]
|
---|
37 | switch(context->Type)
|
---|
38 | ^
|
---|
39 | loadsave.c: In function 'Save_image':
|
---|
40 | loadsave.c:964:3: warning: enumeration value 'CONTEXT_PALETTE' not handled in switch [-Wswitch]
|
---|
41 | switch (context->Type)
|
---|
42 | ^
|
---|
43 | windows.c: In function 'Display_menu_palette_avoiding_window':
|
---|
44 | windows.c:1381:7: warning: variable 'transparent' set but not used [-Wunused-but-set-variable]
|
---|
45 | int transparent = -1;
|
---|
46 | ^
|
---|
47 | brush.c: In function 'Display_paintbrush':
|
---|
48 | brush.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 | ^
|
---|
51 | brush.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 | ^
|
---|
54 | brush.c: In function 'Hide_paintbrush':
|
---|
55 | brush.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 | ^
|
---|
58 | brush.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 | ^
|
---|
61 | brush.c: In function 'Stretch_brush':
|
---|
62 | brush.c:1321:21: warning: variable 'y_flipped' set but not used [-Wunused-but-set-variable]
|
---|
63 | int x_flipped, y_flipped;
|
---|
64 | ^
|
---|
65 | brush.c:1321:10: warning: variable 'x_flipped' set but not used [-Wunused-but-set-variable]
|
---|
66 | int x_flipped, y_flipped;
|
---|
67 | ^
|
---|
68 | brush.c: In function 'Draw_quad_texture_preview':
|
---|
69 | brush.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 | ^
|
---|
72 | brush.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 | ^
|
---|
75 | factory.c: In function 'L_WindowPrint':
|
---|
76 | factory.c:1742:7: warning: variable 'len' set but not used [-Wunused-but-set-variable]
|
---|
77 | int len;
|
---|
78 | ^
|
---|
79 | factory.c: In function 'L_WindowSlider':
|
---|
80 | factory.c:1779:22: warning: variable 'button' set but not used [-Wunused-but-set-variable]
|
---|
81 | T_Scroller_button *button;
|
---|
82 | ^
|
---|
83 | fileformats.c: In function 'Load_IMG':
|
---|
84 | fileformats.c:108:8: warning: variable 'width_read' set but not used [-Wunused-but-set-variable]
|
---|
85 | long width_read;
|
---|
86 | ^
|
---|
87 | fileformats.c: In function 'Load_IFF':
|
---|
88 | fileformats.c:592:9: warning: variable 'is_anim' set but not used [-Wunused-but-set-variable]
|
---|
89 | byte is_anim=0;
|
---|
90 | ^
|
---|
91 | fileformats.c: In function 'Load_PNG':
|
---|
92 | fileformats.c:4202:23: warning: enumeration value 'CONTEXT_PALETTE' not handled in switch [-Wswitch]
|
---|
93 | switch (context->Type)
|
---|
94 | ^
|
---|
95 | miscfileformats.c: In function 'Load_GPL':
|
---|
96 | miscfileformats.c:146:8: warning: variable 'file_size' set but not used [-Wunused-but-set-variable]
|
---|
97 | long file_size;
|
---|
98 | ^
|
---|
99 | miscfileformats.c: In function 'Save_C64_multi':
|
---|
100 | miscfileformats.c:2926:20: warning: variable 'count' set but not used [-Wunused-but-set-variable]
|
---|
101 | word numcolors,count;
|
---|
102 | ^
|
---|
103 | miscfileformats.c: In function 'Save_C64':
|
---|
104 | miscfileformats.c:3154:11: warning: variable 'numcolors' set but not used [-Wunused-but-set-variable]
|
---|
105 | dword numcolors,cusage[256];
|
---|
106 | ^
|
---|
107 | miscfileformats.c: In function 'Test_PPH':
|
---|
108 | miscfileformats.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 | ^
|
---|
111 | In file included from miscfileformats.c:36:0:
|
---|
112 | io.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 | ^
|
---|
115 | miscfileformats.c:3570:3: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign]
|
---|
116 | if ((file = fopen(buffer, "rb")))
|
---|
117 | ^
|
---|
118 | In 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:
|
---|
123 | c:\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 | ^
|
---|
126 | miscfileformats.c: In function 'Save_PPH':
|
---|
127 | miscfileformats.c:3909:29: warning: unused parameter 'context' [-Wunused-parameter]
|
---|
128 | void Save_PPH(T_IO_Context* context)
|
---|
129 | ^
|
---|
130 | libraw2crtc.c: In function 'raw2crtc':
|
---|
131 | libraw2crtc.c:69:17: warning: variable 'nbPixPerByte' set but not used [-Wunused-but-set-variable]
|
---|
132 | unsigned char nbPixPerByte;
|
---|
133 | ^
|
---|
134 | buttons_effects.c: In function 'Button_Sieve_menu':
|
---|
135 | buttons_effects.c:1042:9: warning: variable 'preview_y_end' set but not used [-Wunused-but-set-variable]
|
---|
136 | short preview_y_end; // | rapidité.
|
---|
137 | ^
|
---|
138 | buttons_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 | ^
|
---|
141 | gcc -W -Wall -Wdeclaration-after-statement -O -g -ggdb `sdl-config --cflags` -D__ENABLE_LUA__ -c layers.c -o ../obj/win32/layers.o
|
---|
142 | gcc -W -Wall -Wdeclaration-after-statement -O -g -ggdb `sdl-config --cflags` -D__ENABLE_LUA__ -c oldies.c -o ../obj/win32/oldies.o
|
---|
143 | gcc -W -Wall -Wdeclaration-after-statement -O -g -ggdb `sdl-config --cflags` -D__ENABLE_LUA__ -c tiles.c -o ../obj/win32/tiles.o
|
---|
144 | gcc -W -Wall -Wdeclaration-after-statement -O -g -ggdb `sdl-config --cflags` -D__ENABLE_LUA__ -c colorred.c -o ../obj/win32/colorred.o
|
---|
145 | test -d ../bin || mkdir -p ../bin
|
---|
146 | gcc ../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
|
---|