1 | Configure run on Sun Mar 5 09:22:23 CET 2023
|
---|
2 | Invocation command line was:
|
---|
3 | ./configure --enable-all-engines --disable-debug --enable-release --enable-plugins --disable-translation --disable-cloud --disable-eventrecorder --disable-tts --disable-discord
|
---|
4 | Saved environment variables:
|
---|
5 | AR="" AS="" ASFLAGS="" CPPFLAGS="" CXX="" CXXFLAGS="" DWP="" LD="" LDFLAGS="" PKG_CONFIG_LIBDIR="unset" RANLIB="" SDL_CONFIG="" STRIP="" WINDRES="" WINDRESFLAGS=""
|
---|
6 | testing compiler: g++
|
---|
7 | success testing compiler: g++
|
---|
8 |
|
---|
9 | int main(int argc, char *argv[]) { if (argv == nullptr) return -1; else return 0; }
|
---|
10 |
|
---|
11 | g++ ./scummvm-conf.cpp -o ./scummvm-conf -std=c++11
|
---|
12 | return code: 0
|
---|
13 |
|
---|
14 |
|
---|
15 | int main(void) {
|
---|
16 | #ifndef __GNUC__
|
---|
17 | syntax error
|
---|
18 | #endif
|
---|
19 | return 0;
|
---|
20 | }
|
---|
21 |
|
---|
22 | g++ ./scummvm-conf.cpp -o ./scummvm-conf -c
|
---|
23 | return code: 0
|
---|
24 |
|
---|
25 |
|
---|
26 | int main(void) {
|
---|
27 | #ifndef __INTEL_COMPILER
|
---|
28 | syntax error
|
---|
29 | #endif
|
---|
30 | return 0;
|
---|
31 | }
|
---|
32 |
|
---|
33 | g++ ./scummvm-conf.cpp -o ./scummvm-conf -c
|
---|
34 | ./scummvm-conf.cpp: In function 'int main()':
|
---|
35 | ./scummvm-conf.cpp:3:9: error: 'syntax' was not declared in this scope
|
---|
36 | 3 | syntax error
|
---|
37 | | ^~~~~~
|
---|
38 | return code: 1
|
---|
39 |
|
---|
40 |
|
---|
41 | int main(void) {
|
---|
42 | #ifndef __clang__
|
---|
43 | syntax error
|
---|
44 | #endif
|
---|
45 | return 0;
|
---|
46 | }
|
---|
47 |
|
---|
48 | g++ ./scummvm-conf.cpp -o ./scummvm-conf -c
|
---|
49 | ./scummvm-conf.cpp: In function 'int main()':
|
---|
50 | ./scummvm-conf.cpp:3:9: error: 'syntax' was not declared in this scope
|
---|
51 | 3 | syntax error
|
---|
52 | | ^~~~~~
|
---|
53 | return code: 1
|
---|
54 |
|
---|
55 |
|
---|
56 | #include <initializer_list>
|
---|
57 | #include <cstddef>
|
---|
58 | class FOO {
|
---|
59 | public:
|
---|
60 | FOO(std::initializer_list<int> list) : _size(list.size()) {}
|
---|
61 | size_t _size;
|
---|
62 | };
|
---|
63 | int main(int argc, char *argv[]) { return 0; }
|
---|
64 |
|
---|
65 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic ./scummvm-conf.cpp -o ./scummvm-conf
|
---|
66 | return code: 0
|
---|
67 |
|
---|
68 |
|
---|
69 | #include <cstddef>
|
---|
70 | int main(int argc, char *argv[]) {
|
---|
71 | std::nullptr_t i = nullptr;
|
---|
72 | return 0;
|
---|
73 | }
|
---|
74 |
|
---|
75 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic ./scummvm-conf.cpp -o ./scummvm-conf
|
---|
76 | return code: 0
|
---|
77 |
|
---|
78 |
|
---|
79 | int main() { return 0; }
|
---|
80 |
|
---|
81 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic ./scummvm-conf.cpp -o ./scummvm-conf -Wglobal-constructors -Werror
|
---|
82 | g++: error: unrecognized command-line option '-Wglobal-constructors'; did you mean '-felide-constructors'?
|
---|
83 | return code: 1
|
---|
84 |
|
---|
85 |
|
---|
86 | int main() { return 0; }
|
---|
87 |
|
---|
88 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic ./scummvm-conf.cpp -o ./scummvm-conf -Wundefined-var-template -Werror
|
---|
89 | g++: error: unrecognized command-line option '-Wundefined-var-template'
|
---|
90 | return code: 1
|
---|
91 |
|
---|
92 |
|
---|
93 | int main() { return 0; }
|
---|
94 |
|
---|
95 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic ./scummvm-conf.cpp -o ./scummvm-conf -Wpragma-pack -Werror
|
---|
96 | g++: error: unrecognized command-line option '-Wpragma-pack'
|
---|
97 | return code: 1
|
---|
98 |
|
---|
99 |
|
---|
100 | int main() { return 0; }
|
---|
101 |
|
---|
102 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic ./scummvm-conf.cpp -o ./scummvm-conf -Waddress-of-packed-member -Werror
|
---|
103 | return code: 0
|
---|
104 |
|
---|
105 | Checking for x86_64-linux-gnu-strings... no
|
---|
106 | tmp_pointer_is_32bit.cpp: In function 'int main()':
|
---|
107 | tmp_pointer_is_32bit.cpp:2:61: error: narrowing conversion of '-1' from 'int' to 'long unsigned int' [-Wnarrowing]
|
---|
108 | 2 | static int test_array[1 - 2 * !(sizeof(void *) == 4)];
|
---|
109 | | ^
|
---|
110 | tmp_pointer_is_32bit.cpp:2:33: warning: size of array 'test_array' is not an integral constant-expression [-Wpedantic]
|
---|
111 | 2 | static int test_array[1 - 2 * !(sizeof(void *) == 4)];
|
---|
112 | | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
---|
113 | tmp_pointer_is_32bit.cpp:2:33: error: size '-1' of array 'test_array' is negative
|
---|
114 | tmp_find_type_with_size.cpp: In function 'int main()':
|
---|
115 | tmp_find_type_with_size.cpp:3:88: error: narrowing conversion of '-1' from 'int' to 'long unsigned int' [-Wnarrowing]
|
---|
116 | 3 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) == 1)];
|
---|
117 | | ^
|
---|
118 | tmp_find_type_with_size.cpp:3:34: warning: size of array 'test_array' is not an integral constant-expression [-Wpedantic]
|
---|
119 | 3 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) == 1)];
|
---|
120 | | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
---|
121 | tmp_find_type_with_size.cpp:3:34: error: size '-1' of array 'test_array' is negative
|
---|
122 | tmp_find_type_with_size.cpp: In function 'int main()':
|
---|
123 | tmp_find_type_with_size.cpp:3:88: error: narrowing conversion of '-1' from 'int' to 'long unsigned int' [-Wnarrowing]
|
---|
124 | 3 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) == 1)];
|
---|
125 | | ^
|
---|
126 | tmp_find_type_with_size.cpp:3:34: warning: size of array 'test_array' is not an integral constant-expression [-Wpedantic]
|
---|
127 | 3 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) == 1)];
|
---|
128 | | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
---|
129 | tmp_find_type_with_size.cpp:3:34: error: size '-1' of array 'test_array' is negative
|
---|
130 | tmp_find_type_with_size.cpp: In function 'int main()':
|
---|
131 | tmp_find_type_with_size.cpp:3:88: error: narrowing conversion of '-1' from 'int' to 'long unsigned int' [-Wnarrowing]
|
---|
132 | 3 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) == 2)];
|
---|
133 | | ^
|
---|
134 | tmp_find_type_with_size.cpp:3:34: warning: size of array 'test_array' is not an integral constant-expression [-Wpedantic]
|
---|
135 | 3 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) == 2)];
|
---|
136 | | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
---|
137 | tmp_find_type_with_size.cpp:3:34: error: size '-1' of array 'test_array' is negative
|
---|
138 | tmp_find_type_with_size.cpp: In function 'int main()':
|
---|
139 | tmp_find_type_with_size.cpp:3:88: error: narrowing conversion of '-1' from 'int' to 'long unsigned int' [-Wnarrowing]
|
---|
140 | 3 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) == 8)];
|
---|
141 | | ^
|
---|
142 | tmp_find_type_with_size.cpp:3:34: warning: size of array 'test_array' is not an integral constant-expression [-Wpedantic]
|
---|
143 | 3 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) == 8)];
|
---|
144 | | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
---|
145 | tmp_find_type_with_size.cpp:3:34: error: size '-1' of array 'test_array' is negative
|
---|
146 | tmp_find_type_with_size.cpp: In function 'int main()':
|
---|
147 | tmp_find_type_with_size.cpp:3:88: error: narrowing conversion of '-1' from 'int' to 'long unsigned int' [-Wnarrowing]
|
---|
148 | 3 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) == 8)];
|
---|
149 | | ^
|
---|
150 | tmp_find_type_with_size.cpp:3:34: warning: size of array 'test_array' is not an integral constant-expression [-Wpedantic]
|
---|
151 | 3 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) == 8)];
|
---|
152 | | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
---|
153 | tmp_find_type_with_size.cpp:3:34: error: size '-1' of array 'test_array' is negative
|
---|
154 | tmp_find_type_with_size.cpp: In function 'int main()':
|
---|
155 | tmp_find_type_with_size.cpp:3:88: error: narrowing conversion of '-1' from 'int' to 'long unsigned int' [-Wnarrowing]
|
---|
156 | 3 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) == 8)];
|
---|
157 | | ^
|
---|
158 | tmp_find_type_with_size.cpp:3:34: warning: size of array 'test_array' is not an integral constant-expression [-Wpedantic]
|
---|
159 | 3 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) == 8)];
|
---|
160 | | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
---|
161 | tmp_find_type_with_size.cpp:3:34: error: size '-1' of array 'test_array' is negative
|
---|
162 |
|
---|
163 | #include "SDL.h"
|
---|
164 | int main(int argc, char *argv[]) { SDL_Init(0); return 0; }
|
---|
165 |
|
---|
166 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic -Wno-address-of-packed-member ./scummvm-conf.cpp -o ./scummvm-conf -L/usr/lib -lSDL2 -I/usr/include/SDL2 -D_REENTRANT
|
---|
167 | return code: 0
|
---|
168 |
|
---|
169 |
|
---|
170 | #include "SDL_net.h"
|
---|
171 | int main(int argc, char *argv[]) { SDLNet_Init(); return 0; }
|
---|
172 |
|
---|
173 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic -Wno-address-of-packed-member ./scummvm-conf.cpp -o ./scummvm-conf -lSDL2_net -lSDL2 -L/usr/lib -lSDL2 -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT
|
---|
174 | return code: 0
|
---|
175 |
|
---|
176 |
|
---|
177 | #include <spawn.h>
|
---|
178 | int main(void) { return posix_spawn(0, 0, 0, 0, 0, 0); }
|
---|
179 |
|
---|
180 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic -Wno-address-of-packed-member ./scummvm-conf.cpp -o ./scummvm-conf
|
---|
181 | return code: 0
|
---|
182 |
|
---|
183 |
|
---|
184 | #include <stdio.h>
|
---|
185 | #include <sys/types.h> /* off_t on legacy systems */
|
---|
186 | int main() {
|
---|
187 | static int test_array[1 - 2 * !(sizeof(off_t) >= 8)];
|
---|
188 | fseeko(stdin, 0, SEEK_SET);
|
---|
189 | test_array[0] = 0;
|
---|
190 | return 0;
|
---|
191 | }
|
---|
192 |
|
---|
193 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic -Wno-address-of-packed-member ./scummvm-conf.cpp -o ./scummvm-conf
|
---|
194 | return code: 0
|
---|
195 |
|
---|
196 |
|
---|
197 | int main(void) { return 0; }
|
---|
198 |
|
---|
199 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic -Wno-address-of-packed-member -O2 -Wuninitialized -fPIC ./scummvm-conf.cpp -o ./scummvm-conf -lm
|
---|
200 | return code: 0
|
---|
201 |
|
---|
202 |
|
---|
203 | #include <ogg/ogg.h>
|
---|
204 | int main(void) { return 0; }
|
---|
205 |
|
---|
206 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic -Wno-address-of-packed-member -O2 -Wuninitialized -fPIC ./scummvm-conf.cpp -o ./scummvm-conf -logg
|
---|
207 | return code: 0
|
---|
208 |
|
---|
209 |
|
---|
210 | #include <vorbis/codec.h>
|
---|
211 | int main(void) { vorbis_packet_blocksize(0,0); return 0; }
|
---|
212 |
|
---|
213 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic -Wno-address-of-packed-member -O2 -Wuninitialized -fPIC ./scummvm-conf.cpp -o ./scummvm-conf -lvorbisfile -lvorbis -logg
|
---|
214 | return code: 0
|
---|
215 |
|
---|
216 |
|
---|
217 | #include <tremor/ivorbiscodec.h>
|
---|
218 | int main(void) { vorbis_info_init(0); return 0; }
|
---|
219 |
|
---|
220 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic -Wno-address-of-packed-member -O2 -Wuninitialized -fPIC ./scummvm-conf.cpp -o ./scummvm-conf -lvorbisidec -logg
|
---|
221 | ./scummvm-conf.cpp:1:10: fatal error: tremor/ivorbiscodec.h: No such file or directory
|
---|
222 | 1 | #include <tremor/ivorbiscodec.h>
|
---|
223 | | ^~~~~~~~~~~~~~~~~~~~~~~
|
---|
224 | compilation terminated.
|
---|
225 | return code: 1
|
---|
226 |
|
---|
227 |
|
---|
228 | #include <RetroWaveLib/RetroWave.h>
|
---|
229 | RetroWaveContext context;
|
---|
230 | int main(void) { retrowave_init(&context); return 0; }
|
---|
231 |
|
---|
232 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic -Wno-address-of-packed-member -O2 -Wuninitialized -fPIC ./scummvm-conf.cpp -o ./scummvm-conf -lRetroWave
|
---|
233 | ./scummvm-conf.cpp:1:10: fatal error: RetroWaveLib/RetroWave.h: No such file or directory
|
---|
234 | 1 | #include <RetroWaveLib/RetroWave.h>
|
---|
235 | | ^~~~~~~~~~~~~~~~~~~~~~~~~~
|
---|
236 | compilation terminated.
|
---|
237 | return code: 1
|
---|
238 |
|
---|
239 |
|
---|
240 | #include <FLAC/stream_decoder.h>
|
---|
241 | #include <FLAC/format.h>
|
---|
242 | int main(void) {
|
---|
243 | FLAC__StreamDecoder *decoder = FLAC__stream_decoder_new();
|
---|
244 | FLAC__stream_decoder_delete(decoder);
|
---|
245 | return FLAC__STREAM_SYNC_LEN >> 30; /* guaranteed to be 0 */
|
---|
246 | }
|
---|
247 |
|
---|
248 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic -Wno-address-of-packed-member -O2 -Wuninitialized -fPIC ./scummvm-conf.cpp -o ./scummvm-conf -lFLAC -logg
|
---|
249 | return code: 0
|
---|
250 |
|
---|
251 |
|
---|
252 | #include <mad.h>
|
---|
253 | int main(void) { return 0; }
|
---|
254 |
|
---|
255 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic -Wno-address-of-packed-member -O2 -Wuninitialized -fPIC ./scummvm-conf.cpp -o ./scummvm-conf -lmad
|
---|
256 | return code: 0
|
---|
257 |
|
---|
258 |
|
---|
259 | #include <alsa/asoundlib.h>
|
---|
260 | int main(void) { return (!(SND_LIB_MAJOR==0 && SND_LIB_MINOR==9)); }
|
---|
261 |
|
---|
262 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic -Wno-address-of-packed-member -O2 -Wuninitialized -fPIC ./scummvm-conf.cpp -o ./scummvm-conf -lasound
|
---|
263 | return code: 0
|
---|
264 |
|
---|
265 |
|
---|
266 | #include <stdio.h>
|
---|
267 | #include <jpeglib.h>
|
---|
268 | int main(void) {
|
---|
269 | #if JPEG_LIB_VERSION >= 62
|
---|
270 | #else
|
---|
271 | syntax error
|
---|
272 | #endif
|
---|
273 | return 0;
|
---|
274 | }
|
---|
275 |
|
---|
276 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic -Wno-address-of-packed-member -O2 -Wuninitialized -fPIC ./scummvm-conf.cpp -o ./scummvm-conf -ljpeg
|
---|
277 | return code: 0
|
---|
278 |
|
---|
279 |
|
---|
280 | #include <png.h>
|
---|
281 | int main(void) {
|
---|
282 | #if PNG_LIBPNG_VER >= 10208
|
---|
283 | #else
|
---|
284 | syntax error
|
---|
285 | #endif
|
---|
286 | return 0;
|
---|
287 | }
|
---|
288 |
|
---|
289 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic -Wno-address-of-packed-member -O2 -Wuninitialized -fPIC ./scummvm-conf.cpp -o ./scummvm-conf -I/usr/include/libpng16 -lpng16
|
---|
290 | return code: 0
|
---|
291 |
|
---|
292 |
|
---|
293 | #include <gif_lib.h>
|
---|
294 | int main(void) {
|
---|
295 | #if GIFLIB_MAJOR >= 5
|
---|
296 | #else
|
---|
297 | syntax error
|
---|
298 | #endif
|
---|
299 | return 0;
|
---|
300 | }
|
---|
301 |
|
---|
302 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic -Wno-address-of-packed-member -O2 -Wuninitialized -fPIC ./scummvm-conf.cpp -o ./scummvm-conf -lgif
|
---|
303 | return code: 0
|
---|
304 |
|
---|
305 |
|
---|
306 | #include <theora/theoradec.h>
|
---|
307 | int main(void) { th_ycbcr_buffer yuv; th_decode_ycbcr_out(NULL, yuv); }
|
---|
308 |
|
---|
309 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic -Wno-address-of-packed-member -O2 -Wuninitialized -fPIC ./scummvm-conf.cpp -o ./scummvm-conf -ltheoradec
|
---|
310 | return code: 0
|
---|
311 |
|
---|
312 |
|
---|
313 | #include <neaacdec.h>
|
---|
314 | int main(void) { NeAACDecGetCapabilities(); return 0; }
|
---|
315 |
|
---|
316 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic -Wno-address-of-packed-member -O2 -Wuninitialized -fPIC ./scummvm-conf.cpp -o ./scummvm-conf -lfaad
|
---|
317 | return code: 0
|
---|
318 |
|
---|
319 |
|
---|
320 | #include <sndio.h>
|
---|
321 | int main(void) { struct sio_par par; sio_initpar(&par); return 0; }
|
---|
322 |
|
---|
323 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic -Wno-address-of-packed-member -O2 -Wuninitialized -fPIC ./scummvm-conf.cpp -o ./scummvm-conf -lsndio
|
---|
324 | ./scummvm-conf.cpp:1:10: fatal error: sndio.h: No such file or directory
|
---|
325 | 1 | #include <sndio.h>
|
---|
326 | | ^~~~~~~~~
|
---|
327 | compilation terminated.
|
---|
328 | return code: 1
|
---|
329 |
|
---|
330 |
|
---|
331 | #include <string.h>
|
---|
332 | #include <zlib.h>
|
---|
333 | int main(void) { return strcmp(ZLIB_VERSION, zlibVersion()); }
|
---|
334 |
|
---|
335 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic -Wno-address-of-packed-member -O2 -Wuninitialized -fPIC ./scummvm-conf.cpp -o ./scummvm-conf -lz
|
---|
336 | return code: 0
|
---|
337 |
|
---|
338 |
|
---|
339 | typedef signed char int8_t;
|
---|
340 | typedef signed short int16_t;
|
---|
341 | typedef signed int int32_t;
|
---|
342 |
|
---|
343 | typedef unsigned char uint8_t;
|
---|
344 | typedef unsigned short uint16_t;
|
---|
345 | typedef unsigned int uint32_t;
|
---|
346 |
|
---|
347 | extern "C" {
|
---|
348 | #include <mpeg2dec/mpeg2.h>
|
---|
349 | }
|
---|
350 |
|
---|
351 | int main(void) {
|
---|
352 | #if MPEG2_RELEASE < MPEG2_VERSION(0, 4, 0)
|
---|
353 | #error libmpeg2 version too low
|
---|
354 | #endif
|
---|
355 |
|
---|
356 | /* mpeg2_state_t first appears in 0.4.0 */
|
---|
357 | mpeg2_state_t state;
|
---|
358 |
|
---|
359 | return 0;
|
---|
360 | }
|
---|
361 |
|
---|
362 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic -Wno-address-of-packed-member -O2 -Wuninitialized -fPIC ./scummvm-conf.cpp -o ./scummvm-conf -lmpeg2
|
---|
363 | return code: 0
|
---|
364 |
|
---|
365 |
|
---|
366 | typedef signed char int8_t;
|
---|
367 | typedef signed short int16_t;
|
---|
368 | typedef signed int int32_t;
|
---|
369 |
|
---|
370 | typedef unsigned char uint8_t;
|
---|
371 | typedef unsigned short uint16_t;
|
---|
372 | typedef unsigned int uint32_t;
|
---|
373 |
|
---|
374 | extern "C" {
|
---|
375 | #include <a52dec/a52.h>
|
---|
376 | }
|
---|
377 |
|
---|
378 | int main(void) {
|
---|
379 | a52_state_t *state = a52_init(0);
|
---|
380 | a52_free(state);
|
---|
381 | return 0;
|
---|
382 | }
|
---|
383 |
|
---|
384 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic -Wno-address-of-packed-member -O2 -Wuninitialized -fPIC ./scummvm-conf.cpp -o ./scummvm-conf -la52
|
---|
385 | return code: 0
|
---|
386 |
|
---|
387 |
|
---|
388 | #include <curl/curl.h>
|
---|
389 | int main(int argc, char *argv[]) {
|
---|
390 | int x;
|
---|
391 | curl_easy_setopt(NULL,CURLOPT_URL,NULL);
|
---|
392 | x=CURL_ERROR_SIZE;
|
---|
393 | x=CURLOPT_WRITEFUNCTION;
|
---|
394 | x=CURLOPT_WRITEDATA;
|
---|
395 | x=CURLOPT_ERRORBUFFER;
|
---|
396 | x=CURLOPT_STDERR;
|
---|
397 | x=CURLOPT_VERBOSE;
|
---|
398 |
|
---|
399 | curl_version_info_data *data = curl_version_info(CURLVERSION_NOW);
|
---|
400 | if (data->features & CURL_VERSION_SSL)
|
---|
401 | return 0;
|
---|
402 | return 1;
|
---|
403 | }
|
---|
404 |
|
---|
405 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic -Wno-address-of-packed-member -O2 -Wuninitialized -fPIC ./scummvm-conf.cpp -o ./scummvm-conf -lcurl
|
---|
406 | return code: 0
|
---|
407 |
|
---|
408 |
|
---|
409 | #include <fluidsynth.h>
|
---|
410 | int main(void) { delete_fluid_settings(new_fluid_settings()); return 0; }
|
---|
411 |
|
---|
412 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic -Wno-address-of-packed-member -O2 -Wuninitialized -fPIC ./scummvm-conf.cpp -o ./scummvm-conf -lfluidsynth
|
---|
413 | return code: 0
|
---|
414 |
|
---|
415 |
|
---|
416 | #include <fluidlite.h>
|
---|
417 | int main(void) { delete_fluid_settings(new_fluid_settings()); return 0; }
|
---|
418 |
|
---|
419 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic -Wno-address-of-packed-member -O2 -Wuninitialized -fPIC ./scummvm-conf.cpp -o ./scummvm-conf -lfluidlite
|
---|
420 | ./scummvm-conf.cpp:1:10: fatal error: fluidlite.h: No such file or directory
|
---|
421 | 1 | #include <fluidlite.h>
|
---|
422 | | ^~~~~~~~~~~~~
|
---|
423 | compilation terminated.
|
---|
424 | return code: 1
|
---|
425 |
|
---|
426 | Package unity was not found in the pkg-config search path.
|
---|
427 | Perhaps you should add the directory containing `unity.pc'
|
---|
428 | to the PKG_CONFIG_PATH environment variable
|
---|
429 | Package 'unity', required by 'virtual:world', not found
|
---|
430 | Package unity was not found in the pkg-config search path.
|
---|
431 | Perhaps you should add the directory containing `unity.pc'
|
---|
432 | to the PKG_CONFIG_PATH environment variable
|
---|
433 | Package 'unity', required by 'virtual:world', not found
|
---|
434 |
|
---|
435 | #include <unity.h>
|
---|
436 | int main(void) {
|
---|
437 | unity_launcher_entry_get_for_desktop_id("scummvm.desktop");
|
---|
438 | return 0;
|
---|
439 | }
|
---|
440 |
|
---|
441 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic -Wno-address-of-packed-member -O2 -Wuninitialized -fPIC ./scummvm-conf.cpp -o ./scummvm-conf
|
---|
442 | ./scummvm-conf.cpp:1:10: fatal error: unity.h: No such file or directory
|
---|
443 | 1 | #include <unity.h>
|
---|
444 | | ^~~~~~~~~
|
---|
445 | compilation terminated.
|
---|
446 | return code: 1
|
---|
447 |
|
---|
448 |
|
---|
449 | #include <gtk/gtk.h>
|
---|
450 | int main(void) {
|
---|
451 | gtk_init_check(NULL, NULL);
|
---|
452 | return 0;
|
---|
453 | }
|
---|
454 |
|
---|
455 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic -Wno-address-of-packed-member -O2 -Wuninitialized -fPIC ./scummvm-conf.cpp -o ./scummvm-conf -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -pthread -lgtk-3 -lgdk-3 -lz -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0
|
---|
456 | return code: 0
|
---|
457 |
|
---|
458 |
|
---|
459 | #include <ft2build.h>
|
---|
460 | #include FT_FREETYPE_H
|
---|
461 |
|
---|
462 | int main(int argc, char *argv[]) {
|
---|
463 | FT_Library library;
|
---|
464 | FT_Error error = FT_Init_FreeType(&library);
|
---|
465 | FT_Done_FreeType(library);
|
---|
466 | }
|
---|
467 |
|
---|
468 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic -Wno-address-of-packed-member -O2 -Wuninitialized -fPIC -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -pthread ./scummvm-conf.cpp -o ./scummvm-conf -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -lfreetype
|
---|
469 | return code: 0
|
---|
470 |
|
---|
471 |
|
---|
472 | #include <linux/cdrom.h>
|
---|
473 | #include <sys/sysmacros.h>
|
---|
474 | #include <sys/types.h>
|
---|
475 | int main(void) {
|
---|
476 | int x = CDROMREADAUDIO;
|
---|
477 | dev_t dev;
|
---|
478 | return major(dev) + x;
|
---|
479 | }
|
---|
480 |
|
---|
481 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic -Wno-address-of-packed-member -O2 -Wuninitialized -fPIC -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -pthread -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread ./scummvm-conf.cpp -o ./scummvm-conf
|
---|
482 | return code: 0
|
---|
483 |
|
---|
484 |
|
---|
485 | #include <fribidi/fribidi.h>
|
---|
486 | int main(void) { return 0; }
|
---|
487 |
|
---|
488 | g++ -W -Wno-unused-parameter -Wno-empty-body -fno-operator-names -std=c++11 -pedantic -Wno-address-of-packed-member -O2 -Wuninitialized -fPIC -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/cloudproviders -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -pthread -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread ./scummvm-conf.cpp -o ./scummvm-conf -I/usr/include/fribidi -lfribidi
|
---|
489 | return code: 0
|
---|
490 |
|
---|