Ticket #61839: cmake_bootstrap.log

File cmake_bootstrap.log, 59.8 KB (added by mf2k (Frank Schima), 3 years ago)
Line 
1Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64  ' works.
2Try: /usr/bin/clang
3Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64   cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
4----------  file   -----------------------
5
6#ifdef __cplusplus
7# error "The CMAKE_C_COMPILER is set to a C++ compiler"
8#endif
9
10#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
11#error "On AIX with GNU we need the -pthread flag."
12#endif
13
14#if defined(__sun) && __STDC_VERSION__ < 199901L
15#error "On Solaris we need C99."
16#endif
17
18#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
19#error "On HP-UX we need GCC 4.9 or higher."
20#endif
21
22#include <stdio.h>
23
24int main(int argc, char* argv[])
25{
26  printf("%d%c", (argv != 0), (char)0x0a);
27  return argc - 1;
28}
29
30------------------------------------------
31cmake_bootstrap_64725_test.c:18:10: fatal error: 'stdio.h' file not found
32#include <stdio.h>
33         ^~~~~~~~~
341 error generated.
35Test failed to compile
36Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu11 ' works.
37Try: /usr/bin/clang
38Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu11  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
39----------  file   -----------------------
40
41#ifdef __cplusplus
42# error "The CMAKE_C_COMPILER is set to a C++ compiler"
43#endif
44
45#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
46#error "On AIX with GNU we need the -pthread flag."
47#endif
48
49#if defined(__sun) && __STDC_VERSION__ < 199901L
50#error "On Solaris we need C99."
51#endif
52
53#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
54#error "On HP-UX we need GCC 4.9 or higher."
55#endif
56
57#include <stdio.h>
58
59int main(int argc, char* argv[])
60{
61  printf("%d%c", (argv != 0), (char)0x0a);
62  return argc - 1;
63}
64
65------------------------------------------
66cmake_bootstrap_64725_test.c:18:10: fatal error: 'stdio.h' file not found
67#include <stdio.h>
68         ^~~~~~~~~
691 error generated.
70Test failed to compile
71Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu11 ' works.
72Try: /usr/bin/clang
73Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu11  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
74----------  file   -----------------------
75
76#ifdef __cplusplus
77# error "The CMAKE_C_COMPILER is set to a C++ compiler"
78#endif
79
80#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
81#error "On AIX with GNU we need the -pthread flag."
82#endif
83
84#if defined(__sun) && __STDC_VERSION__ < 199901L
85#error "On Solaris we need C99."
86#endif
87
88#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
89#error "On HP-UX we need GCC 4.9 or higher."
90#endif
91
92#include <stdio.h>
93
94int main(int argc, char* argv[])
95{
96  printf("%d%c", (argv != 0), (char)0x0a);
97  return argc - 1;
98}
99
100------------------------------------------
101cmake_bootstrap_64725_test.c:18:10: fatal error: 'stdio.h' file not found
102#include <stdio.h>
103         ^~~~~~~~~
1041 error generated.
105Test failed to compile
106Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu11 ' works.
107Try: /usr/bin/clang
108Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu11  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
109----------  file   -----------------------
110
111#ifdef __cplusplus
112# error "The CMAKE_C_COMPILER is set to a C++ compiler"
113#endif
114
115#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
116#error "On AIX with GNU we need the -pthread flag."
117#endif
118
119#if defined(__sun) && __STDC_VERSION__ < 199901L
120#error "On Solaris we need C99."
121#endif
122
123#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
124#error "On HP-UX we need GCC 4.9 or higher."
125#endif
126
127#include <stdio.h>
128
129int main(int argc, char* argv[])
130{
131  printf("%d%c", (argv != 0), (char)0x0a);
132  return argc - 1;
133}
134
135------------------------------------------
136cmake_bootstrap_64725_test.c:18:10: fatal error: 'stdio.h' file not found
137#include <stdio.h>
138         ^~~~~~~~~
1391 error generated.
140Test failed to compile
141Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -h ' works.
142Try: /usr/bin/clang
143Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -h  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
144----------  file   -----------------------
145
146#ifdef __cplusplus
147# error "The CMAKE_C_COMPILER is set to a C++ compiler"
148#endif
149
150#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
151#error "On AIX with GNU we need the -pthread flag."
152#endif
153
154#if defined(__sun) && __STDC_VERSION__ < 199901L
155#error "On Solaris we need C99."
156#endif
157
158#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
159#error "On HP-UX we need GCC 4.9 or higher."
160#endif
161
162#include <stdio.h>
163
164int main(int argc, char* argv[])
165{
166  printf("%d%c", (argv != 0), (char)0x0a);
167  return argc - 1;
168}
169
170------------------------------------------
171clang: error: unknown argument: '-h'
172Test failed to compile
173Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 std=c11,gnu ' works.
174Try: /usr/bin/clang
175Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 std=c11,gnu  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
176----------  file   -----------------------
177
178#ifdef __cplusplus
179# error "The CMAKE_C_COMPILER is set to a C++ compiler"
180#endif
181
182#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
183#error "On AIX with GNU we need the -pthread flag."
184#endif
185
186#if defined(__sun) && __STDC_VERSION__ < 199901L
187#error "On Solaris we need C99."
188#endif
189
190#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
191#error "On HP-UX we need GCC 4.9 or higher."
192#endif
193
194#include <stdio.h>
195
196int main(int argc, char* argv[])
197{
198  printf("%d%c", (argv != 0), (char)0x0a);
199  return argc - 1;
200}
201
202------------------------------------------
203clang: error: no such file or directory: 'std=c11,gnu'; did you mean '-std=c11,gnu'?
204Test failed to compile
205Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu11 ' works.
206Try: /usr/bin/clang
207Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu11  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
208----------  file   -----------------------
209
210#ifdef __cplusplus
211# error "The CMAKE_C_COMPILER is set to a C++ compiler"
212#endif
213
214#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
215#error "On AIX with GNU we need the -pthread flag."
216#endif
217
218#if defined(__sun) && __STDC_VERSION__ < 199901L
219#error "On Solaris we need C99."
220#endif
221
222#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
223#error "On HP-UX we need GCC 4.9 or higher."
224#endif
225
226#include <stdio.h>
227
228int main(int argc, char* argv[])
229{
230  printf("%d%c", (argv != 0), (char)0x0a);
231  return argc - 1;
232}
233
234------------------------------------------
235cmake_bootstrap_64725_test.c:18:10: fatal error: 'stdio.h' file not found
236#include <stdio.h>
237         ^~~~~~~~~
2381 error generated.
239Test failed to compile
240Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu1x ' works.
241Try: /usr/bin/clang
242Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu1x  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
243----------  file   -----------------------
244
245#ifdef __cplusplus
246# error "The CMAKE_C_COMPILER is set to a C++ compiler"
247#endif
248
249#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
250#error "On AIX with GNU we need the -pthread flag."
251#endif
252
253#if defined(__sun) && __STDC_VERSION__ < 199901L
254#error "On Solaris we need C99."
255#endif
256
257#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
258#error "On HP-UX we need GCC 4.9 or higher."
259#endif
260
261#include <stdio.h>
262
263int main(int argc, char* argv[])
264{
265  printf("%d%c", (argv != 0), (char)0x0a);
266  return argc - 1;
267}
268
269------------------------------------------
270cmake_bootstrap_64725_test.c:18:10: fatal error: 'stdio.h' file not found
271#include <stdio.h>
272         ^~~~~~~~~
2731 error generated.
274Test failed to compile
275Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -e ' works.
276Try: /usr/bin/clang
277Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -e  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
278----------  file   -----------------------
279
280#ifdef __cplusplus
281# error "The CMAKE_C_COMPILER is set to a C++ compiler"
282#endif
283
284#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
285#error "On AIX with GNU we need the -pthread flag."
286#endif
287
288#if defined(__sun) && __STDC_VERSION__ < 199901L
289#error "On Solaris we need C99."
290#endif
291
292#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
293#error "On HP-UX we need GCC 4.9 or higher."
294#endif
295
296#include <stdio.h>
297
298int main(int argc, char* argv[])
299{
300  printf("%d%c", (argv != 0), (char)0x0a);
301  return argc - 1;
302}
303
304------------------------------------------
305clang: error: no input files
306Test failed to compile
307Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -Qstd=c11 ' works.
308Try: /usr/bin/clang
309Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -Qstd=c11  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
310----------  file   -----------------------
311
312#ifdef __cplusplus
313# error "The CMAKE_C_COMPILER is set to a C++ compiler"
314#endif
315
316#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
317#error "On AIX with GNU we need the -pthread flag."
318#endif
319
320#if defined(__sun) && __STDC_VERSION__ < 199901L
321#error "On Solaris we need C99."
322#endif
323
324#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
325#error "On HP-UX we need GCC 4.9 or higher."
326#endif
327
328#include <stdio.h>
329
330int main(int argc, char* argv[])
331{
332  printf("%d%c", (argv != 0), (char)0x0a);
333  return argc - 1;
334}
335
336------------------------------------------
337clang: error: unknown argument '-Qstd=c11'; did you mean '-std=c11'?
338Test failed to compile
339Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu11 ' works.
340Try: /usr/bin/clang
341Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu11  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
342----------  file   -----------------------
343
344#ifdef __cplusplus
345# error "The CMAKE_C_COMPILER is set to a C++ compiler"
346#endif
347
348#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
349#error "On AIX with GNU we need the -pthread flag."
350#endif
351
352#if defined(__sun) && __STDC_VERSION__ < 199901L
353#error "On Solaris we need C99."
354#endif
355
356#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
357#error "On HP-UX we need GCC 4.9 or higher."
358#endif
359
360#include <stdio.h>
361
362int main(int argc, char* argv[])
363{
364  printf("%d%c", (argv != 0), (char)0x0a);
365  return argc - 1;
366}
367
368------------------------------------------
369cmake_bootstrap_64725_test.c:18:10: fatal error: 'stdio.h' file not found
370#include <stdio.h>
371         ^~~~~~~~~
3721 error generated.
373Test failed to compile
374Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std:c11 ' works.
375Try: /usr/bin/clang
376Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std:c11  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
377----------  file   -----------------------
378
379#ifdef __cplusplus
380# error "The CMAKE_C_COMPILER is set to a C++ compiler"
381#endif
382
383#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
384#error "On AIX with GNU we need the -pthread flag."
385#endif
386
387#if defined(__sun) && __STDC_VERSION__ < 199901L
388#error "On Solaris we need C99."
389#endif
390
391#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
392#error "On HP-UX we need GCC 4.9 or higher."
393#endif
394
395#include <stdio.h>
396
397int main(int argc, char* argv[])
398{
399  printf("%d%c", (argv != 0), (char)0x0a);
400  return argc - 1;
401}
402
403------------------------------------------
404clang: error: unknown argument: '-std:c11'
405Test failed to compile
406Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -c11 ' works.
407Try: /usr/bin/clang
408Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -c11  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
409----------  file   -----------------------
410
411#ifdef __cplusplus
412# error "The CMAKE_C_COMPILER is set to a C++ compiler"
413#endif
414
415#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
416#error "On AIX with GNU we need the -pthread flag."
417#endif
418
419#if defined(__sun) && __STDC_VERSION__ < 199901L
420#error "On Solaris we need C99."
421#endif
422
423#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
424#error "On HP-UX we need GCC 4.9 or higher."
425#endif
426
427#include <stdio.h>
428
429int main(int argc, char* argv[])
430{
431  printf("%d%c", (argv != 0), (char)0x0a);
432  return argc - 1;
433}
434
435------------------------------------------
436clang: error: unknown argument: '-c11'
437Test failed to compile
438Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=c11 ' works.
439Try: /usr/bin/clang
440Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=c11  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
441----------  file   -----------------------
442
443#ifdef __cplusplus
444# error "The CMAKE_C_COMPILER is set to a C++ compiler"
445#endif
446
447#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
448#error "On AIX with GNU we need the -pthread flag."
449#endif
450
451#if defined(__sun) && __STDC_VERSION__ < 199901L
452#error "On Solaris we need C99."
453#endif
454
455#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
456#error "On HP-UX we need GCC 4.9 or higher."
457#endif
458
459#include <stdio.h>
460
461int main(int argc, char* argv[])
462{
463  printf("%d%c", (argv != 0), (char)0x0a);
464  return argc - 1;
465}
466
467------------------------------------------
468cmake_bootstrap_64725_test.c:18:10: fatal error: 'stdio.h' file not found
469#include <stdio.h>
470         ^~~~~~~~~
4711 error generated.
472Test failed to compile
473Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 --c11 ' works.
474Try: /usr/bin/clang
475Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 --c11  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
476----------  file   -----------------------
477
478#ifdef __cplusplus
479# error "The CMAKE_C_COMPILER is set to a C++ compiler"
480#endif
481
482#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
483#error "On AIX with GNU we need the -pthread flag."
484#endif
485
486#if defined(__sun) && __STDC_VERSION__ < 199901L
487#error "On Solaris we need C99."
488#endif
489
490#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
491#error "On HP-UX we need GCC 4.9 or higher."
492#endif
493
494#include <stdio.h>
495
496int main(int argc, char* argv[])
497{
498  printf("%d%c", (argv != 0), (char)0x0a);
499  return argc - 1;
500}
501
502------------------------------------------
503clang: error: unsupported option '--c11'
504Test failed to compile
505Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -qlanglvl=extc1x ' works.
506Try: /usr/bin/clang
507Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -qlanglvl=extc1x  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
508----------  file   -----------------------
509
510#ifdef __cplusplus
511# error "The CMAKE_C_COMPILER is set to a C++ compiler"
512#endif
513
514#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
515#error "On AIX with GNU we need the -pthread flag."
516#endif
517
518#if defined(__sun) && __STDC_VERSION__ < 199901L
519#error "On Solaris we need C99."
520#endif
521
522#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
523#error "On HP-UX we need GCC 4.9 or higher."
524#endif
525
526#include <stdio.h>
527
528int main(int argc, char* argv[])
529{
530  printf("%d%c", (argv != 0), (char)0x0a);
531  return argc - 1;
532}
533
534------------------------------------------
535clang: error: unknown argument: '-qlanglvl=extc1x'
536Test failed to compile
537Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -qlanglvl=extc1x ' works.
538Try: /usr/bin/clang
539Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -qlanglvl=extc1x  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
540----------  file   -----------------------
541
542#ifdef __cplusplus
543# error "The CMAKE_C_COMPILER is set to a C++ compiler"
544#endif
545
546#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
547#error "On AIX with GNU we need the -pthread flag."
548#endif
549
550#if defined(__sun) && __STDC_VERSION__ < 199901L
551#error "On Solaris we need C99."
552#endif
553
554#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
555#error "On HP-UX we need GCC 4.9 or higher."
556#endif
557
558#include <stdio.h>
559
560int main(int argc, char* argv[])
561{
562  printf("%d%c", (argv != 0), (char)0x0a);
563  return argc - 1;
564}
565
566------------------------------------------
567clang: error: unknown argument: '-qlanglvl=extc1x'
568Test failed to compile
569Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu11 ' works.
570Try: /usr/bin/clang
571Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu11  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
572----------  file   -----------------------
573
574#ifdef __cplusplus
575# error "The CMAKE_C_COMPILER is set to a C++ compiler"
576#endif
577
578#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
579#error "On AIX with GNU we need the -pthread flag."
580#endif
581
582#if defined(__sun) && __STDC_VERSION__ < 199901L
583#error "On Solaris we need C99."
584#endif
585
586#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
587#error "On HP-UX we need GCC 4.9 or higher."
588#endif
589
590#include <stdio.h>
591
592int main(int argc, char* argv[])
593{
594  printf("%d%c", (argv != 0), (char)0x0a);
595  return argc - 1;
596}
597
598------------------------------------------
599cmake_bootstrap_64725_test.c:18:10: fatal error: 'stdio.h' file not found
600#include <stdio.h>
601         ^~~~~~~~~
6021 error generated.
603Test failed to compile
604Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu++11 ' works.
605Try: /usr/bin/clang
606Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu++11  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
607----------  file   -----------------------
608
609#ifdef __cplusplus
610# error "The CMAKE_C_COMPILER is set to a C++ compiler"
611#endif
612
613#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
614#error "On AIX with GNU we need the -pthread flag."
615#endif
616
617#if defined(__sun) && __STDC_VERSION__ < 199901L
618#error "On Solaris we need C99."
619#endif
620
621#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
622#error "On HP-UX we need GCC 4.9 or higher."
623#endif
624
625#include <stdio.h>
626
627int main(int argc, char* argv[])
628{
629  printf("%d%c", (argv != 0), (char)0x0a);
630  return argc - 1;
631}
632
633------------------------------------------
634error: invalid argument '-std=gnu++11' not allowed with 'C'
635Test failed to compile
636Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu++0x ' works.
637Try: /usr/bin/clang
638Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu++0x  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
639----------  file   -----------------------
640
641#ifdef __cplusplus
642# error "The CMAKE_C_COMPILER is set to a C++ compiler"
643#endif
644
645#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
646#error "On AIX with GNU we need the -pthread flag."
647#endif
648
649#if defined(__sun) && __STDC_VERSION__ < 199901L
650#error "On Solaris we need C99."
651#endif
652
653#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
654#error "On HP-UX we need GCC 4.9 or higher."
655#endif
656
657#include <stdio.h>
658
659int main(int argc, char* argv[])
660{
661  printf("%d%c", (argv != 0), (char)0x0a);
662  return argc - 1;
663}
664
665------------------------------------------
666error: invalid argument '-std=gnu++0x' not allowed with 'C'
667Test failed to compile
668Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu++14 ' works.
669Try: /usr/bin/clang
670Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu++14  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
671----------  file   -----------------------
672
673#ifdef __cplusplus
674# error "The CMAKE_C_COMPILER is set to a C++ compiler"
675#endif
676
677#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
678#error "On AIX with GNU we need the -pthread flag."
679#endif
680
681#if defined(__sun) && __STDC_VERSION__ < 199901L
682#error "On Solaris we need C99."
683#endif
684
685#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
686#error "On HP-UX we need GCC 4.9 or higher."
687#endif
688
689#include <stdio.h>
690
691int main(int argc, char* argv[])
692{
693  printf("%d%c", (argv != 0), (char)0x0a);
694  return argc - 1;
695}
696
697------------------------------------------
698error: invalid argument '-std=gnu++14' not allowed with 'C'
699Test failed to compile
700Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64  ' works.
701Try: /usr/bin/clang
702Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64   cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
703----------  file   -----------------------
704
705#ifdef __cplusplus
706# error "The CMAKE_C_COMPILER is set to a C++ compiler"
707#endif
708
709#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
710#error "On AIX with GNU we need the -pthread flag."
711#endif
712
713#if defined(__sun) && __STDC_VERSION__ < 199901L
714#error "On Solaris we need C99."
715#endif
716
717#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
718#error "On HP-UX we need GCC 4.9 or higher."
719#endif
720
721#include <stdio.h>
722
723int main(int argc, char* argv[])
724{
725  printf("%d%c", (argv != 0), (char)0x0a);
726  return argc - 1;
727}
728
729------------------------------------------
730cmake_bootstrap_64725_test.c:18:10: fatal error: 'stdio.h' file not found
731#include <stdio.h>
732         ^~~~~~~~~
7331 error generated.
734Test failed to compile
735Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu99 ' works.
736Try: /usr/bin/clang
737Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu99  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
738----------  file   -----------------------
739
740#ifdef __cplusplus
741# error "The CMAKE_C_COMPILER is set to a C++ compiler"
742#endif
743
744#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
745#error "On AIX with GNU we need the -pthread flag."
746#endif
747
748#if defined(__sun) && __STDC_VERSION__ < 199901L
749#error "On Solaris we need C99."
750#endif
751
752#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
753#error "On HP-UX we need GCC 4.9 or higher."
754#endif
755
756#include <stdio.h>
757
758int main(int argc, char* argv[])
759{
760  printf("%d%c", (argv != 0), (char)0x0a);
761  return argc - 1;
762}
763
764------------------------------------------
765cmake_bootstrap_64725_test.c:18:10: fatal error: 'stdio.h' file not found
766#include <stdio.h>
767         ^~~~~~~~~
7681 error generated.
769Test failed to compile
770Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu99 ' works.
771Try: /usr/bin/clang
772Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu99  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
773----------  file   -----------------------
774
775#ifdef __cplusplus
776# error "The CMAKE_C_COMPILER is set to a C++ compiler"
777#endif
778
779#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
780#error "On AIX with GNU we need the -pthread flag."
781#endif
782
783#if defined(__sun) && __STDC_VERSION__ < 199901L
784#error "On Solaris we need C99."
785#endif
786
787#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
788#error "On HP-UX we need GCC 4.9 or higher."
789#endif
790
791#include <stdio.h>
792
793int main(int argc, char* argv[])
794{
795  printf("%d%c", (argv != 0), (char)0x0a);
796  return argc - 1;
797}
798
799------------------------------------------
800cmake_bootstrap_64725_test.c:18:10: fatal error: 'stdio.h' file not found
801#include <stdio.h>
802         ^~~~~~~~~
8031 error generated.
804Test failed to compile
805Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu99 ' works.
806Try: /usr/bin/clang
807Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu99  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
808----------  file   -----------------------
809
810#ifdef __cplusplus
811# error "The CMAKE_C_COMPILER is set to a C++ compiler"
812#endif
813
814#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
815#error "On AIX with GNU we need the -pthread flag."
816#endif
817
818#if defined(__sun) && __STDC_VERSION__ < 199901L
819#error "On Solaris we need C99."
820#endif
821
822#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
823#error "On HP-UX we need GCC 4.9 or higher."
824#endif
825
826#include <stdio.h>
827
828int main(int argc, char* argv[])
829{
830  printf("%d%c", (argv != 0), (char)0x0a);
831  return argc - 1;
832}
833
834------------------------------------------
835cmake_bootstrap_64725_test.c:18:10: fatal error: 'stdio.h' file not found
836#include <stdio.h>
837         ^~~~~~~~~
8381 error generated.
839Test failed to compile
840Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -h ' works.
841Try: /usr/bin/clang
842Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -h  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
843----------  file   -----------------------
844
845#ifdef __cplusplus
846# error "The CMAKE_C_COMPILER is set to a C++ compiler"
847#endif
848
849#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
850#error "On AIX with GNU we need the -pthread flag."
851#endif
852
853#if defined(__sun) && __STDC_VERSION__ < 199901L
854#error "On Solaris we need C99."
855#endif
856
857#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
858#error "On HP-UX we need GCC 4.9 or higher."
859#endif
860
861#include <stdio.h>
862
863int main(int argc, char* argv[])
864{
865  printf("%d%c", (argv != 0), (char)0x0a);
866  return argc - 1;
867}
868
869------------------------------------------
870clang: error: unknown argument: '-h'
871Test failed to compile
872Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 c99,gnu ' works.
873Try: /usr/bin/clang
874Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 c99,gnu  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
875----------  file   -----------------------
876
877#ifdef __cplusplus
878# error "The CMAKE_C_COMPILER is set to a C++ compiler"
879#endif
880
881#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
882#error "On AIX with GNU we need the -pthread flag."
883#endif
884
885#if defined(__sun) && __STDC_VERSION__ < 199901L
886#error "On Solaris we need C99."
887#endif
888
889#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
890#error "On HP-UX we need GCC 4.9 or higher."
891#endif
892
893#include <stdio.h>
894
895int main(int argc, char* argv[])
896{
897  printf("%d%c", (argv != 0), (char)0x0a);
898  return argc - 1;
899}
900
901------------------------------------------
902clang: error: no such file or directory: 'c99,gnu'
903Test failed to compile
904Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu99 ' works.
905Try: /usr/bin/clang
906Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu99  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
907----------  file   -----------------------
908
909#ifdef __cplusplus
910# error "The CMAKE_C_COMPILER is set to a C++ compiler"
911#endif
912
913#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
914#error "On AIX with GNU we need the -pthread flag."
915#endif
916
917#if defined(__sun) && __STDC_VERSION__ < 199901L
918#error "On Solaris we need C99."
919#endif
920
921#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
922#error "On HP-UX we need GCC 4.9 or higher."
923#endif
924
925#include <stdio.h>
926
927int main(int argc, char* argv[])
928{
929  printf("%d%c", (argv != 0), (char)0x0a);
930  return argc - 1;
931}
932
933------------------------------------------
934cmake_bootstrap_64725_test.c:18:10: fatal error: 'stdio.h' file not found
935#include <stdio.h>
936         ^~~~~~~~~
9371 error generated.
938Test failed to compile
939Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -e ' works.
940Try: /usr/bin/clang
941Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -e  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
942----------  file   -----------------------
943
944#ifdef __cplusplus
945# error "The CMAKE_C_COMPILER is set to a C++ compiler"
946#endif
947
948#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
949#error "On AIX with GNU we need the -pthread flag."
950#endif
951
952#if defined(__sun) && __STDC_VERSION__ < 199901L
953#error "On Solaris we need C99."
954#endif
955
956#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
957#error "On HP-UX we need GCC 4.9 or higher."
958#endif
959
960#include <stdio.h>
961
962int main(int argc, char* argv[])
963{
964  printf("%d%c", (argv != 0), (char)0x0a);
965  return argc - 1;
966}
967
968------------------------------------------
969clang: error: no input files
970Test failed to compile
971Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -Qstd=c99 ' works.
972Try: /usr/bin/clang
973Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -Qstd=c99  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
974----------  file   -----------------------
975
976#ifdef __cplusplus
977# error "The CMAKE_C_COMPILER is set to a C++ compiler"
978#endif
979
980#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
981#error "On AIX with GNU we need the -pthread flag."
982#endif
983
984#if defined(__sun) && __STDC_VERSION__ < 199901L
985#error "On Solaris we need C99."
986#endif
987
988#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
989#error "On HP-UX we need GCC 4.9 or higher."
990#endif
991
992#include <stdio.h>
993
994int main(int argc, char* argv[])
995{
996  printf("%d%c", (argv != 0), (char)0x0a);
997  return argc - 1;
998}
999
1000------------------------------------------
1001clang: error: unknown argument '-Qstd=c99'; did you mean '-std=c99'?
1002Test failed to compile
1003Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu99 ' works.
1004Try: /usr/bin/clang
1005Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu99  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
1006----------  file   -----------------------
1007
1008#ifdef __cplusplus
1009# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1010#endif
1011
1012#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1013#error "On AIX with GNU we need the -pthread flag."
1014#endif
1015
1016#if defined(__sun) && __STDC_VERSION__ < 199901L
1017#error "On Solaris we need C99."
1018#endif
1019
1020#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1021#error "On HP-UX we need GCC 4.9 or higher."
1022#endif
1023
1024#include <stdio.h>
1025
1026int main(int argc, char* argv[])
1027{
1028  printf("%d%c", (argv != 0), (char)0x0a);
1029  return argc - 1;
1030}
1031
1032------------------------------------------
1033cmake_bootstrap_64725_test.c:18:10: fatal error: 'stdio.h' file not found
1034#include <stdio.h>
1035         ^~~~~~~~~
10361 error generated.
1037Test failed to compile
1038Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -c99 ' works.
1039Try: /usr/bin/clang
1040Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -c99  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
1041----------  file   -----------------------
1042
1043#ifdef __cplusplus
1044# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1045#endif
1046
1047#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1048#error "On AIX with GNU we need the -pthread flag."
1049#endif
1050
1051#if defined(__sun) && __STDC_VERSION__ < 199901L
1052#error "On Solaris we need C99."
1053#endif
1054
1055#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1056#error "On HP-UX we need GCC 4.9 or higher."
1057#endif
1058
1059#include <stdio.h>
1060
1061int main(int argc, char* argv[])
1062{
1063  printf("%d%c", (argv != 0), (char)0x0a);
1064  return argc - 1;
1065}
1066
1067------------------------------------------
1068clang: error: unknown argument: '-c99'
1069Test failed to compile
1070Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=c99 ' works.
1071Try: /usr/bin/clang
1072Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=c99  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
1073----------  file   -----------------------
1074
1075#ifdef __cplusplus
1076# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1077#endif
1078
1079#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1080#error "On AIX with GNU we need the -pthread flag."
1081#endif
1082
1083#if defined(__sun) && __STDC_VERSION__ < 199901L
1084#error "On Solaris we need C99."
1085#endif
1086
1087#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1088#error "On HP-UX we need GCC 4.9 or higher."
1089#endif
1090
1091#include <stdio.h>
1092
1093int main(int argc, char* argv[])
1094{
1095  printf("%d%c", (argv != 0), (char)0x0a);
1096  return argc - 1;
1097}
1098
1099------------------------------------------
1100cmake_bootstrap_64725_test.c:18:10: fatal error: 'stdio.h' file not found
1101#include <stdio.h>
1102         ^~~~~~~~~
11031 error generated.
1104Test failed to compile
1105Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -xc99 ' works.
1106Try: /usr/bin/clang
1107Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -xc99  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
1108----------  file   -----------------------
1109
1110#ifdef __cplusplus
1111# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1112#endif
1113
1114#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1115#error "On AIX with GNU we need the -pthread flag."
1116#endif
1117
1118#if defined(__sun) && __STDC_VERSION__ < 199901L
1119#error "On Solaris we need C99."
1120#endif
1121
1122#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1123#error "On HP-UX we need GCC 4.9 or higher."
1124#endif
1125
1126#include <stdio.h>
1127
1128int main(int argc, char* argv[])
1129{
1130  printf("%d%c", (argv != 0), (char)0x0a);
1131  return argc - 1;
1132}
1133
1134------------------------------------------
1135clang: error: language not recognized: 'c99'
1136Test failed to compile
1137Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 --c99 ' works.
1138Try: /usr/bin/clang
1139Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 --c99  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
1140----------  file   -----------------------
1141
1142#ifdef __cplusplus
1143# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1144#endif
1145
1146#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1147#error "On AIX with GNU we need the -pthread flag."
1148#endif
1149
1150#if defined(__sun) && __STDC_VERSION__ < 199901L
1151#error "On Solaris we need C99."
1152#endif
1153
1154#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1155#error "On HP-UX we need GCC 4.9 or higher."
1156#endif
1157
1158#include <stdio.h>
1159
1160int main(int argc, char* argv[])
1161{
1162  printf("%d%c", (argv != 0), (char)0x0a);
1163  return argc - 1;
1164}
1165
1166------------------------------------------
1167clang: error: unsupported option '--c99'
1168Test failed to compile
1169Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -qlanglvl=extc99 ' works.
1170Try: /usr/bin/clang
1171Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -qlanglvl=extc99  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
1172----------  file   -----------------------
1173
1174#ifdef __cplusplus
1175# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1176#endif
1177
1178#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1179#error "On AIX with GNU we need the -pthread flag."
1180#endif
1181
1182#if defined(__sun) && __STDC_VERSION__ < 199901L
1183#error "On Solaris we need C99."
1184#endif
1185
1186#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1187#error "On HP-UX we need GCC 4.9 or higher."
1188#endif
1189
1190#include <stdio.h>
1191
1192int main(int argc, char* argv[])
1193{
1194  printf("%d%c", (argv != 0), (char)0x0a);
1195  return argc - 1;
1196}
1197
1198------------------------------------------
1199clang: error: unknown argument: '-qlanglvl=extc99'
1200Test failed to compile
1201Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu99 ' works.
1202Try: /usr/bin/clang
1203Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu99  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
1204----------  file   -----------------------
1205
1206#ifdef __cplusplus
1207# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1208#endif
1209
1210#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1211#error "On AIX with GNU we need the -pthread flag."
1212#endif
1213
1214#if defined(__sun) && __STDC_VERSION__ < 199901L
1215#error "On Solaris we need C99."
1216#endif
1217
1218#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1219#error "On HP-UX we need GCC 4.9 or higher."
1220#endif
1221
1222#include <stdio.h>
1223
1224int main(int argc, char* argv[])
1225{
1226  printf("%d%c", (argv != 0), (char)0x0a);
1227  return argc - 1;
1228}
1229
1230------------------------------------------
1231cmake_bootstrap_64725_test.c:18:10: fatal error: 'stdio.h' file not found
1232#include <stdio.h>
1233         ^~~~~~~~~
12341 error generated.
1235Test failed to compile
1236Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64  ' works.
1237Try: /usr/bin/clang
1238Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64   cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
1239----------  file   -----------------------
1240
1241#ifdef __cplusplus
1242# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1243#endif
1244
1245#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1246#error "On AIX with GNU we need the -pthread flag."
1247#endif
1248
1249#if defined(__sun) && __STDC_VERSION__ < 199901L
1250#error "On Solaris we need C99."
1251#endif
1252
1253#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1254#error "On HP-UX we need GCC 4.9 or higher."
1255#endif
1256
1257#include <stdio.h>
1258
1259int main(int argc, char* argv[])
1260{
1261  printf("%d%c", (argv != 0), (char)0x0a);
1262  return argc - 1;
1263}
1264
1265------------------------------------------
1266cmake_bootstrap_64725_test.c:18:10: fatal error: 'stdio.h' file not found
1267#include <stdio.h>
1268         ^~~~~~~~~
12691 error generated.
1270Test failed to compile
1271Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu90 ' works.
1272Try: /usr/bin/clang
1273Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu90  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
1274----------  file   -----------------------
1275
1276#ifdef __cplusplus
1277# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1278#endif
1279
1280#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1281#error "On AIX with GNU we need the -pthread flag."
1282#endif
1283
1284#if defined(__sun) && __STDC_VERSION__ < 199901L
1285#error "On Solaris we need C99."
1286#endif
1287
1288#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1289#error "On HP-UX we need GCC 4.9 or higher."
1290#endif
1291
1292#include <stdio.h>
1293
1294int main(int argc, char* argv[])
1295{
1296  printf("%d%c", (argv != 0), (char)0x0a);
1297  return argc - 1;
1298}
1299
1300------------------------------------------
1301cmake_bootstrap_64725_test.c:18:10: fatal error: 'stdio.h' file not found
1302#include <stdio.h>
1303         ^~~~~~~~~
13041 error generated.
1305Test failed to compile
1306Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu90 ' works.
1307Try: /usr/bin/clang
1308Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu90  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
1309----------  file   -----------------------
1310
1311#ifdef __cplusplus
1312# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1313#endif
1314
1315#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1316#error "On AIX with GNU we need the -pthread flag."
1317#endif
1318
1319#if defined(__sun) && __STDC_VERSION__ < 199901L
1320#error "On Solaris we need C99."
1321#endif
1322
1323#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1324#error "On HP-UX we need GCC 4.9 or higher."
1325#endif
1326
1327#include <stdio.h>
1328
1329int main(int argc, char* argv[])
1330{
1331  printf("%d%c", (argv != 0), (char)0x0a);
1332  return argc - 1;
1333}
1334
1335------------------------------------------
1336cmake_bootstrap_64725_test.c:18:10: fatal error: 'stdio.h' file not found
1337#include <stdio.h>
1338         ^~~~~~~~~
13391 error generated.
1340Test failed to compile
1341Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu90 ' works.
1342Try: /usr/bin/clang
1343Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu90  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
1344----------  file   -----------------------
1345
1346#ifdef __cplusplus
1347# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1348#endif
1349
1350#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1351#error "On AIX with GNU we need the -pthread flag."
1352#endif
1353
1354#if defined(__sun) && __STDC_VERSION__ < 199901L
1355#error "On Solaris we need C99."
1356#endif
1357
1358#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1359#error "On HP-UX we need GCC 4.9 or higher."
1360#endif
1361
1362#include <stdio.h>
1363
1364int main(int argc, char* argv[])
1365{
1366  printf("%d%c", (argv != 0), (char)0x0a);
1367  return argc - 1;
1368}
1369
1370------------------------------------------
1371cmake_bootstrap_64725_test.c:18:10: fatal error: 'stdio.h' file not found
1372#include <stdio.h>
1373         ^~~~~~~~~
13741 error generated.
1375Test failed to compile
1376Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -h ' works.
1377Try: /usr/bin/clang
1378Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -h  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
1379----------  file   -----------------------
1380
1381#ifdef __cplusplus
1382# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1383#endif
1384
1385#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1386#error "On AIX with GNU we need the -pthread flag."
1387#endif
1388
1389#if defined(__sun) && __STDC_VERSION__ < 199901L
1390#error "On Solaris we need C99."
1391#endif
1392
1393#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1394#error "On HP-UX we need GCC 4.9 or higher."
1395#endif
1396
1397#include <stdio.h>
1398
1399int main(int argc, char* argv[])
1400{
1401  printf("%d%c", (argv != 0), (char)0x0a);
1402  return argc - 1;
1403}
1404
1405------------------------------------------
1406clang: error: unknown argument: '-h'
1407Test failed to compile
1408Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 noc99,gnu ' works.
1409Try: /usr/bin/clang
1410Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 noc99,gnu  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
1411----------  file   -----------------------
1412
1413#ifdef __cplusplus
1414# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1415#endif
1416
1417#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1418#error "On AIX with GNU we need the -pthread flag."
1419#endif
1420
1421#if defined(__sun) && __STDC_VERSION__ < 199901L
1422#error "On Solaris we need C99."
1423#endif
1424
1425#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1426#error "On HP-UX we need GCC 4.9 or higher."
1427#endif
1428
1429#include <stdio.h>
1430
1431int main(int argc, char* argv[])
1432{
1433  printf("%d%c", (argv != 0), (char)0x0a);
1434  return argc - 1;
1435}
1436
1437------------------------------------------
1438clang: error: no such file or directory: 'noc99,gnu'
1439Test failed to compile
1440Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu90 ' works.
1441Try: /usr/bin/clang
1442Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu90  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
1443----------  file   -----------------------
1444
1445#ifdef __cplusplus
1446# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1447#endif
1448
1449#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1450#error "On AIX with GNU we need the -pthread flag."
1451#endif
1452
1453#if defined(__sun) && __STDC_VERSION__ < 199901L
1454#error "On Solaris we need C99."
1455#endif
1456
1457#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1458#error "On HP-UX we need GCC 4.9 or higher."
1459#endif
1460
1461#include <stdio.h>
1462
1463int main(int argc, char* argv[])
1464{
1465  printf("%d%c", (argv != 0), (char)0x0a);
1466  return argc - 1;
1467}
1468
1469------------------------------------------
1470cmake_bootstrap_64725_test.c:18:10: fatal error: 'stdio.h' file not found
1471#include <stdio.h>
1472         ^~~~~~~~~
14731 error generated.
1474Test failed to compile
1475Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu89 ' works.
1476Try: /usr/bin/clang
1477Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu89  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
1478----------  file   -----------------------
1479
1480#ifdef __cplusplus
1481# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1482#endif
1483
1484#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1485#error "On AIX with GNU we need the -pthread flag."
1486#endif
1487
1488#if defined(__sun) && __STDC_VERSION__ < 199901L
1489#error "On Solaris we need C99."
1490#endif
1491
1492#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1493#error "On HP-UX we need GCC 4.9 or higher."
1494#endif
1495
1496#include <stdio.h>
1497
1498int main(int argc, char* argv[])
1499{
1500  printf("%d%c", (argv != 0), (char)0x0a);
1501  return argc - 1;
1502}
1503
1504------------------------------------------
1505cmake_bootstrap_64725_test.c:18:10: fatal error: 'stdio.h' file not found
1506#include <stdio.h>
1507         ^~~~~~~~~
15081 error generated.
1509Test failed to compile
1510Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 --c89 ' works.
1511Try: /usr/bin/clang
1512Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 --c89  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
1513----------  file   -----------------------
1514
1515#ifdef __cplusplus
1516# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1517#endif
1518
1519#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1520#error "On AIX with GNU we need the -pthread flag."
1521#endif
1522
1523#if defined(__sun) && __STDC_VERSION__ < 199901L
1524#error "On Solaris we need C99."
1525#endif
1526
1527#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1528#error "On HP-UX we need GCC 4.9 or higher."
1529#endif
1530
1531#include <stdio.h>
1532
1533int main(int argc, char* argv[])
1534{
1535  printf("%d%c", (argv != 0), (char)0x0a);
1536  return argc - 1;
1537}
1538
1539------------------------------------------
1540clang: error: unsupported option '--c89'
1541Test failed to compile
1542Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -e ' works.
1543Try: /usr/bin/clang
1544Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -e  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
1545----------  file   -----------------------
1546
1547#ifdef __cplusplus
1548# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1549#endif
1550
1551#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1552#error "On AIX with GNU we need the -pthread flag."
1553#endif
1554
1555#if defined(__sun) && __STDC_VERSION__ < 199901L
1556#error "On Solaris we need C99."
1557#endif
1558
1559#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1560#error "On HP-UX we need GCC 4.9 or higher."
1561#endif
1562
1563#include <stdio.h>
1564
1565int main(int argc, char* argv[])
1566{
1567  printf("%d%c", (argv != 0), (char)0x0a);
1568  return argc - 1;
1569}
1570
1571------------------------------------------
1572clang: error: no input files
1573Test failed to compile
1574Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -e ' works.
1575Try: /usr/bin/clang
1576Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -e  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
1577----------  file   -----------------------
1578
1579#ifdef __cplusplus
1580# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1581#endif
1582
1583#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1584#error "On AIX with GNU we need the -pthread flag."
1585#endif
1586
1587#if defined(__sun) && __STDC_VERSION__ < 199901L
1588#error "On Solaris we need C99."
1589#endif
1590
1591#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1592#error "On HP-UX we need GCC 4.9 or higher."
1593#endif
1594
1595#include <stdio.h>
1596
1597int main(int argc, char* argv[])
1598{
1599  printf("%d%c", (argv != 0), (char)0x0a);
1600  return argc - 1;
1601}
1602
1603------------------------------------------
1604clang: error: no input files
1605Test failed to compile
1606Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -Qstd=c89 ' works.
1607Try: /usr/bin/clang
1608Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -Qstd=c89  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
1609----------  file   -----------------------
1610
1611#ifdef __cplusplus
1612# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1613#endif
1614
1615#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1616#error "On AIX with GNU we need the -pthread flag."
1617#endif
1618
1619#if defined(__sun) && __STDC_VERSION__ < 199901L
1620#error "On Solaris we need C99."
1621#endif
1622
1623#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1624#error "On HP-UX we need GCC 4.9 or higher."
1625#endif
1626
1627#include <stdio.h>
1628
1629int main(int argc, char* argv[])
1630{
1631  printf("%d%c", (argv != 0), (char)0x0a);
1632  return argc - 1;
1633}
1634
1635------------------------------------------
1636clang: error: unknown argument '-Qstd=c89'; did you mean '-std=c89'?
1637Test failed to compile
1638Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu89 ' works.
1639Try: /usr/bin/clang
1640Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu89  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
1641----------  file   -----------------------
1642
1643#ifdef __cplusplus
1644# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1645#endif
1646
1647#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1648#error "On AIX with GNU we need the -pthread flag."
1649#endif
1650
1651#if defined(__sun) && __STDC_VERSION__ < 199901L
1652#error "On Solaris we need C99."
1653#endif
1654
1655#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1656#error "On HP-UX we need GCC 4.9 or higher."
1657#endif
1658
1659#include <stdio.h>
1660
1661int main(int argc, char* argv[])
1662{
1663  printf("%d%c", (argv != 0), (char)0x0a);
1664  return argc - 1;
1665}
1666
1667------------------------------------------
1668cmake_bootstrap_64725_test.c:18:10: fatal error: 'stdio.h' file not found
1669#include <stdio.h>
1670         ^~~~~~~~~
16711 error generated.
1672Test failed to compile
1673Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -c89 ' works.
1674Try: /usr/bin/clang
1675Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -c89  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
1676----------  file   -----------------------
1677
1678#ifdef __cplusplus
1679# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1680#endif
1681
1682#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1683#error "On AIX with GNU we need the -pthread flag."
1684#endif
1685
1686#if defined(__sun) && __STDC_VERSION__ < 199901L
1687#error "On Solaris we need C99."
1688#endif
1689
1690#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1691#error "On HP-UX we need GCC 4.9 or higher."
1692#endif
1693
1694#include <stdio.h>
1695
1696int main(int argc, char* argv[])
1697{
1698  printf("%d%c", (argv != 0), (char)0x0a);
1699  return argc - 1;
1700}
1701
1702------------------------------------------
1703clang: error: unknown argument: '-c89'
1704Test failed to compile
1705Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=c89 ' works.
1706Try: /usr/bin/clang
1707Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=c89  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
1708----------  file   -----------------------
1709
1710#ifdef __cplusplus
1711# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1712#endif
1713
1714#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1715#error "On AIX with GNU we need the -pthread flag."
1716#endif
1717
1718#if defined(__sun) && __STDC_VERSION__ < 199901L
1719#error "On Solaris we need C99."
1720#endif
1721
1722#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1723#error "On HP-UX we need GCC 4.9 or higher."
1724#endif
1725
1726#include <stdio.h>
1727
1728int main(int argc, char* argv[])
1729{
1730  printf("%d%c", (argv != 0), (char)0x0a);
1731  return argc - 1;
1732}
1733
1734------------------------------------------
1735cmake_bootstrap_64725_test.c:18:10: fatal error: 'stdio.h' file not found
1736#include <stdio.h>
1737         ^~~~~~~~~
17381 error generated.
1739Test failed to compile
1740Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 --c89 ' works.
1741Try: /usr/bin/clang
1742Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 --c89  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
1743----------  file   -----------------------
1744
1745#ifdef __cplusplus
1746# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1747#endif
1748
1749#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1750#error "On AIX with GNU we need the -pthread flag."
1751#endif
1752
1753#if defined(__sun) && __STDC_VERSION__ < 199901L
1754#error "On Solaris we need C99."
1755#endif
1756
1757#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1758#error "On HP-UX we need GCC 4.9 or higher."
1759#endif
1760
1761#include <stdio.h>
1762
1763int main(int argc, char* argv[])
1764{
1765  printf("%d%c", (argv != 0), (char)0x0a);
1766  return argc - 1;
1767}
1768
1769------------------------------------------
1770clang: error: unsupported option '--c89'
1771Test failed to compile
1772Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 --relaxed_ansi ' works.
1773Try: /usr/bin/clang
1774Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 --relaxed_ansi  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
1775----------  file   -----------------------
1776
1777#ifdef __cplusplus
1778# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1779#endif
1780
1781#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1782#error "On AIX with GNU we need the -pthread flag."
1783#endif
1784
1785#if defined(__sun) && __STDC_VERSION__ < 199901L
1786#error "On Solaris we need C99."
1787#endif
1788
1789#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1790#error "On HP-UX we need GCC 4.9 or higher."
1791#endif
1792
1793#include <stdio.h>
1794
1795int main(int argc, char* argv[])
1796{
1797  printf("%d%c", (argv != 0), (char)0x0a);
1798  return argc - 1;
1799}
1800
1801------------------------------------------
1802clang: error: unsupported option '--relaxed_ansi'
1803Test failed to compile
1804Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -qlanglvl=extc89 ' works.
1805Try: /usr/bin/clang
1806Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -qlanglvl=extc89  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
1807----------  file   -----------------------
1808
1809#ifdef __cplusplus
1810# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1811#endif
1812
1813#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1814#error "On AIX with GNU we need the -pthread flag."
1815#endif
1816
1817#if defined(__sun) && __STDC_VERSION__ < 199901L
1818#error "On Solaris we need C99."
1819#endif
1820
1821#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1822#error "On HP-UX we need GCC 4.9 or higher."
1823#endif
1824
1825#include <stdio.h>
1826
1827int main(int argc, char* argv[])
1828{
1829  printf("%d%c", (argv != 0), (char)0x0a);
1830  return argc - 1;
1831}
1832
1833------------------------------------------
1834clang: error: unknown argument: '-qlanglvl=extc89'
1835Test failed to compile
1836Checking whether '/usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu89 ' works.
1837Try: /usr/bin/clang
1838Line: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk -arch x86_64 -std=gnu89  cmake_bootstrap_64725_test.c -o cmake_bootstrap_64725_test
1839----------  file   -----------------------
1840
1841#ifdef __cplusplus
1842# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1843#endif
1844
1845#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1846#error "On AIX with GNU we need the -pthread flag."
1847#endif
1848
1849#if defined(__sun) && __STDC_VERSION__ < 199901L
1850#error "On Solaris we need C99."
1851#endif
1852
1853#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1854#error "On HP-UX we need GCC 4.9 or higher."
1855#endif
1856
1857#include <stdio.h>
1858
1859int main(int argc, char* argv[])
1860{
1861  printf("%d%c", (argv != 0), (char)0x0a);
1862  return argc - 1;
1863}
1864
1865------------------------------------------
1866cmake_bootstrap_64725_test.c:18:10: fatal error: 'stdio.h' file not found
1867#include <stdio.h>
1868         ^~~~~~~~~
18691 error generated.
1870Test failed to compile