MartinEesmaa

Error build o266player mac os

May 20th, 2022
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 53.77 KB | None | 0 0
  1. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang ' works.
  2. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  3. Line: /Library/Developer/CommandLineTools/usr/bin/clang cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_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.  
  24. int main(int argc, char* argv[])
  25. {
  26. printf("%d%c", (argv != 0), (char)0x0a);
  27. return argc - 1;
  28. }
  29.  
  30. ------------------------------------------
  31. cmake_bootstrap_7313_test.c:18:10: fatal error: 'stdio.h' file not found
  32. #include <stdio.h>
  33. ^~~~~~~~~
  34. 1 error generated.
  35. Test failed to compile
  36. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -std=gnu11 ' works.
  37. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  38. Line: /Library/Developer/CommandLineTools/usr/bin/clang -std=gnu11 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_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.  
  59. int main(int argc, char* argv[])
  60. {
  61. printf("%d%c", (argv != 0), (char)0x0a);
  62. return argc - 1;
  63. }
  64.  
  65. ------------------------------------------
  66. cmake_bootstrap_7313_test.c:18:10: fatal error: 'stdio.h' file not found
  67. #include <stdio.h>
  68. ^~~~~~~~~
  69. 1 error generated.
  70. Test failed to compile
  71. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -std=gnu11 ' works.
  72. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  73. Line: /Library/Developer/CommandLineTools/usr/bin/clang -std=gnu11 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_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.  
  94. int main(int argc, char* argv[])
  95. {
  96. printf("%d%c", (argv != 0), (char)0x0a);
  97. return argc - 1;
  98. }
  99.  
  100. ------------------------------------------
  101. cmake_bootstrap_7313_test.c:18:10: fatal error: 'stdio.h' file not found
  102. #include <stdio.h>
  103. ^~~~~~~~~
  104. 1 error generated.
  105. Test failed to compile
  106. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -std=gnu11 ' works.
  107. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  108. Line: /Library/Developer/CommandLineTools/usr/bin/clang -std=gnu11 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_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.  
  129. int main(int argc, char* argv[])
  130. {
  131. printf("%d%c", (argv != 0), (char)0x0a);
  132. return argc - 1;
  133. }
  134.  
  135. ------------------------------------------
  136. cmake_bootstrap_7313_test.c:18:10: fatal error: 'stdio.h' file not found
  137. #include <stdio.h>
  138. ^~~~~~~~~
  139. 1 error generated.
  140. Test failed to compile
  141. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -h ' works.
  142. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  143. Line: /Library/Developer/CommandLineTools/usr/bin/clang -h cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_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.  
  164. int main(int argc, char* argv[])
  165. {
  166. printf("%d%c", (argv != 0), (char)0x0a);
  167. return argc - 1;
  168. }
  169.  
  170. ------------------------------------------
  171. clang: error: unknown argument: '-h'
  172. Test failed to compile
  173. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang std=c11,gnu ' works.
  174. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  175. Line: /Library/Developer/CommandLineTools/usr/bin/clang std=c11,gnu cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_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.  
  196. int main(int argc, char* argv[])
  197. {
  198. printf("%d%c", (argv != 0), (char)0x0a);
  199. return argc - 1;
  200. }
  201.  
  202. ------------------------------------------
  203. clang: error: no such file or directory: 'std=c11,gnu'; did you mean '-std=c11,gnu'?
  204. Test failed to compile
  205. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -std=gnu11 ' works.
  206. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  207. Line: /Library/Developer/CommandLineTools/usr/bin/clang -std=gnu11 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_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.  
  228. int main(int argc, char* argv[])
  229. {
  230. printf("%d%c", (argv != 0), (char)0x0a);
  231. return argc - 1;
  232. }
  233.  
  234. ------------------------------------------
  235. cmake_bootstrap_7313_test.c:18:10: fatal error: 'stdio.h' file not found
  236. #include <stdio.h>
  237. ^~~~~~~~~
  238. 1 error generated.
  239. Test failed to compile
  240. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -std=gnu1x ' works.
  241. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  242. Line: /Library/Developer/CommandLineTools/usr/bin/clang -std=gnu1x cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_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.  
  263. int main(int argc, char* argv[])
  264. {
  265. printf("%d%c", (argv != 0), (char)0x0a);
  266. return argc - 1;
  267. }
  268.  
  269. ------------------------------------------
  270. cmake_bootstrap_7313_test.c:18:10: fatal error: 'stdio.h' file not found
  271. #include <stdio.h>
  272. ^~~~~~~~~
  273. 1 error generated.
  274. Test failed to compile
  275. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -e ' works.
  276. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  277. Line: /Library/Developer/CommandLineTools/usr/bin/clang -e cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_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.  
  298. int main(int argc, char* argv[])
  299. {
  300. printf("%d%c", (argv != 0), (char)0x0a);
  301. return argc - 1;
  302. }
  303.  
  304. ------------------------------------------
  305. clang: error: no input files
  306. Test failed to compile
  307. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -Qstd=c11 ' works.
  308. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  309. Line: /Library/Developer/CommandLineTools/usr/bin/clang -Qstd=c11 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_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.  
  330. int main(int argc, char* argv[])
  331. {
  332. printf("%d%c", (argv != 0), (char)0x0a);
  333. return argc - 1;
  334. }
  335.  
  336. ------------------------------------------
  337. clang: error: unknown argument '-Qstd=c11'; did you mean '-std=c11'?
  338. Test failed to compile
  339. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -std=gnu11 ' works.
  340. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  341. Line: /Library/Developer/CommandLineTools/usr/bin/clang -std=gnu11 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_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.  
  362. int main(int argc, char* argv[])
  363. {
  364. printf("%d%c", (argv != 0), (char)0x0a);
  365. return argc - 1;
  366. }
  367.  
  368. ------------------------------------------
  369. cmake_bootstrap_7313_test.c:18:10: fatal error: 'stdio.h' file not found
  370. #include <stdio.h>
  371. ^~~~~~~~~
  372. 1 error generated.
  373. Test failed to compile
  374. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -c11 ' works.
  375. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  376. Line: /Library/Developer/CommandLineTools/usr/bin/clang -c11 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_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.  
  397. int main(int argc, char* argv[])
  398. {
  399. printf("%d%c", (argv != 0), (char)0x0a);
  400. return argc - 1;
  401. }
  402.  
  403. ------------------------------------------
  404. clang: error: unknown argument: '-c11'
  405. Test failed to compile
  406. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -std=c11 ' works.
  407. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  408. Line: /Library/Developer/CommandLineTools/usr/bin/clang -std=c11 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_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.  
  429. int main(int argc, char* argv[])
  430. {
  431. printf("%d%c", (argv != 0), (char)0x0a);
  432. return argc - 1;
  433. }
  434.  
  435. ------------------------------------------
  436. cmake_bootstrap_7313_test.c:18:10: fatal error: 'stdio.h' file not found
  437. #include <stdio.h>
  438. ^~~~~~~~~
  439. 1 error generated.
  440. Test failed to compile
  441. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -qlanglvl=extc1x ' works.
  442. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  443. Line: /Library/Developer/CommandLineTools/usr/bin/clang -qlanglvl=extc1x cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  444. ---------- file -----------------------
  445.  
  446. #ifdef __cplusplus
  447. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  448. #endif
  449.  
  450. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  451. #error "On AIX with GNU we need the -pthread flag."
  452. #endif
  453.  
  454. #if defined(__sun) && __STDC_VERSION__ < 199901L
  455. #error "On Solaris we need C99."
  456. #endif
  457.  
  458. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  459. #error "On HP-UX we need GCC 4.9 or higher."
  460. #endif
  461.  
  462. #include <stdio.h>
  463.  
  464. int main(int argc, char* argv[])
  465. {
  466. printf("%d%c", (argv != 0), (char)0x0a);
  467. return argc - 1;
  468. }
  469.  
  470. ------------------------------------------
  471. clang: error: unknown argument: '-qlanglvl=extc1x'
  472. Test failed to compile
  473. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -qlanglvl=extc1x ' works.
  474. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  475. Line: /Library/Developer/CommandLineTools/usr/bin/clang -qlanglvl=extc1x cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_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.  
  496. int main(int argc, char* argv[])
  497. {
  498. printf("%d%c", (argv != 0), (char)0x0a);
  499. return argc - 1;
  500. }
  501.  
  502. ------------------------------------------
  503. clang: error: unknown argument: '-qlanglvl=extc1x'
  504. Test failed to compile
  505. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -std=gnu11 ' works.
  506. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  507. Line: /Library/Developer/CommandLineTools/usr/bin/clang -std=gnu11 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_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.  
  528. int main(int argc, char* argv[])
  529. {
  530. printf("%d%c", (argv != 0), (char)0x0a);
  531. return argc - 1;
  532. }
  533.  
  534. ------------------------------------------
  535. cmake_bootstrap_7313_test.c:18:10: fatal error: 'stdio.h' file not found
  536. #include <stdio.h>
  537. ^~~~~~~~~
  538. 1 error generated.
  539. Test failed to compile
  540. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang ' works.
  541. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  542. Line: /Library/Developer/CommandLineTools/usr/bin/clang cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  543. ---------- file -----------------------
  544.  
  545. #ifdef __cplusplus
  546. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  547. #endif
  548.  
  549. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  550. #error "On AIX with GNU we need the -pthread flag."
  551. #endif
  552.  
  553. #if defined(__sun) && __STDC_VERSION__ < 199901L
  554. #error "On Solaris we need C99."
  555. #endif
  556.  
  557. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  558. #error "On HP-UX we need GCC 4.9 or higher."
  559. #endif
  560.  
  561. #include <stdio.h>
  562.  
  563. int main(int argc, char* argv[])
  564. {
  565. printf("%d%c", (argv != 0), (char)0x0a);
  566. return argc - 1;
  567. }
  568.  
  569. ------------------------------------------
  570. cmake_bootstrap_7313_test.c:18:10: fatal error: 'stdio.h' file not found
  571. #include <stdio.h>
  572. ^~~~~~~~~
  573. 1 error generated.
  574. Test failed to compile
  575. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -std=gnu99 ' works.
  576. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  577. Line: /Library/Developer/CommandLineTools/usr/bin/clang -std=gnu99 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  578. ---------- file -----------------------
  579.  
  580. #ifdef __cplusplus
  581. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  582. #endif
  583.  
  584. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  585. #error "On AIX with GNU we need the -pthread flag."
  586. #endif
  587.  
  588. #if defined(__sun) && __STDC_VERSION__ < 199901L
  589. #error "On Solaris we need C99."
  590. #endif
  591.  
  592. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  593. #error "On HP-UX we need GCC 4.9 or higher."
  594. #endif
  595.  
  596. #include <stdio.h>
  597.  
  598. int main(int argc, char* argv[])
  599. {
  600. printf("%d%c", (argv != 0), (char)0x0a);
  601. return argc - 1;
  602. }
  603.  
  604. ------------------------------------------
  605. cmake_bootstrap_7313_test.c:18:10: fatal error: 'stdio.h' file not found
  606. #include <stdio.h>
  607. ^~~~~~~~~
  608. 1 error generated.
  609. Test failed to compile
  610. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -std=gnu99 ' works.
  611. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  612. Line: /Library/Developer/CommandLineTools/usr/bin/clang -std=gnu99 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  613. ---------- file -----------------------
  614.  
  615. #ifdef __cplusplus
  616. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  617. #endif
  618.  
  619. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  620. #error "On AIX with GNU we need the -pthread flag."
  621. #endif
  622.  
  623. #if defined(__sun) && __STDC_VERSION__ < 199901L
  624. #error "On Solaris we need C99."
  625. #endif
  626.  
  627. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  628. #error "On HP-UX we need GCC 4.9 or higher."
  629. #endif
  630.  
  631. #include <stdio.h>
  632.  
  633. int main(int argc, char* argv[])
  634. {
  635. printf("%d%c", (argv != 0), (char)0x0a);
  636. return argc - 1;
  637. }
  638.  
  639. ------------------------------------------
  640. cmake_bootstrap_7313_test.c:18:10: fatal error: 'stdio.h' file not found
  641. #include <stdio.h>
  642. ^~~~~~~~~
  643. 1 error generated.
  644. Test failed to compile
  645. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -std=gnu99 ' works.
  646. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  647. Line: /Library/Developer/CommandLineTools/usr/bin/clang -std=gnu99 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  648. ---------- file -----------------------
  649.  
  650. #ifdef __cplusplus
  651. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  652. #endif
  653.  
  654. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  655. #error "On AIX with GNU we need the -pthread flag."
  656. #endif
  657.  
  658. #if defined(__sun) && __STDC_VERSION__ < 199901L
  659. #error "On Solaris we need C99."
  660. #endif
  661.  
  662. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  663. #error "On HP-UX we need GCC 4.9 or higher."
  664. #endif
  665.  
  666. #include <stdio.h>
  667.  
  668. int main(int argc, char* argv[])
  669. {
  670. printf("%d%c", (argv != 0), (char)0x0a);
  671. return argc - 1;
  672. }
  673.  
  674. ------------------------------------------
  675. cmake_bootstrap_7313_test.c:18:10: fatal error: 'stdio.h' file not found
  676. #include <stdio.h>
  677. ^~~~~~~~~
  678. 1 error generated.
  679. Test failed to compile
  680. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -h ' works.
  681. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  682. Line: /Library/Developer/CommandLineTools/usr/bin/clang -h cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  683. ---------- file -----------------------
  684.  
  685. #ifdef __cplusplus
  686. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  687. #endif
  688.  
  689. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  690. #error "On AIX with GNU we need the -pthread flag."
  691. #endif
  692.  
  693. #if defined(__sun) && __STDC_VERSION__ < 199901L
  694. #error "On Solaris we need C99."
  695. #endif
  696.  
  697. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  698. #error "On HP-UX we need GCC 4.9 or higher."
  699. #endif
  700.  
  701. #include <stdio.h>
  702.  
  703. int main(int argc, char* argv[])
  704. {
  705. printf("%d%c", (argv != 0), (char)0x0a);
  706. return argc - 1;
  707. }
  708.  
  709. ------------------------------------------
  710. clang: error: unknown argument: '-h'
  711. Test failed to compile
  712. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang c99,gnu ' works.
  713. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  714. Line: /Library/Developer/CommandLineTools/usr/bin/clang c99,gnu cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  715. ---------- file -----------------------
  716.  
  717. #ifdef __cplusplus
  718. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  719. #endif
  720.  
  721. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  722. #error "On AIX with GNU we need the -pthread flag."
  723. #endif
  724.  
  725. #if defined(__sun) && __STDC_VERSION__ < 199901L
  726. #error "On Solaris we need C99."
  727. #endif
  728.  
  729. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  730. #error "On HP-UX we need GCC 4.9 or higher."
  731. #endif
  732.  
  733. #include <stdio.h>
  734.  
  735. int main(int argc, char* argv[])
  736. {
  737. printf("%d%c", (argv != 0), (char)0x0a);
  738. return argc - 1;
  739. }
  740.  
  741. ------------------------------------------
  742. clang: error: no such file or directory: 'c99,gnu'
  743. Test failed to compile
  744. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -std=gnu99 ' works.
  745. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  746. Line: /Library/Developer/CommandLineTools/usr/bin/clang -std=gnu99 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  747. ---------- file -----------------------
  748.  
  749. #ifdef __cplusplus
  750. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  751. #endif
  752.  
  753. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  754. #error "On AIX with GNU we need the -pthread flag."
  755. #endif
  756.  
  757. #if defined(__sun) && __STDC_VERSION__ < 199901L
  758. #error "On Solaris we need C99."
  759. #endif
  760.  
  761. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  762. #error "On HP-UX we need GCC 4.9 or higher."
  763. #endif
  764.  
  765. #include <stdio.h>
  766.  
  767. int main(int argc, char* argv[])
  768. {
  769. printf("%d%c", (argv != 0), (char)0x0a);
  770. return argc - 1;
  771. }
  772.  
  773. ------------------------------------------
  774. cmake_bootstrap_7313_test.c:18:10: fatal error: 'stdio.h' file not found
  775. #include <stdio.h>
  776. ^~~~~~~~~
  777. 1 error generated.
  778. Test failed to compile
  779. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -e ' works.
  780. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  781. Line: /Library/Developer/CommandLineTools/usr/bin/clang -e cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  782. ---------- file -----------------------
  783.  
  784. #ifdef __cplusplus
  785. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  786. #endif
  787.  
  788. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  789. #error "On AIX with GNU we need the -pthread flag."
  790. #endif
  791.  
  792. #if defined(__sun) && __STDC_VERSION__ < 199901L
  793. #error "On Solaris we need C99."
  794. #endif
  795.  
  796. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  797. #error "On HP-UX we need GCC 4.9 or higher."
  798. #endif
  799.  
  800. #include <stdio.h>
  801.  
  802. int main(int argc, char* argv[])
  803. {
  804. printf("%d%c", (argv != 0), (char)0x0a);
  805. return argc - 1;
  806. }
  807.  
  808. ------------------------------------------
  809. clang: error: no input files
  810. Test failed to compile
  811. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -Qstd=c99 ' works.
  812. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  813. Line: /Library/Developer/CommandLineTools/usr/bin/clang -Qstd=c99 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  814. ---------- file -----------------------
  815.  
  816. #ifdef __cplusplus
  817. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  818. #endif
  819.  
  820. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  821. #error "On AIX with GNU we need the -pthread flag."
  822. #endif
  823.  
  824. #if defined(__sun) && __STDC_VERSION__ < 199901L
  825. #error "On Solaris we need C99."
  826. #endif
  827.  
  828. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  829. #error "On HP-UX we need GCC 4.9 or higher."
  830. #endif
  831.  
  832. #include <stdio.h>
  833.  
  834. int main(int argc, char* argv[])
  835. {
  836. printf("%d%c", (argv != 0), (char)0x0a);
  837. return argc - 1;
  838. }
  839.  
  840. ------------------------------------------
  841. clang: error: unknown argument '-Qstd=c99'; did you mean '-std=c99'?
  842. Test failed to compile
  843. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -std=gnu99 ' works.
  844. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  845. Line: /Library/Developer/CommandLineTools/usr/bin/clang -std=gnu99 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  846. ---------- file -----------------------
  847.  
  848. #ifdef __cplusplus
  849. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  850. #endif
  851.  
  852. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  853. #error "On AIX with GNU we need the -pthread flag."
  854. #endif
  855.  
  856. #if defined(__sun) && __STDC_VERSION__ < 199901L
  857. #error "On Solaris we need C99."
  858. #endif
  859.  
  860. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  861. #error "On HP-UX we need GCC 4.9 or higher."
  862. #endif
  863.  
  864. #include <stdio.h>
  865.  
  866. int main(int argc, char* argv[])
  867. {
  868. printf("%d%c", (argv != 0), (char)0x0a);
  869. return argc - 1;
  870. }
  871.  
  872. ------------------------------------------
  873. cmake_bootstrap_7313_test.c:18:10: fatal error: 'stdio.h' file not found
  874. #include <stdio.h>
  875. ^~~~~~~~~
  876. 1 error generated.
  877. Test failed to compile
  878. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -c99 ' works.
  879. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  880. Line: /Library/Developer/CommandLineTools/usr/bin/clang -c99 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  881. ---------- file -----------------------
  882.  
  883. #ifdef __cplusplus
  884. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  885. #endif
  886.  
  887. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  888. #error "On AIX with GNU we need the -pthread flag."
  889. #endif
  890.  
  891. #if defined(__sun) && __STDC_VERSION__ < 199901L
  892. #error "On Solaris we need C99."
  893. #endif
  894.  
  895. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  896. #error "On HP-UX we need GCC 4.9 or higher."
  897. #endif
  898.  
  899. #include <stdio.h>
  900.  
  901. int main(int argc, char* argv[])
  902. {
  903. printf("%d%c", (argv != 0), (char)0x0a);
  904. return argc - 1;
  905. }
  906.  
  907. ------------------------------------------
  908. clang: error: unknown argument: '-c99'
  909. Test failed to compile
  910. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -std=c99 ' works.
  911. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  912. Line: /Library/Developer/CommandLineTools/usr/bin/clang -std=c99 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  913. ---------- file -----------------------
  914.  
  915. #ifdef __cplusplus
  916. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  917. #endif
  918.  
  919. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  920. #error "On AIX with GNU we need the -pthread flag."
  921. #endif
  922.  
  923. #if defined(__sun) && __STDC_VERSION__ < 199901L
  924. #error "On Solaris we need C99."
  925. #endif
  926.  
  927. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  928. #error "On HP-UX we need GCC 4.9 or higher."
  929. #endif
  930.  
  931. #include <stdio.h>
  932.  
  933. int main(int argc, char* argv[])
  934. {
  935. printf("%d%c", (argv != 0), (char)0x0a);
  936. return argc - 1;
  937. }
  938.  
  939. ------------------------------------------
  940. cmake_bootstrap_7313_test.c:18:10: fatal error: 'stdio.h' file not found
  941. #include <stdio.h>
  942. ^~~~~~~~~
  943. 1 error generated.
  944. Test failed to compile
  945. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -xc99 ' works.
  946. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  947. Line: /Library/Developer/CommandLineTools/usr/bin/clang -xc99 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  948. ---------- file -----------------------
  949.  
  950. #ifdef __cplusplus
  951. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  952. #endif
  953.  
  954. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  955. #error "On AIX with GNU we need the -pthread flag."
  956. #endif
  957.  
  958. #if defined(__sun) && __STDC_VERSION__ < 199901L
  959. #error "On Solaris we need C99."
  960. #endif
  961.  
  962. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  963. #error "On HP-UX we need GCC 4.9 or higher."
  964. #endif
  965.  
  966. #include <stdio.h>
  967.  
  968. int main(int argc, char* argv[])
  969. {
  970. printf("%d%c", (argv != 0), (char)0x0a);
  971. return argc - 1;
  972. }
  973.  
  974. ------------------------------------------
  975. clang: error: language not recognized: 'c99'
  976. Test failed to compile
  977. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang --c99 ' works.
  978. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  979. Line: /Library/Developer/CommandLineTools/usr/bin/clang --c99 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  980. ---------- file -----------------------
  981.  
  982. #ifdef __cplusplus
  983. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  984. #endif
  985.  
  986. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  987. #error "On AIX with GNU we need the -pthread flag."
  988. #endif
  989.  
  990. #if defined(__sun) && __STDC_VERSION__ < 199901L
  991. #error "On Solaris we need C99."
  992. #endif
  993.  
  994. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  995. #error "On HP-UX we need GCC 4.9 or higher."
  996. #endif
  997.  
  998. #include <stdio.h>
  999.  
  1000. int main(int argc, char* argv[])
  1001. {
  1002. printf("%d%c", (argv != 0), (char)0x0a);
  1003. return argc - 1;
  1004. }
  1005.  
  1006. ------------------------------------------
  1007. clang: error: unsupported option '--c99'
  1008. Test failed to compile
  1009. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang --relaxed_ansi ' works.
  1010. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  1011. Line: /Library/Developer/CommandLineTools/usr/bin/clang --relaxed_ansi cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  1012. ---------- file -----------------------
  1013.  
  1014. #ifdef __cplusplus
  1015. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  1016. #endif
  1017.  
  1018. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  1019. #error "On AIX with GNU we need the -pthread flag."
  1020. #endif
  1021.  
  1022. #if defined(__sun) && __STDC_VERSION__ < 199901L
  1023. #error "On Solaris we need C99."
  1024. #endif
  1025.  
  1026. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  1027. #error "On HP-UX we need GCC 4.9 or higher."
  1028. #endif
  1029.  
  1030. #include <stdio.h>
  1031.  
  1032. int main(int argc, char* argv[])
  1033. {
  1034. printf("%d%c", (argv != 0), (char)0x0a);
  1035. return argc - 1;
  1036. }
  1037.  
  1038. ------------------------------------------
  1039. clang: error: unsupported option '--relaxed_ansi'
  1040. Test failed to compile
  1041. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -qlanglvl=extc99 ' works.
  1042. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  1043. Line: /Library/Developer/CommandLineTools/usr/bin/clang -qlanglvl=extc99 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  1044. ---------- file -----------------------
  1045.  
  1046. #ifdef __cplusplus
  1047. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  1048. #endif
  1049.  
  1050. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  1051. #error "On AIX with GNU we need the -pthread flag."
  1052. #endif
  1053.  
  1054. #if defined(__sun) && __STDC_VERSION__ < 199901L
  1055. #error "On Solaris we need C99."
  1056. #endif
  1057.  
  1058. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  1059. #error "On HP-UX we need GCC 4.9 or higher."
  1060. #endif
  1061.  
  1062. #include <stdio.h>
  1063.  
  1064. int main(int argc, char* argv[])
  1065. {
  1066. printf("%d%c", (argv != 0), (char)0x0a);
  1067. return argc - 1;
  1068. }
  1069.  
  1070. ------------------------------------------
  1071. clang: error: unknown argument: '-qlanglvl=extc99'
  1072. Test failed to compile
  1073. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -std=gnu99 ' works.
  1074. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  1075. Line: /Library/Developer/CommandLineTools/usr/bin/clang -std=gnu99 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  1076. ---------- file -----------------------
  1077.  
  1078. #ifdef __cplusplus
  1079. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  1080. #endif
  1081.  
  1082. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  1083. #error "On AIX with GNU we need the -pthread flag."
  1084. #endif
  1085.  
  1086. #if defined(__sun) && __STDC_VERSION__ < 199901L
  1087. #error "On Solaris we need C99."
  1088. #endif
  1089.  
  1090. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  1091. #error "On HP-UX we need GCC 4.9 or higher."
  1092. #endif
  1093.  
  1094. #include <stdio.h>
  1095.  
  1096. int main(int argc, char* argv[])
  1097. {
  1098. printf("%d%c", (argv != 0), (char)0x0a);
  1099. return argc - 1;
  1100. }
  1101.  
  1102. ------------------------------------------
  1103. cmake_bootstrap_7313_test.c:18:10: fatal error: 'stdio.h' file not found
  1104. #include <stdio.h>
  1105. ^~~~~~~~~
  1106. 1 error generated.
  1107. Test failed to compile
  1108. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang ' works.
  1109. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  1110. Line: /Library/Developer/CommandLineTools/usr/bin/clang cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  1111. ---------- file -----------------------
  1112.  
  1113. #ifdef __cplusplus
  1114. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  1115. #endif
  1116.  
  1117. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  1118. #error "On AIX with GNU we need the -pthread flag."
  1119. #endif
  1120.  
  1121. #if defined(__sun) && __STDC_VERSION__ < 199901L
  1122. #error "On Solaris we need C99."
  1123. #endif
  1124.  
  1125. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  1126. #error "On HP-UX we need GCC 4.9 or higher."
  1127. #endif
  1128.  
  1129. #include <stdio.h>
  1130.  
  1131. int main(int argc, char* argv[])
  1132. {
  1133. printf("%d%c", (argv != 0), (char)0x0a);
  1134. return argc - 1;
  1135. }
  1136.  
  1137. ------------------------------------------
  1138. cmake_bootstrap_7313_test.c:18:10: fatal error: 'stdio.h' file not found
  1139. #include <stdio.h>
  1140. ^~~~~~~~~
  1141. 1 error generated.
  1142. Test failed to compile
  1143. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -std=gnu90 ' works.
  1144. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  1145. Line: /Library/Developer/CommandLineTools/usr/bin/clang -std=gnu90 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  1146. ---------- file -----------------------
  1147.  
  1148. #ifdef __cplusplus
  1149. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  1150. #endif
  1151.  
  1152. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  1153. #error "On AIX with GNU we need the -pthread flag."
  1154. #endif
  1155.  
  1156. #if defined(__sun) && __STDC_VERSION__ < 199901L
  1157. #error "On Solaris we need C99."
  1158. #endif
  1159.  
  1160. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  1161. #error "On HP-UX we need GCC 4.9 or higher."
  1162. #endif
  1163.  
  1164. #include <stdio.h>
  1165.  
  1166. int main(int argc, char* argv[])
  1167. {
  1168. printf("%d%c", (argv != 0), (char)0x0a);
  1169. return argc - 1;
  1170. }
  1171.  
  1172. ------------------------------------------
  1173. cmake_bootstrap_7313_test.c:18:10: fatal error: 'stdio.h' file not found
  1174. #include <stdio.h>
  1175. ^~~~~~~~~
  1176. 1 error generated.
  1177. Test failed to compile
  1178. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -std=gnu90 ' works.
  1179. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  1180. Line: /Library/Developer/CommandLineTools/usr/bin/clang -std=gnu90 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  1181. ---------- file -----------------------
  1182.  
  1183. #ifdef __cplusplus
  1184. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  1185. #endif
  1186.  
  1187. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  1188. #error "On AIX with GNU we need the -pthread flag."
  1189. #endif
  1190.  
  1191. #if defined(__sun) && __STDC_VERSION__ < 199901L
  1192. #error "On Solaris we need C99."
  1193. #endif
  1194.  
  1195. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  1196. #error "On HP-UX we need GCC 4.9 or higher."
  1197. #endif
  1198.  
  1199. #include <stdio.h>
  1200.  
  1201. int main(int argc, char* argv[])
  1202. {
  1203. printf("%d%c", (argv != 0), (char)0x0a);
  1204. return argc - 1;
  1205. }
  1206.  
  1207. ------------------------------------------
  1208. cmake_bootstrap_7313_test.c:18:10: fatal error: 'stdio.h' file not found
  1209. #include <stdio.h>
  1210. ^~~~~~~~~
  1211. 1 error generated.
  1212. Test failed to compile
  1213. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -std=gnu90 ' works.
  1214. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  1215. Line: /Library/Developer/CommandLineTools/usr/bin/clang -std=gnu90 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  1216. ---------- file -----------------------
  1217.  
  1218. #ifdef __cplusplus
  1219. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  1220. #endif
  1221.  
  1222. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  1223. #error "On AIX with GNU we need the -pthread flag."
  1224. #endif
  1225.  
  1226. #if defined(__sun) && __STDC_VERSION__ < 199901L
  1227. #error "On Solaris we need C99."
  1228. #endif
  1229.  
  1230. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  1231. #error "On HP-UX we need GCC 4.9 or higher."
  1232. #endif
  1233.  
  1234. #include <stdio.h>
  1235.  
  1236. int main(int argc, char* argv[])
  1237. {
  1238. printf("%d%c", (argv != 0), (char)0x0a);
  1239. return argc - 1;
  1240. }
  1241.  
  1242. ------------------------------------------
  1243. cmake_bootstrap_7313_test.c:18:10: fatal error: 'stdio.h' file not found
  1244. #include <stdio.h>
  1245. ^~~~~~~~~
  1246. 1 error generated.
  1247. Test failed to compile
  1248. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -h ' works.
  1249. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  1250. Line: /Library/Developer/CommandLineTools/usr/bin/clang -h cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  1251. ---------- file -----------------------
  1252.  
  1253. #ifdef __cplusplus
  1254. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  1255. #endif
  1256.  
  1257. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  1258. #error "On AIX with GNU we need the -pthread flag."
  1259. #endif
  1260.  
  1261. #if defined(__sun) && __STDC_VERSION__ < 199901L
  1262. #error "On Solaris we need C99."
  1263. #endif
  1264.  
  1265. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  1266. #error "On HP-UX we need GCC 4.9 or higher."
  1267. #endif
  1268.  
  1269. #include <stdio.h>
  1270.  
  1271. int main(int argc, char* argv[])
  1272. {
  1273. printf("%d%c", (argv != 0), (char)0x0a);
  1274. return argc - 1;
  1275. }
  1276.  
  1277. ------------------------------------------
  1278. clang: error: unknown argument: '-h'
  1279. Test failed to compile
  1280. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang noc99,gnu ' works.
  1281. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  1282. Line: /Library/Developer/CommandLineTools/usr/bin/clang noc99,gnu cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  1283. ---------- file -----------------------
  1284.  
  1285. #ifdef __cplusplus
  1286. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  1287. #endif
  1288.  
  1289. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  1290. #error "On AIX with GNU we need the -pthread flag."
  1291. #endif
  1292.  
  1293. #if defined(__sun) && __STDC_VERSION__ < 199901L
  1294. #error "On Solaris we need C99."
  1295. #endif
  1296.  
  1297. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  1298. #error "On HP-UX we need GCC 4.9 or higher."
  1299. #endif
  1300.  
  1301. #include <stdio.h>
  1302.  
  1303. int main(int argc, char* argv[])
  1304. {
  1305. printf("%d%c", (argv != 0), (char)0x0a);
  1306. return argc - 1;
  1307. }
  1308.  
  1309. ------------------------------------------
  1310. clang: error: no such file or directory: 'noc99,gnu'
  1311. Test failed to compile
  1312. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -std=gnu90 ' works.
  1313. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  1314. Line: /Library/Developer/CommandLineTools/usr/bin/clang -std=gnu90 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  1315. ---------- file -----------------------
  1316.  
  1317. #ifdef __cplusplus
  1318. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  1319. #endif
  1320.  
  1321. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  1322. #error "On AIX with GNU we need the -pthread flag."
  1323. #endif
  1324.  
  1325. #if defined(__sun) && __STDC_VERSION__ < 199901L
  1326. #error "On Solaris we need C99."
  1327. #endif
  1328.  
  1329. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  1330. #error "On HP-UX we need GCC 4.9 or higher."
  1331. #endif
  1332.  
  1333. #include <stdio.h>
  1334.  
  1335. int main(int argc, char* argv[])
  1336. {
  1337. printf("%d%c", (argv != 0), (char)0x0a);
  1338. return argc - 1;
  1339. }
  1340.  
  1341. ------------------------------------------
  1342. cmake_bootstrap_7313_test.c:18:10: fatal error: 'stdio.h' file not found
  1343. #include <stdio.h>
  1344. ^~~~~~~~~
  1345. 1 error generated.
  1346. Test failed to compile
  1347. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -std=gnu89 ' works.
  1348. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  1349. Line: /Library/Developer/CommandLineTools/usr/bin/clang -std=gnu89 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  1350. ---------- file -----------------------
  1351.  
  1352. #ifdef __cplusplus
  1353. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  1354. #endif
  1355.  
  1356. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  1357. #error "On AIX with GNU we need the -pthread flag."
  1358. #endif
  1359.  
  1360. #if defined(__sun) && __STDC_VERSION__ < 199901L
  1361. #error "On Solaris we need C99."
  1362. #endif
  1363.  
  1364. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  1365. #error "On HP-UX we need GCC 4.9 or higher."
  1366. #endif
  1367.  
  1368. #include <stdio.h>
  1369.  
  1370. int main(int argc, char* argv[])
  1371. {
  1372. printf("%d%c", (argv != 0), (char)0x0a);
  1373. return argc - 1;
  1374. }
  1375.  
  1376. ------------------------------------------
  1377. cmake_bootstrap_7313_test.c:18:10: fatal error: 'stdio.h' file not found
  1378. #include <stdio.h>
  1379. ^~~~~~~~~
  1380. 1 error generated.
  1381. Test failed to compile
  1382. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang --c89 ' works.
  1383. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  1384. Line: /Library/Developer/CommandLineTools/usr/bin/clang --c89 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  1385. ---------- file -----------------------
  1386.  
  1387. #ifdef __cplusplus
  1388. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  1389. #endif
  1390.  
  1391. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  1392. #error "On AIX with GNU we need the -pthread flag."
  1393. #endif
  1394.  
  1395. #if defined(__sun) && __STDC_VERSION__ < 199901L
  1396. #error "On Solaris we need C99."
  1397. #endif
  1398.  
  1399. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  1400. #error "On HP-UX we need GCC 4.9 or higher."
  1401. #endif
  1402.  
  1403. #include <stdio.h>
  1404.  
  1405. int main(int argc, char* argv[])
  1406. {
  1407. printf("%d%c", (argv != 0), (char)0x0a);
  1408. return argc - 1;
  1409. }
  1410.  
  1411. ------------------------------------------
  1412. clang: error: unsupported option '--c89'
  1413. Test failed to compile
  1414. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -e ' works.
  1415. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  1416. Line: /Library/Developer/CommandLineTools/usr/bin/clang -e cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  1417. ---------- file -----------------------
  1418.  
  1419. #ifdef __cplusplus
  1420. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  1421. #endif
  1422.  
  1423. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  1424. #error "On AIX with GNU we need the -pthread flag."
  1425. #endif
  1426.  
  1427. #if defined(__sun) && __STDC_VERSION__ < 199901L
  1428. #error "On Solaris we need C99."
  1429. #endif
  1430.  
  1431. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  1432. #error "On HP-UX we need GCC 4.9 or higher."
  1433. #endif
  1434.  
  1435. #include <stdio.h>
  1436.  
  1437. int main(int argc, char* argv[])
  1438. {
  1439. printf("%d%c", (argv != 0), (char)0x0a);
  1440. return argc - 1;
  1441. }
  1442.  
  1443. ------------------------------------------
  1444. clang: error: no input files
  1445. Test failed to compile
  1446. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -e ' works.
  1447. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  1448. Line: /Library/Developer/CommandLineTools/usr/bin/clang -e cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  1449. ---------- file -----------------------
  1450.  
  1451. #ifdef __cplusplus
  1452. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  1453. #endif
  1454.  
  1455. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  1456. #error "On AIX with GNU we need the -pthread flag."
  1457. #endif
  1458.  
  1459. #if defined(__sun) && __STDC_VERSION__ < 199901L
  1460. #error "On Solaris we need C99."
  1461. #endif
  1462.  
  1463. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  1464. #error "On HP-UX we need GCC 4.9 or higher."
  1465. #endif
  1466.  
  1467. #include <stdio.h>
  1468.  
  1469. int main(int argc, char* argv[])
  1470. {
  1471. printf("%d%c", (argv != 0), (char)0x0a);
  1472. return argc - 1;
  1473. }
  1474.  
  1475. ------------------------------------------
  1476. clang: error: no input files
  1477. Test failed to compile
  1478. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -Qstd=c89 ' works.
  1479. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  1480. Line: /Library/Developer/CommandLineTools/usr/bin/clang -Qstd=c89 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  1481. ---------- file -----------------------
  1482.  
  1483. #ifdef __cplusplus
  1484. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  1485. #endif
  1486.  
  1487. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  1488. #error "On AIX with GNU we need the -pthread flag."
  1489. #endif
  1490.  
  1491. #if defined(__sun) && __STDC_VERSION__ < 199901L
  1492. #error "On Solaris we need C99."
  1493. #endif
  1494.  
  1495. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  1496. #error "On HP-UX we need GCC 4.9 or higher."
  1497. #endif
  1498.  
  1499. #include <stdio.h>
  1500.  
  1501. int main(int argc, char* argv[])
  1502. {
  1503. printf("%d%c", (argv != 0), (char)0x0a);
  1504. return argc - 1;
  1505. }
  1506.  
  1507. ------------------------------------------
  1508. clang: error: unknown argument '-Qstd=c89'; did you mean '-std=c89'?
  1509. Test failed to compile
  1510. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -std=gnu89 ' works.
  1511. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  1512. Line: /Library/Developer/CommandLineTools/usr/bin/clang -std=gnu89 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_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.  
  1533. int main(int argc, char* argv[])
  1534. {
  1535. printf("%d%c", (argv != 0), (char)0x0a);
  1536. return argc - 1;
  1537. }
  1538.  
  1539. ------------------------------------------
  1540. cmake_bootstrap_7313_test.c:18:10: fatal error: 'stdio.h' file not found
  1541. #include <stdio.h>
  1542. ^~~~~~~~~
  1543. 1 error generated.
  1544. Test failed to compile
  1545. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -c89 ' works.
  1546. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  1547. Line: /Library/Developer/CommandLineTools/usr/bin/clang -c89 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  1548. ---------- file -----------------------
  1549.  
  1550. #ifdef __cplusplus
  1551. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  1552. #endif
  1553.  
  1554. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  1555. #error "On AIX with GNU we need the -pthread flag."
  1556. #endif
  1557.  
  1558. #if defined(__sun) && __STDC_VERSION__ < 199901L
  1559. #error "On Solaris we need C99."
  1560. #endif
  1561.  
  1562. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  1563. #error "On HP-UX we need GCC 4.9 or higher."
  1564. #endif
  1565.  
  1566. #include <stdio.h>
  1567.  
  1568. int main(int argc, char* argv[])
  1569. {
  1570. printf("%d%c", (argv != 0), (char)0x0a);
  1571. return argc - 1;
  1572. }
  1573.  
  1574. ------------------------------------------
  1575. clang: error: unknown argument: '-c89'
  1576. Test failed to compile
  1577. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -std=c89 ' works.
  1578. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  1579. Line: /Library/Developer/CommandLineTools/usr/bin/clang -std=c89 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  1580. ---------- file -----------------------
  1581.  
  1582. #ifdef __cplusplus
  1583. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  1584. #endif
  1585.  
  1586. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  1587. #error "On AIX with GNU we need the -pthread flag."
  1588. #endif
  1589.  
  1590. #if defined(__sun) && __STDC_VERSION__ < 199901L
  1591. #error "On Solaris we need C99."
  1592. #endif
  1593.  
  1594. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  1595. #error "On HP-UX we need GCC 4.9 or higher."
  1596. #endif
  1597.  
  1598. #include <stdio.h>
  1599.  
  1600. int main(int argc, char* argv[])
  1601. {
  1602. printf("%d%c", (argv != 0), (char)0x0a);
  1603. return argc - 1;
  1604. }
  1605.  
  1606. ------------------------------------------
  1607. cmake_bootstrap_7313_test.c:18:10: fatal error: 'stdio.h' file not found
  1608. #include <stdio.h>
  1609. ^~~~~~~~~
  1610. 1 error generated.
  1611. Test failed to compile
  1612. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang --c89 ' works.
  1613. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  1614. Line: /Library/Developer/CommandLineTools/usr/bin/clang --c89 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  1615. ---------- file -----------------------
  1616.  
  1617. #ifdef __cplusplus
  1618. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  1619. #endif
  1620.  
  1621. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  1622. #error "On AIX with GNU we need the -pthread flag."
  1623. #endif
  1624.  
  1625. #if defined(__sun) && __STDC_VERSION__ < 199901L
  1626. #error "On Solaris we need C99."
  1627. #endif
  1628.  
  1629. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  1630. #error "On HP-UX we need GCC 4.9 or higher."
  1631. #endif
  1632.  
  1633. #include <stdio.h>
  1634.  
  1635. int main(int argc, char* argv[])
  1636. {
  1637. printf("%d%c", (argv != 0), (char)0x0a);
  1638. return argc - 1;
  1639. }
  1640.  
  1641. ------------------------------------------
  1642. clang: error: unsupported option '--c89'
  1643. Test failed to compile
  1644. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang --relaxed_ansi ' works.
  1645. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  1646. Line: /Library/Developer/CommandLineTools/usr/bin/clang --relaxed_ansi cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  1647. ---------- file -----------------------
  1648.  
  1649. #ifdef __cplusplus
  1650. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  1651. #endif
  1652.  
  1653. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  1654. #error "On AIX with GNU we need the -pthread flag."
  1655. #endif
  1656.  
  1657. #if defined(__sun) && __STDC_VERSION__ < 199901L
  1658. #error "On Solaris we need C99."
  1659. #endif
  1660.  
  1661. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  1662. #error "On HP-UX we need GCC 4.9 or higher."
  1663. #endif
  1664.  
  1665. #include <stdio.h>
  1666.  
  1667. int main(int argc, char* argv[])
  1668. {
  1669. printf("%d%c", (argv != 0), (char)0x0a);
  1670. return argc - 1;
  1671. }
  1672.  
  1673. ------------------------------------------
  1674. clang: error: unsupported option '--relaxed_ansi'
  1675. Test failed to compile
  1676. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -qlanglvl=extc89 ' works.
  1677. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  1678. Line: /Library/Developer/CommandLineTools/usr/bin/clang -qlanglvl=extc89 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  1679. ---------- file -----------------------
  1680.  
  1681. #ifdef __cplusplus
  1682. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  1683. #endif
  1684.  
  1685. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  1686. #error "On AIX with GNU we need the -pthread flag."
  1687. #endif
  1688.  
  1689. #if defined(__sun) && __STDC_VERSION__ < 199901L
  1690. #error "On Solaris we need C99."
  1691. #endif
  1692.  
  1693. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  1694. #error "On HP-UX we need GCC 4.9 or higher."
  1695. #endif
  1696.  
  1697. #include <stdio.h>
  1698.  
  1699. int main(int argc, char* argv[])
  1700. {
  1701. printf("%d%c", (argv != 0), (char)0x0a);
  1702. return argc - 1;
  1703. }
  1704.  
  1705. ------------------------------------------
  1706. clang: error: unknown argument: '-qlanglvl=extc89'
  1707. Test failed to compile
  1708. Checking whether '/Library/Developer/CommandLineTools/usr/bin/clang -std=gnu89 ' works.
  1709. Try: /Library/Developer/CommandLineTools/usr/bin/clang
  1710. Line: /Library/Developer/CommandLineTools/usr/bin/clang -std=gnu89 cmake_bootstrap_7313_test.c -o cmake_bootstrap_7313_test
  1711. ---------- file -----------------------
  1712.  
  1713. #ifdef __cplusplus
  1714. # error "The CMAKE_C_COMPILER is set to a C++ compiler"
  1715. #endif
  1716.  
  1717. #if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
  1718. #error "On AIX with GNU we need the -pthread flag."
  1719. #endif
  1720.  
  1721. #if defined(__sun) && __STDC_VERSION__ < 199901L
  1722. #error "On Solaris we need C99."
  1723. #endif
  1724.  
  1725. #if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
  1726. #error "On HP-UX we need GCC 4.9 or higher."
  1727. #endif
  1728.  
  1729. #include <stdio.h>
  1730.  
  1731. int main(int argc, char* argv[])
  1732. {
  1733. printf("%d%c", (argv != 0), (char)0x0a);
  1734. return argc - 1;
  1735. }
  1736.  
  1737. ------------------------------------------
  1738. cmake_bootstrap_7313_test.c:18:10: fatal error: 'stdio.h' file not found
  1739. #include <stdio.h>
  1740. ^~~~~~~~~
  1741. 1 error generated.
  1742. Test failed to compile
Advertisement
Add Comment
Please, Sign In to add comment