Ticket #58854: cmake_bootstrap.log

File cmake_bootstrap.log, 83.9 KB (added by jmroot (Joshua Root), 5 years ago)
Line 
1Checking whether '/opt/local/bin/clang-mp-3.7 -pipe -Os -I/opt/local/include/LegacySupport -I/opt/local/include/LegacySupport -arch x86_64  ' works.
2Try: /opt/local/bin/clang-mp-3.7
3Line: /opt/local/bin/clang-mp-3.7 -pipe -Os -I/opt/local/include/LegacySupport -I/opt/local/include/LegacySupport -arch x86_64   cmake_bootstrap_45609_test.c -o cmake_bootstrap_45609_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#include <stdio.h>
19
20int main(int argc, char* argv[])
21{
22  printf("%d%c", (argv != 0), (char)0x0a);
23  return argc - 1;
24}
25
26------------------------------------------
271
28Test succeeded
29Checking whether '/opt/local/bin/clang-mp-3.7 -pipe -Os -I/opt/local/include/LegacySupport -I/opt/local/include/LegacySupport -arch x86_64    ' works.
30Try: /opt/local/bin/clang-mp-3.7
31Line: /opt/local/bin/clang-mp-3.7 -pipe -Os -I/opt/local/include/LegacySupport -I/opt/local/include/LegacySupport -arch x86_64     cmake_bootstrap_45609_test.c -o cmake_bootstrap_45609_test
32----------  file   -----------------------
33
34#ifdef __cplusplus
35# error "The CMAKE_C_COMPILER is set to a C++ compiler"
36#endif
37
38#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
39#error "On AIX with GNU we need the -pthread flag."
40#endif
41
42#if defined(__sun) && __STDC_VERSION__ < 199901L
43#error "On Solaris we need C99."
44#endif
45
46#include <stdio.h>
47
48int main(int argc, char* argv[])
49{
50  printf("%d%c", (argv != 0), (char)0x0a);
51  return argc - 1;
52}
53
54------------------------------------------
551
56Test succeeded
57Checking whether '/opt/local/bin/clang-mp-3.7 -pipe -Os -I/opt/local/include/LegacySupport -I/opt/local/include/LegacySupport -arch x86_64      ' works.
58Try: /opt/local/bin/clang-mp-3.7
59Line: /opt/local/bin/clang-mp-3.7 -pipe -Os -I/opt/local/include/LegacySupport -I/opt/local/include/LegacySupport -arch x86_64       cmake_bootstrap_45609_test.c -o cmake_bootstrap_45609_test
60----------  file   -----------------------
61
62#ifdef __cplusplus
63# error "The CMAKE_C_COMPILER is set to a C++ compiler"
64#endif
65
66#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
67#error "On AIX with GNU we need the -pthread flag."
68#endif
69
70#if defined(__sun) && __STDC_VERSION__ < 199901L
71#error "On Solaris we need C99."
72#endif
73
74#include <stdio.h>
75
76int main(int argc, char* argv[])
77{
78  printf("%d%c", (argv != 0), (char)0x0a);
79  return argc - 1;
80}
81
82------------------------------------------
831
84Test succeeded
85Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64  ' works.
86Try: /opt/local/bin/clang++-mp-3.7
87Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64   cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
88----------  file   -----------------------
89
90#include <iostream>
91#include <memory>
92#include <unordered_map>
93
94#if __cplusplus < 201103L
95#error "Compiler is not in a mode aware of C++11."
96#endif
97
98#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
99#error "On AIX with GNU we need the -pthread flag."
100#endif
101
102#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
103#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
104#endif
105
106class Class
107{
108public:
109  int Get() const { return this->Member; }
110private:
111  int Member = 1;
112};
113int main()
114{
115  auto const c = std::unique_ptr<Class>(new Class);
116  std::cout << c->Get() << std::endl;
117  return 0;
118}
119
120------------------------------------------
121In file included from cmake_bootstrap_45609_test.cxx:4:
122In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/unordered_map:369:
123In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/__hash_table:19:
124In file included from /opt/local/include/LegacySupport/cmath:54:
125In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/cmath:301:
126/opt/local/include/LegacySupport/math.h:82:13: error: use of undeclared identifier 'sinf'
127  *__sinp = sinf(__x);
128            ^
129/opt/local/include/LegacySupport/math.h:83:13: error: use of undeclared identifier 'cosf'
130  *__cosp = cosf(__x);
131            ^
132/opt/local/include/LegacySupport/math.h:86:13: error: use of undeclared identifier 'sin'
133  *__sinp = sin(__x);
134            ^
135/opt/local/include/LegacySupport/math.h:87:13: error: use of undeclared identifier 'cos'
136  *__cosp = cos(__x);
137            ^
138cmake_bootstrap_45609_test.cxx:7:2: error: "Compiler is not in a mode aware of C++11."
139#error "Compiler is not in a mode aware of C++11."
140 ^
141cmake_bootstrap_45609_test.cxx:23:14: warning: in-class initialization of non-static data member is a C++11 extension [-Wc++11-extensions]
142  int Member = 1;
143             ^
144cmake_bootstrap_45609_test.cxx:27:3: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
145  auto const c = std::unique_ptr<Class>(new Class);
146  ^
1472 warnings and 5 errors generated.
148Test failed to compile
149Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++1z ' works.
150Try: /opt/local/bin/clang++-mp-3.7
151Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++1z  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
152----------  file   -----------------------
153
154#include <iostream>
155#include <memory>
156#include <unordered_map>
157
158#if __cplusplus < 201103L
159#error "Compiler is not in a mode aware of C++11."
160#endif
161
162#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
163#error "On AIX with GNU we need the -pthread flag."
164#endif
165
166#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
167#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
168#endif
169
170class Class
171{
172public:
173  int Get() const { return this->Member; }
174private:
175  int Member = 1;
176};
177int main()
178{
179  auto const c = std::unique_ptr<Class>(new Class);
180  std::cout << c->Get() << std::endl;
181  return 0;
182}
183
184------------------------------------------
185In file included from cmake_bootstrap_45609_test.cxx:4:
186In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/unordered_map:369:
187In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/__hash_table:19:
188In file included from /opt/local/include/LegacySupport/cmath:54:
189In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/cmath:301:
190/opt/local/include/LegacySupport/math.h:82:13: error: use of undeclared identifier 'sinf'
191  *__sinp = sinf(__x);
192            ^
193/opt/local/include/LegacySupport/math.h:83:13: error: use of undeclared identifier 'cosf'
194  *__cosp = cosf(__x);
195            ^
196/opt/local/include/LegacySupport/math.h:86:13: error: use of undeclared identifier 'sin'
197  *__sinp = sin(__x);
198            ^
199/opt/local/include/LegacySupport/math.h:87:13: error: use of undeclared identifier 'cos'
200  *__cosp = cos(__x);
201            ^
2024 errors generated.
203Test failed to compile
204Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++17 ' works.
205Try: /opt/local/bin/clang++-mp-3.7
206Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++17  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
207----------  file   -----------------------
208
209#include <iostream>
210#include <memory>
211#include <unordered_map>
212
213#if __cplusplus < 201103L
214#error "Compiler is not in a mode aware of C++11."
215#endif
216
217#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
218#error "On AIX with GNU we need the -pthread flag."
219#endif
220
221#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
222#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
223#endif
224
225class Class
226{
227public:
228  int Get() const { return this->Member; }
229private:
230  int Member = 1;
231};
232int main()
233{
234  auto const c = std::unique_ptr<Class>(new Class);
235  std::cout << c->Get() << std::endl;
236  return 0;
237}
238
239------------------------------------------
240error: invalid value 'gnu++17' in '-std=gnu++17'
241Test failed to compile
242Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++1z ' works.
243Try: /opt/local/bin/clang++-mp-3.7
244Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++1z  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
245----------  file   -----------------------
246
247#include <iostream>
248#include <memory>
249#include <unordered_map>
250
251#if __cplusplus < 201103L
252#error "Compiler is not in a mode aware of C++11."
253#endif
254
255#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
256#error "On AIX with GNU we need the -pthread flag."
257#endif
258
259#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
260#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
261#endif
262
263class Class
264{
265public:
266  int Get() const { return this->Member; }
267private:
268  int Member = 1;
269};
270int main()
271{
272  auto const c = std::unique_ptr<Class>(new Class);
273  std::cout << c->Get() << std::endl;
274  return 0;
275}
276
277------------------------------------------
278In file included from cmake_bootstrap_45609_test.cxx:4:
279In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/unordered_map:369:
280In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/__hash_table:19:
281In file included from /opt/local/include/LegacySupport/cmath:54:
282In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/cmath:301:
283/opt/local/include/LegacySupport/math.h:82:13: error: use of undeclared identifier 'sinf'
284  *__sinp = sinf(__x);
285            ^
286/opt/local/include/LegacySupport/math.h:83:13: error: use of undeclared identifier 'cosf'
287  *__cosp = cosf(__x);
288            ^
289/opt/local/include/LegacySupport/math.h:86:13: error: use of undeclared identifier 'sin'
290  *__sinp = sin(__x);
291            ^
292/opt/local/include/LegacySupport/math.h:87:13: error: use of undeclared identifier 'cos'
293  *__cosp = cos(__x);
294            ^
2954 errors generated.
296Test failed to compile
297Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std:c++17 ' works.
298Try: /opt/local/bin/clang++-mp-3.7
299Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std:c++17  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
300----------  file   -----------------------
301
302#include <iostream>
303#include <memory>
304#include <unordered_map>
305
306#if __cplusplus < 201103L
307#error "Compiler is not in a mode aware of C++11."
308#endif
309
310#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
311#error "On AIX with GNU we need the -pthread flag."
312#endif
313
314#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
315#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
316#endif
317
318class Class
319{
320public:
321  int Get() const { return this->Member; }
322private:
323  int Member = 1;
324};
325int main()
326{
327  auto const c = std::unique_ptr<Class>(new Class);
328  std::cout << c->Get() << std::endl;
329  return 0;
330}
331
332------------------------------------------
333clang: error: unknown argument: '-std:c++17'
334Test failed to compile
335Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std:c++latest ' works.
336Try: /opt/local/bin/clang++-mp-3.7
337Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std:c++latest  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
338----------  file   -----------------------
339
340#include <iostream>
341#include <memory>
342#include <unordered_map>
343
344#if __cplusplus < 201103L
345#error "Compiler is not in a mode aware of C++11."
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(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
353#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
354#endif
355
356class Class
357{
358public:
359  int Get() const { return this->Member; }
360private:
361  int Member = 1;
362};
363int main()
364{
365  auto const c = std::unique_ptr<Class>(new Class);
366  std::cout << c->Get() << std::endl;
367  return 0;
368}
369
370------------------------------------------
371clang: error: unknown argument: '-std:c++latest'
372Test failed to compile
373Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++17 ' works.
374Try: /opt/local/bin/clang++-mp-3.7
375Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++17  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
376----------  file   -----------------------
377
378#include <iostream>
379#include <memory>
380#include <unordered_map>
381
382#if __cplusplus < 201103L
383#error "Compiler is not in a mode aware of C++11."
384#endif
385
386#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
387#error "On AIX with GNU we need the -pthread flag."
388#endif
389
390#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
391#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
392#endif
393
394class Class
395{
396public:
397  int Get() const { return this->Member; }
398private:
399  int Member = 1;
400};
401int main()
402{
403  auto const c = std::unique_ptr<Class>(new Class);
404  std::cout << c->Get() << std::endl;
405  return 0;
406}
407
408------------------------------------------
409error: invalid value 'gnu++17' in '-std=gnu++17'
410Test failed to compile
411Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++1z ' works.
412Try: /opt/local/bin/clang++-mp-3.7
413Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++1z  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
414----------  file   -----------------------
415
416#include <iostream>
417#include <memory>
418#include <unordered_map>
419
420#if __cplusplus < 201103L
421#error "Compiler is not in a mode aware of C++11."
422#endif
423
424#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
425#error "On AIX with GNU we need the -pthread flag."
426#endif
427
428#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
429#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
430#endif
431
432class Class
433{
434public:
435  int Get() const { return this->Member; }
436private:
437  int Member = 1;
438};
439int main()
440{
441  auto const c = std::unique_ptr<Class>(new Class);
442  std::cout << c->Get() << std::endl;
443  return 0;
444}
445
446------------------------------------------
447In file included from cmake_bootstrap_45609_test.cxx:4:
448In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/unordered_map:369:
449In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/__hash_table:19:
450In file included from /opt/local/include/LegacySupport/cmath:54:
451In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/cmath:301:
452/opt/local/include/LegacySupport/math.h:82:13: error: use of undeclared identifier 'sinf'
453  *__sinp = sinf(__x);
454            ^
455/opt/local/include/LegacySupport/math.h:83:13: error: use of undeclared identifier 'cosf'
456  *__cosp = cosf(__x);
457            ^
458/opt/local/include/LegacySupport/math.h:86:13: error: use of undeclared identifier 'sin'
459  *__sinp = sin(__x);
460            ^
461/opt/local/include/LegacySupport/math.h:87:13: error: use of undeclared identifier 'cos'
462  *__cosp = cos(__x);
463            ^
4644 errors generated.
465Test failed to compile
466Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -Qstd=c++17 ' works.
467Try: /opt/local/bin/clang++-mp-3.7
468Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -Qstd=c++17  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
469----------  file   -----------------------
470
471#include <iostream>
472#include <memory>
473#include <unordered_map>
474
475#if __cplusplus < 201103L
476#error "Compiler is not in a mode aware of C++11."
477#endif
478
479#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
480#error "On AIX with GNU we need the -pthread flag."
481#endif
482
483#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
484#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
485#endif
486
487class Class
488{
489public:
490  int Get() const { return this->Member; }
491private:
492  int Member = 1;
493};
494int main()
495{
496  auto const c = std::unique_ptr<Class>(new Class);
497  std::cout << c->Get() << std::endl;
498  return 0;
499}
500
501------------------------------------------
502clang: error: unknown argument: '-Qstd=c++17'
503Test failed to compile
504Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++17 ' works.
505Try: /opt/local/bin/clang++-mp-3.7
506Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++17  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
507----------  file   -----------------------
508
509#include <iostream>
510#include <memory>
511#include <unordered_map>
512
513#if __cplusplus < 201103L
514#error "Compiler is not in a mode aware of C++11."
515#endif
516
517#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
518#error "On AIX with GNU we need the -pthread flag."
519#endif
520
521#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
522#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
523#endif
524
525class Class
526{
527public:
528  int Get() const { return this->Member; }
529private:
530  int Member = 1;
531};
532int main()
533{
534  auto const c = std::unique_ptr<Class>(new Class);
535  std::cout << c->Get() << std::endl;
536  return 0;
537}
538
539------------------------------------------
540error: invalid value 'gnu++17' in '-std=gnu++17'
541Test failed to compile
542Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std:c++17 ' works.
543Try: /opt/local/bin/clang++-mp-3.7
544Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std:c++17  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
545----------  file   -----------------------
546
547#include <iostream>
548#include <memory>
549#include <unordered_map>
550
551#if __cplusplus < 201103L
552#error "Compiler is not in a mode aware of C++11."
553#endif
554
555#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
556#error "On AIX with GNU we need the -pthread flag."
557#endif
558
559#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
560#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
561#endif
562
563class Class
564{
565public:
566  int Get() const { return this->Member; }
567private:
568  int Member = 1;
569};
570int main()
571{
572  auto const c = std::unique_ptr<Class>(new Class);
573  std::cout << c->Get() << std::endl;
574  return 0;
575}
576
577------------------------------------------
578clang: error: unknown argument: '-std:c++17'
579Test failed to compile
580Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std:c++latest ' works.
581Try: /opt/local/bin/clang++-mp-3.7
582Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std:c++latest  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
583----------  file   -----------------------
584
585#include <iostream>
586#include <memory>
587#include <unordered_map>
588
589#if __cplusplus < 201103L
590#error "Compiler is not in a mode aware of C++11."
591#endif
592
593#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
594#error "On AIX with GNU we need the -pthread flag."
595#endif
596
597#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
598#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
599#endif
600
601class Class
602{
603public:
604  int Get() const { return this->Member; }
605private:
606  int Member = 1;
607};
608int main()
609{
610  auto const c = std::unique_ptr<Class>(new Class);
611  std::cout << c->Get() << std::endl;
612  return 0;
613}
614
615------------------------------------------
616clang: error: unknown argument: '-std:c++latest'
617Test failed to compile
618Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 --c++17 ' works.
619Try: /opt/local/bin/clang++-mp-3.7
620Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 --c++17  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
621----------  file   -----------------------
622
623#include <iostream>
624#include <memory>
625#include <unordered_map>
626
627#if __cplusplus < 201103L
628#error "Compiler is not in a mode aware of C++11."
629#endif
630
631#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
632#error "On AIX with GNU we need the -pthread flag."
633#endif
634
635#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
636#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
637#endif
638
639class Class
640{
641public:
642  int Get() const { return this->Member; }
643private:
644  int Member = 1;
645};
646int main()
647{
648  auto const c = std::unique_ptr<Class>(new Class);
649  std::cout << c->Get() << std::endl;
650  return 0;
651}
652
653------------------------------------------
654clang: error: unsupported option '--c++17'
655Test failed to compile
656Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 --gnu_extensions ' works.
657Try: /opt/local/bin/clang++-mp-3.7
658Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 --gnu_extensions  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
659----------  file   -----------------------
660
661#include <iostream>
662#include <memory>
663#include <unordered_map>
664
665#if __cplusplus < 201103L
666#error "Compiler is not in a mode aware of C++11."
667#endif
668
669#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
670#error "On AIX with GNU we need the -pthread flag."
671#endif
672
673#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
674#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
675#endif
676
677class Class
678{
679public:
680  int Get() const { return this->Member; }
681private:
682  int Member = 1;
683};
684int main()
685{
686  auto const c = std::unique_ptr<Class>(new Class);
687  std::cout << c->Get() << std::endl;
688  return 0;
689}
690
691------------------------------------------
692clang: error: unsupported option '--gnu_extensions'
693Test failed to compile
694Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64  ' works.
695Try: /opt/local/bin/clang++-mp-3.7
696Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64   cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
697----------  file   -----------------------
698
699#include <iostream>
700#include <memory>
701#include <unordered_map>
702
703#if __cplusplus < 201103L
704#error "Compiler is not in a mode aware of C++11."
705#endif
706
707#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
708#error "On AIX with GNU we need the -pthread flag."
709#endif
710
711#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
712#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
713#endif
714
715class Class
716{
717public:
718  int Get() const { return this->Member; }
719private:
720  int Member = 1;
721};
722int main()
723{
724  auto const c = std::unique_ptr<Class>(new Class);
725  std::cout << c->Get() << std::endl;
726  return 0;
727}
728
729------------------------------------------
730In file included from cmake_bootstrap_45609_test.cxx:4:
731In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/unordered_map:369:
732In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/__hash_table:19:
733In file included from /opt/local/include/LegacySupport/cmath:54:
734In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/cmath:301:
735/opt/local/include/LegacySupport/math.h:82:13: error: use of undeclared identifier 'sinf'
736  *__sinp = sinf(__x);
737            ^
738/opt/local/include/LegacySupport/math.h:83:13: error: use of undeclared identifier 'cosf'
739  *__cosp = cosf(__x);
740            ^
741/opt/local/include/LegacySupport/math.h:86:13: error: use of undeclared identifier 'sin'
742  *__sinp = sin(__x);
743            ^
744/opt/local/include/LegacySupport/math.h:87:13: error: use of undeclared identifier 'cos'
745  *__cosp = cos(__x);
746            ^
747cmake_bootstrap_45609_test.cxx:7:2: error: "Compiler is not in a mode aware of C++11."
748#error "Compiler is not in a mode aware of C++11."
749 ^
750cmake_bootstrap_45609_test.cxx:23:14: warning: in-class initialization of non-static data member is a C++11 extension [-Wc++11-extensions]
751  int Member = 1;
752             ^
753cmake_bootstrap_45609_test.cxx:27:3: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
754  auto const c = std::unique_ptr<Class>(new Class);
755  ^
7562 warnings and 5 errors generated.
757Test failed to compile
758Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++14 ' works.
759Try: /opt/local/bin/clang++-mp-3.7
760Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++14  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
761----------  file   -----------------------
762
763#include <iostream>
764#include <memory>
765#include <unordered_map>
766
767#if __cplusplus < 201103L
768#error "Compiler is not in a mode aware of C++11."
769#endif
770
771#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
772#error "On AIX with GNU we need the -pthread flag."
773#endif
774
775#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
776#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
777#endif
778
779class Class
780{
781public:
782  int Get() const { return this->Member; }
783private:
784  int Member = 1;
785};
786int main()
787{
788  auto const c = std::unique_ptr<Class>(new Class);
789  std::cout << c->Get() << std::endl;
790  return 0;
791}
792
793------------------------------------------
794In file included from cmake_bootstrap_45609_test.cxx:4:
795In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/unordered_map:369:
796In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/__hash_table:19:
797In file included from /opt/local/include/LegacySupport/cmath:54:
798In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/cmath:301:
799/opt/local/include/LegacySupport/math.h:82:13: error: use of undeclared identifier 'sinf'
800  *__sinp = sinf(__x);
801            ^
802/opt/local/include/LegacySupport/math.h:83:13: error: use of undeclared identifier 'cosf'
803  *__cosp = cosf(__x);
804            ^
805/opt/local/include/LegacySupport/math.h:86:13: error: use of undeclared identifier 'sin'
806  *__sinp = sin(__x);
807            ^
808/opt/local/include/LegacySupport/math.h:87:13: error: use of undeclared identifier 'cos'
809  *__cosp = cos(__x);
810            ^
8114 errors generated.
812Test failed to compile
813Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++1y ' works.
814Try: /opt/local/bin/clang++-mp-3.7
815Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++1y  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
816----------  file   -----------------------
817
818#include <iostream>
819#include <memory>
820#include <unordered_map>
821
822#if __cplusplus < 201103L
823#error "Compiler is not in a mode aware of C++11."
824#endif
825
826#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
827#error "On AIX with GNU we need the -pthread flag."
828#endif
829
830#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
831#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
832#endif
833
834class Class
835{
836public:
837  int Get() const { return this->Member; }
838private:
839  int Member = 1;
840};
841int main()
842{
843  auto const c = std::unique_ptr<Class>(new Class);
844  std::cout << c->Get() << std::endl;
845  return 0;
846}
847
848------------------------------------------
849In file included from cmake_bootstrap_45609_test.cxx:4:
850In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/unordered_map:369:
851In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/__hash_table:19:
852In file included from /opt/local/include/LegacySupport/cmath:54:
853In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/cmath:301:
854/opt/local/include/LegacySupport/math.h:82:13: error: use of undeclared identifier 'sinf'
855  *__sinp = sinf(__x);
856            ^
857/opt/local/include/LegacySupport/math.h:83:13: error: use of undeclared identifier 'cosf'
858  *__cosp = cosf(__x);
859            ^
860/opt/local/include/LegacySupport/math.h:86:13: error: use of undeclared identifier 'sin'
861  *__sinp = sin(__x);
862            ^
863/opt/local/include/LegacySupport/math.h:87:13: error: use of undeclared identifier 'cos'
864  *__cosp = cos(__x);
865            ^
8664 errors generated.
867Test failed to compile
868Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++14 ' works.
869Try: /opt/local/bin/clang++-mp-3.7
870Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++14  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
871----------  file   -----------------------
872
873#include <iostream>
874#include <memory>
875#include <unordered_map>
876
877#if __cplusplus < 201103L
878#error "Compiler is not in a mode aware of C++11."
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(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
886#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
887#endif
888
889class Class
890{
891public:
892  int Get() const { return this->Member; }
893private:
894  int Member = 1;
895};
896int main()
897{
898  auto const c = std::unique_ptr<Class>(new Class);
899  std::cout << c->Get() << std::endl;
900  return 0;
901}
902
903------------------------------------------
904In file included from cmake_bootstrap_45609_test.cxx:4:
905In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/unordered_map:369:
906In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/__hash_table:19:
907In file included from /opt/local/include/LegacySupport/cmath:54:
908In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/cmath:301:
909/opt/local/include/LegacySupport/math.h:82:13: error: use of undeclared identifier 'sinf'
910  *__sinp = sinf(__x);
911            ^
912/opt/local/include/LegacySupport/math.h:83:13: error: use of undeclared identifier 'cosf'
913  *__cosp = cosf(__x);
914            ^
915/opt/local/include/LegacySupport/math.h:86:13: error: use of undeclared identifier 'sin'
916  *__sinp = sin(__x);
917            ^
918/opt/local/include/LegacySupport/math.h:87:13: error: use of undeclared identifier 'cos'
919  *__cosp = cos(__x);
920            ^
9214 errors generated.
922Test failed to compile
923Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++1y ' works.
924Try: /opt/local/bin/clang++-mp-3.7
925Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++1y  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
926----------  file   -----------------------
927
928#include <iostream>
929#include <memory>
930#include <unordered_map>
931
932#if __cplusplus < 201103L
933#error "Compiler is not in a mode aware of C++11."
934#endif
935
936#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
937#error "On AIX with GNU we need the -pthread flag."
938#endif
939
940#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
941#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
942#endif
943
944class Class
945{
946public:
947  int Get() const { return this->Member; }
948private:
949  int Member = 1;
950};
951int main()
952{
953  auto const c = std::unique_ptr<Class>(new Class);
954  std::cout << c->Get() << std::endl;
955  return 0;
956}
957
958------------------------------------------
959In file included from cmake_bootstrap_45609_test.cxx:4:
960In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/unordered_map:369:
961In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/__hash_table:19:
962In file included from /opt/local/include/LegacySupport/cmath:54:
963In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/cmath:301:
964/opt/local/include/LegacySupport/math.h:82:13: error: use of undeclared identifier 'sinf'
965  *__sinp = sinf(__x);
966            ^
967/opt/local/include/LegacySupport/math.h:83:13: error: use of undeclared identifier 'cosf'
968  *__cosp = cosf(__x);
969            ^
970/opt/local/include/LegacySupport/math.h:86:13: error: use of undeclared identifier 'sin'
971  *__sinp = sin(__x);
972            ^
973/opt/local/include/LegacySupport/math.h:87:13: error: use of undeclared identifier 'cos'
974  *__cosp = cos(__x);
975            ^
9764 errors generated.
977Test failed to compile
978Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std:c++14 ' works.
979Try: /opt/local/bin/clang++-mp-3.7
980Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std:c++14  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
981----------  file   -----------------------
982
983#include <iostream>
984#include <memory>
985#include <unordered_map>
986
987#if __cplusplus < 201103L
988#error "Compiler is not in a mode aware of C++11."
989#endif
990
991#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
992#error "On AIX with GNU we need the -pthread flag."
993#endif
994
995#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
996#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
997#endif
998
999class Class
1000{
1001public:
1002  int Get() const { return this->Member; }
1003private:
1004  int Member = 1;
1005};
1006int main()
1007{
1008  auto const c = std::unique_ptr<Class>(new Class);
1009  std::cout << c->Get() << std::endl;
1010  return 0;
1011}
1012
1013------------------------------------------
1014clang: error: unknown argument: '-std:c++14'
1015Test failed to compile
1016Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -h ' works.
1017Try: /opt/local/bin/clang++-mp-3.7
1018Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -h  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
1019----------  file   -----------------------
1020
1021#include <iostream>
1022#include <memory>
1023#include <unordered_map>
1024
1025#if __cplusplus < 201103L
1026#error "Compiler is not in a mode aware of C++11."
1027#endif
1028
1029#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1030#error "On AIX with GNU we need the -pthread flag."
1031#endif
1032
1033#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
1034#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
1035#endif
1036
1037class Class
1038{
1039public:
1040  int Get() const { return this->Member; }
1041private:
1042  int Member = 1;
1043};
1044int main()
1045{
1046  auto const c = std::unique_ptr<Class>(new Class);
1047  std::cout << c->Get() << std::endl;
1048  return 0;
1049}
1050
1051------------------------------------------
1052clang: error: unknown argument: '-h'
1053Test failed to compile
1054Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 std=c++14,gnu ' works.
1055Try: /opt/local/bin/clang++-mp-3.7
1056Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 std=c++14,gnu  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
1057----------  file   -----------------------
1058
1059#include <iostream>
1060#include <memory>
1061#include <unordered_map>
1062
1063#if __cplusplus < 201103L
1064#error "Compiler is not in a mode aware of C++11."
1065#endif
1066
1067#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1068#error "On AIX with GNU we need the -pthread flag."
1069#endif
1070
1071#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
1072#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
1073#endif
1074
1075class Class
1076{
1077public:
1078  int Get() const { return this->Member; }
1079private:
1080  int Member = 1;
1081};
1082int main()
1083{
1084  auto const c = std::unique_ptr<Class>(new Class);
1085  std::cout << c->Get() << std::endl;
1086  return 0;
1087}
1088
1089------------------------------------------
1090clang: error: no such file or directory: 'std=c++14,gnu'
1091Test failed to compile
1092Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++14 ' works.
1093Try: /opt/local/bin/clang++-mp-3.7
1094Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++14  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
1095----------  file   -----------------------
1096
1097#include <iostream>
1098#include <memory>
1099#include <unordered_map>
1100
1101#if __cplusplus < 201103L
1102#error "Compiler is not in a mode aware of C++11."
1103#endif
1104
1105#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1106#error "On AIX with GNU we need the -pthread flag."
1107#endif
1108
1109#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
1110#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
1111#endif
1112
1113class Class
1114{
1115public:
1116  int Get() const { return this->Member; }
1117private:
1118  int Member = 1;
1119};
1120int main()
1121{
1122  auto const c = std::unique_ptr<Class>(new Class);
1123  std::cout << c->Get() << std::endl;
1124  return 0;
1125}
1126
1127------------------------------------------
1128In file included from cmake_bootstrap_45609_test.cxx:4:
1129In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/unordered_map:369:
1130In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/__hash_table:19:
1131In file included from /opt/local/include/LegacySupport/cmath:54:
1132In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/cmath:301:
1133/opt/local/include/LegacySupport/math.h:82:13: error: use of undeclared identifier 'sinf'
1134  *__sinp = sinf(__x);
1135            ^
1136/opt/local/include/LegacySupport/math.h:83:13: error: use of undeclared identifier 'cosf'
1137  *__cosp = cosf(__x);
1138            ^
1139/opt/local/include/LegacySupport/math.h:86:13: error: use of undeclared identifier 'sin'
1140  *__sinp = sin(__x);
1141            ^
1142/opt/local/include/LegacySupport/math.h:87:13: error: use of undeclared identifier 'cos'
1143  *__cosp = cos(__x);
1144            ^
11454 errors generated.
1146Test failed to compile
1147Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++1y ' works.
1148Try: /opt/local/bin/clang++-mp-3.7
1149Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++1y  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
1150----------  file   -----------------------
1151
1152#include <iostream>
1153#include <memory>
1154#include <unordered_map>
1155
1156#if __cplusplus < 201103L
1157#error "Compiler is not in a mode aware of C++11."
1158#endif
1159
1160#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1161#error "On AIX with GNU we need the -pthread flag."
1162#endif
1163
1164#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
1165#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
1166#endif
1167
1168class Class
1169{
1170public:
1171  int Get() const { return this->Member; }
1172private:
1173  int Member = 1;
1174};
1175int main()
1176{
1177  auto const c = std::unique_ptr<Class>(new Class);
1178  std::cout << c->Get() << std::endl;
1179  return 0;
1180}
1181
1182------------------------------------------
1183In file included from cmake_bootstrap_45609_test.cxx:4:
1184In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/unordered_map:369:
1185In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/__hash_table:19:
1186In file included from /opt/local/include/LegacySupport/cmath:54:
1187In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/cmath:301:
1188/opt/local/include/LegacySupport/math.h:82:13: error: use of undeclared identifier 'sinf'
1189  *__sinp = sinf(__x);
1190            ^
1191/opt/local/include/LegacySupport/math.h:83:13: error: use of undeclared identifier 'cosf'
1192  *__cosp = cosf(__x);
1193            ^
1194/opt/local/include/LegacySupport/math.h:86:13: error: use of undeclared identifier 'sin'
1195  *__sinp = sin(__x);
1196            ^
1197/opt/local/include/LegacySupport/math.h:87:13: error: use of undeclared identifier 'cos'
1198  *__cosp = cos(__x);
1199            ^
12004 errors generated.
1201Test failed to compile
1202Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -e ' works.
1203Try: /opt/local/bin/clang++-mp-3.7
1204Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -e  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
1205----------  file   -----------------------
1206
1207#include <iostream>
1208#include <memory>
1209#include <unordered_map>
1210
1211#if __cplusplus < 201103L
1212#error "Compiler is not in a mode aware of C++11."
1213#endif
1214
1215#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1216#error "On AIX with GNU we need the -pthread flag."
1217#endif
1218
1219#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
1220#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
1221#endif
1222
1223class Class
1224{
1225public:
1226  int Get() const { return this->Member; }
1227private:
1228  int Member = 1;
1229};
1230int main()
1231{
1232  auto const c = std::unique_ptr<Class>(new Class);
1233  std::cout << c->Get() << std::endl;
1234  return 0;
1235}
1236
1237------------------------------------------
1238clang: error: no input files
1239Test failed to compile
1240Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -Qstd=c++14 ' works.
1241Try: /opt/local/bin/clang++-mp-3.7
1242Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -Qstd=c++14  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
1243----------  file   -----------------------
1244
1245#include <iostream>
1246#include <memory>
1247#include <unordered_map>
1248
1249#if __cplusplus < 201103L
1250#error "Compiler is not in a mode aware of C++11."
1251#endif
1252
1253#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1254#error "On AIX with GNU we need the -pthread flag."
1255#endif
1256
1257#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
1258#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
1259#endif
1260
1261class Class
1262{
1263public:
1264  int Get() const { return this->Member; }
1265private:
1266  int Member = 1;
1267};
1268int main()
1269{
1270  auto const c = std::unique_ptr<Class>(new Class);
1271  std::cout << c->Get() << std::endl;
1272  return 0;
1273}
1274
1275------------------------------------------
1276clang: error: unknown argument: '-Qstd=c++14'
1277Test failed to compile
1278Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++14 ' works.
1279Try: /opt/local/bin/clang++-mp-3.7
1280Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++14  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
1281----------  file   -----------------------
1282
1283#include <iostream>
1284#include <memory>
1285#include <unordered_map>
1286
1287#if __cplusplus < 201103L
1288#error "Compiler is not in a mode aware of C++11."
1289#endif
1290
1291#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1292#error "On AIX with GNU we need the -pthread flag."
1293#endif
1294
1295#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
1296#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
1297#endif
1298
1299class Class
1300{
1301public:
1302  int Get() const { return this->Member; }
1303private:
1304  int Member = 1;
1305};
1306int main()
1307{
1308  auto const c = std::unique_ptr<Class>(new Class);
1309  std::cout << c->Get() << std::endl;
1310  return 0;
1311}
1312
1313------------------------------------------
1314In file included from cmake_bootstrap_45609_test.cxx:4:
1315In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/unordered_map:369:
1316In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/__hash_table:19:
1317In file included from /opt/local/include/LegacySupport/cmath:54:
1318In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/cmath:301:
1319/opt/local/include/LegacySupport/math.h:82:13: error: use of undeclared identifier 'sinf'
1320  *__sinp = sinf(__x);
1321            ^
1322/opt/local/include/LegacySupport/math.h:83:13: error: use of undeclared identifier 'cosf'
1323  *__cosp = cosf(__x);
1324            ^
1325/opt/local/include/LegacySupport/math.h:86:13: error: use of undeclared identifier 'sin'
1326  *__sinp = sin(__x);
1327            ^
1328/opt/local/include/LegacySupport/math.h:87:13: error: use of undeclared identifier 'cos'
1329  *__cosp = cos(__x);
1330            ^
13314 errors generated.
1332Test failed to compile
1333Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++1y ' works.
1334Try: /opt/local/bin/clang++-mp-3.7
1335Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++1y  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
1336----------  file   -----------------------
1337
1338#include <iostream>
1339#include <memory>
1340#include <unordered_map>
1341
1342#if __cplusplus < 201103L
1343#error "Compiler is not in a mode aware of C++11."
1344#endif
1345
1346#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1347#error "On AIX with GNU we need the -pthread flag."
1348#endif
1349
1350#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
1351#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
1352#endif
1353
1354class Class
1355{
1356public:
1357  int Get() const { return this->Member; }
1358private:
1359  int Member = 1;
1360};
1361int main()
1362{
1363  auto const c = std::unique_ptr<Class>(new Class);
1364  std::cout << c->Get() << std::endl;
1365  return 0;
1366}
1367
1368------------------------------------------
1369In file included from cmake_bootstrap_45609_test.cxx:4:
1370In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/unordered_map:369:
1371In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/__hash_table:19:
1372In file included from /opt/local/include/LegacySupport/cmath:54:
1373In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/cmath:301:
1374/opt/local/include/LegacySupport/math.h:82:13: error: use of undeclared identifier 'sinf'
1375  *__sinp = sinf(__x);
1376            ^
1377/opt/local/include/LegacySupport/math.h:83:13: error: use of undeclared identifier 'cosf'
1378  *__cosp = cosf(__x);
1379            ^
1380/opt/local/include/LegacySupport/math.h:86:13: error: use of undeclared identifier 'sin'
1381  *__sinp = sin(__x);
1382            ^
1383/opt/local/include/LegacySupport/math.h:87:13: error: use of undeclared identifier 'cos'
1384  *__cosp = cos(__x);
1385            ^
13864 errors generated.
1387Test failed to compile
1388Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std:c++14 ' works.
1389Try: /opt/local/bin/clang++-mp-3.7
1390Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std:c++14  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
1391----------  file   -----------------------
1392
1393#include <iostream>
1394#include <memory>
1395#include <unordered_map>
1396
1397#if __cplusplus < 201103L
1398#error "Compiler is not in a mode aware of C++11."
1399#endif
1400
1401#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1402#error "On AIX with GNU we need the -pthread flag."
1403#endif
1404
1405#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
1406#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
1407#endif
1408
1409class Class
1410{
1411public:
1412  int Get() const { return this->Member; }
1413private:
1414  int Member = 1;
1415};
1416int main()
1417{
1418  auto const c = std::unique_ptr<Class>(new Class);
1419  std::cout << c->Get() << std::endl;
1420  return 0;
1421}
1422
1423------------------------------------------
1424clang: error: unknown argument: '-std:c++14'
1425Test failed to compile
1426Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 --c++14 ' works.
1427Try: /opt/local/bin/clang++-mp-3.7
1428Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 --c++14  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
1429----------  file   -----------------------
1430
1431#include <iostream>
1432#include <memory>
1433#include <unordered_map>
1434
1435#if __cplusplus < 201103L
1436#error "Compiler is not in a mode aware of C++11."
1437#endif
1438
1439#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1440#error "On AIX with GNU we need the -pthread flag."
1441#endif
1442
1443#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
1444#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
1445#endif
1446
1447class Class
1448{
1449public:
1450  int Get() const { return this->Member; }
1451private:
1452  int Member = 1;
1453};
1454int main()
1455{
1456  auto const c = std::unique_ptr<Class>(new Class);
1457  std::cout << c->Get() << std::endl;
1458  return 0;
1459}
1460
1461------------------------------------------
1462clang: error: unsupported option '--c++14'
1463Test failed to compile
1464Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 --gnu_extensions ' works.
1465Try: /opt/local/bin/clang++-mp-3.7
1466Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 --gnu_extensions  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
1467----------  file   -----------------------
1468
1469#include <iostream>
1470#include <memory>
1471#include <unordered_map>
1472
1473#if __cplusplus < 201103L
1474#error "Compiler is not in a mode aware of C++11."
1475#endif
1476
1477#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1478#error "On AIX with GNU we need the -pthread flag."
1479#endif
1480
1481#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
1482#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
1483#endif
1484
1485class Class
1486{
1487public:
1488  int Get() const { return this->Member; }
1489private:
1490  int Member = 1;
1491};
1492int main()
1493{
1494  auto const c = std::unique_ptr<Class>(new Class);
1495  std::cout << c->Get() << std::endl;
1496  return 0;
1497}
1498
1499------------------------------------------
1500clang: error: unsupported option '--gnu_extensions'
1501Test failed to compile
1502Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=c++14 ' works.
1503Try: /opt/local/bin/clang++-mp-3.7
1504Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=c++14  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
1505----------  file   -----------------------
1506
1507#include <iostream>
1508#include <memory>
1509#include <unordered_map>
1510
1511#if __cplusplus < 201103L
1512#error "Compiler is not in a mode aware of C++11."
1513#endif
1514
1515#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1516#error "On AIX with GNU we need the -pthread flag."
1517#endif
1518
1519#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
1520#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
1521#endif
1522
1523class Class
1524{
1525public:
1526  int Get() const { return this->Member; }
1527private:
1528  int Member = 1;
1529};
1530int main()
1531{
1532  auto const c = std::unique_ptr<Class>(new Class);
1533  std::cout << c->Get() << std::endl;
1534  return 0;
1535}
1536
1537------------------------------------------
1538In file included from cmake_bootstrap_45609_test.cxx:4:
1539In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/unordered_map:369:
1540In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/__hash_table:19:
1541In file included from /opt/local/include/LegacySupport/cmath:54:
1542In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/cmath:301:
1543/opt/local/include/LegacySupport/math.h:82:13: error: use of undeclared identifier 'sinf'
1544  *__sinp = sinf(__x);
1545            ^
1546/opt/local/include/LegacySupport/math.h:83:13: error: use of undeclared identifier 'cosf'
1547  *__cosp = cosf(__x);
1548            ^
1549/opt/local/include/LegacySupport/math.h:86:13: error: use of undeclared identifier 'sin'
1550  *__sinp = sin(__x);
1551            ^
1552/opt/local/include/LegacySupport/math.h:87:13: error: use of undeclared identifier 'cos'
1553  *__cosp = cos(__x);
1554            ^
15554 errors generated.
1556Test failed to compile
1557Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -qlanglvl=extended1y ' works.
1558Try: /opt/local/bin/clang++-mp-3.7
1559Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -qlanglvl=extended1y  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
1560----------  file   -----------------------
1561
1562#include <iostream>
1563#include <memory>
1564#include <unordered_map>
1565
1566#if __cplusplus < 201103L
1567#error "Compiler is not in a mode aware of C++11."
1568#endif
1569
1570#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1571#error "On AIX with GNU we need the -pthread flag."
1572#endif
1573
1574#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
1575#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
1576#endif
1577
1578class Class
1579{
1580public:
1581  int Get() const { return this->Member; }
1582private:
1583  int Member = 1;
1584};
1585int main()
1586{
1587  auto const c = std::unique_ptr<Class>(new Class);
1588  std::cout << c->Get() << std::endl;
1589  return 0;
1590}
1591
1592------------------------------------------
1593clang: error: unknown argument: '-qlanglvl=extended1y'
1594Test failed to compile
1595Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++1y ' works.
1596Try: /opt/local/bin/clang++-mp-3.7
1597Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++1y  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
1598----------  file   -----------------------
1599
1600#include <iostream>
1601#include <memory>
1602#include <unordered_map>
1603
1604#if __cplusplus < 201103L
1605#error "Compiler is not in a mode aware of C++11."
1606#endif
1607
1608#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1609#error "On AIX with GNU we need the -pthread flag."
1610#endif
1611
1612#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
1613#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
1614#endif
1615
1616class Class
1617{
1618public:
1619  int Get() const { return this->Member; }
1620private:
1621  int Member = 1;
1622};
1623int main()
1624{
1625  auto const c = std::unique_ptr<Class>(new Class);
1626  std::cout << c->Get() << std::endl;
1627  return 0;
1628}
1629
1630------------------------------------------
1631In file included from cmake_bootstrap_45609_test.cxx:4:
1632In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/unordered_map:369:
1633In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/__hash_table:19:
1634In file included from /opt/local/include/LegacySupport/cmath:54:
1635In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/cmath:301:
1636/opt/local/include/LegacySupport/math.h:82:13: error: use of undeclared identifier 'sinf'
1637  *__sinp = sinf(__x);
1638            ^
1639/opt/local/include/LegacySupport/math.h:83:13: error: use of undeclared identifier 'cosf'
1640  *__cosp = cosf(__x);
1641            ^
1642/opt/local/include/LegacySupport/math.h:86:13: error: use of undeclared identifier 'sin'
1643  *__sinp = sin(__x);
1644            ^
1645/opt/local/include/LegacySupport/math.h:87:13: error: use of undeclared identifier 'cos'
1646  *__cosp = cos(__x);
1647            ^
16484 errors generated.
1649Test failed to compile
1650Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++14 ' works.
1651Try: /opt/local/bin/clang++-mp-3.7
1652Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++14  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
1653----------  file   -----------------------
1654
1655#include <iostream>
1656#include <memory>
1657#include <unordered_map>
1658
1659#if __cplusplus < 201103L
1660#error "Compiler is not in a mode aware of C++11."
1661#endif
1662
1663#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1664#error "On AIX with GNU we need the -pthread flag."
1665#endif
1666
1667#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
1668#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
1669#endif
1670
1671class Class
1672{
1673public:
1674  int Get() const { return this->Member; }
1675private:
1676  int Member = 1;
1677};
1678int main()
1679{
1680  auto const c = std::unique_ptr<Class>(new Class);
1681  std::cout << c->Get() << std::endl;
1682  return 0;
1683}
1684
1685------------------------------------------
1686In file included from cmake_bootstrap_45609_test.cxx:4:
1687In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/unordered_map:369:
1688In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/__hash_table:19:
1689In file included from /opt/local/include/LegacySupport/cmath:54:
1690In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/cmath:301:
1691/opt/local/include/LegacySupport/math.h:82:13: error: use of undeclared identifier 'sinf'
1692  *__sinp = sinf(__x);
1693            ^
1694/opt/local/include/LegacySupport/math.h:83:13: error: use of undeclared identifier 'cosf'
1695  *__cosp = cosf(__x);
1696            ^
1697/opt/local/include/LegacySupport/math.h:86:13: error: use of undeclared identifier 'sin'
1698  *__sinp = sin(__x);
1699            ^
1700/opt/local/include/LegacySupport/math.h:87:13: error: use of undeclared identifier 'cos'
1701  *__cosp = cos(__x);
1702            ^
17034 errors generated.
1704Test failed to compile
1705Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64  ' works.
1706Try: /opt/local/bin/clang++-mp-3.7
1707Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64   cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
1708----------  file   -----------------------
1709
1710#include <iostream>
1711#include <memory>
1712#include <unordered_map>
1713
1714#if __cplusplus < 201103L
1715#error "Compiler is not in a mode aware of C++11."
1716#endif
1717
1718#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1719#error "On AIX with GNU we need the -pthread flag."
1720#endif
1721
1722#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
1723#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
1724#endif
1725
1726class Class
1727{
1728public:
1729  int Get() const { return this->Member; }
1730private:
1731  int Member = 1;
1732};
1733int main()
1734{
1735  auto const c = std::unique_ptr<Class>(new Class);
1736  std::cout << c->Get() << std::endl;
1737  return 0;
1738}
1739
1740------------------------------------------
1741In file included from cmake_bootstrap_45609_test.cxx:4:
1742In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/unordered_map:369:
1743In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/__hash_table:19:
1744In file included from /opt/local/include/LegacySupport/cmath:54:
1745In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/cmath:301:
1746/opt/local/include/LegacySupport/math.h:82:13: error: use of undeclared identifier 'sinf'
1747  *__sinp = sinf(__x);
1748            ^
1749/opt/local/include/LegacySupport/math.h:83:13: error: use of undeclared identifier 'cosf'
1750  *__cosp = cosf(__x);
1751            ^
1752/opt/local/include/LegacySupport/math.h:86:13: error: use of undeclared identifier 'sin'
1753  *__sinp = sin(__x);
1754            ^
1755/opt/local/include/LegacySupport/math.h:87:13: error: use of undeclared identifier 'cos'
1756  *__cosp = cos(__x);
1757            ^
1758cmake_bootstrap_45609_test.cxx:7:2: error: "Compiler is not in a mode aware of C++11."
1759#error "Compiler is not in a mode aware of C++11."
1760 ^
1761cmake_bootstrap_45609_test.cxx:23:14: warning: in-class initialization of non-static data member is a C++11 extension [-Wc++11-extensions]
1762  int Member = 1;
1763             ^
1764cmake_bootstrap_45609_test.cxx:27:3: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
1765  auto const c = std::unique_ptr<Class>(new Class);
1766  ^
17672 warnings and 5 errors generated.
1768Test failed to compile
1769Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++11 ' works.
1770Try: /opt/local/bin/clang++-mp-3.7
1771Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++11  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
1772----------  file   -----------------------
1773
1774#include <iostream>
1775#include <memory>
1776#include <unordered_map>
1777
1778#if __cplusplus < 201103L
1779#error "Compiler is not in a mode aware of C++11."
1780#endif
1781
1782#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1783#error "On AIX with GNU we need the -pthread flag."
1784#endif
1785
1786#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
1787#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
1788#endif
1789
1790class Class
1791{
1792public:
1793  int Get() const { return this->Member; }
1794private:
1795  int Member = 1;
1796};
1797int main()
1798{
1799  auto const c = std::unique_ptr<Class>(new Class);
1800  std::cout << c->Get() << std::endl;
1801  return 0;
1802}
1803
1804------------------------------------------
1805In file included from cmake_bootstrap_45609_test.cxx:4:
1806In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/unordered_map:369:
1807In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/__hash_table:19:
1808In file included from /opt/local/include/LegacySupport/cmath:54:
1809In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/cmath:301:
1810/opt/local/include/LegacySupport/math.h:82:13: error: use of undeclared identifier 'sinf'
1811  *__sinp = sinf(__x);
1812            ^
1813/opt/local/include/LegacySupport/math.h:83:13: error: use of undeclared identifier 'cosf'
1814  *__cosp = cosf(__x);
1815            ^
1816/opt/local/include/LegacySupport/math.h:86:13: error: use of undeclared identifier 'sin'
1817  *__sinp = sin(__x);
1818            ^
1819/opt/local/include/LegacySupport/math.h:87:13: error: use of undeclared identifier 'cos'
1820  *__cosp = cos(__x);
1821            ^
18224 errors generated.
1823Test failed to compile
1824Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++11 ' works.
1825Try: /opt/local/bin/clang++-mp-3.7
1826Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++11  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
1827----------  file   -----------------------
1828
1829#include <iostream>
1830#include <memory>
1831#include <unordered_map>
1832
1833#if __cplusplus < 201103L
1834#error "Compiler is not in a mode aware of C++11."
1835#endif
1836
1837#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1838#error "On AIX with GNU we need the -pthread flag."
1839#endif
1840
1841#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
1842#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
1843#endif
1844
1845class Class
1846{
1847public:
1848  int Get() const { return this->Member; }
1849private:
1850  int Member = 1;
1851};
1852int main()
1853{
1854  auto const c = std::unique_ptr<Class>(new Class);
1855  std::cout << c->Get() << std::endl;
1856  return 0;
1857}
1858
1859------------------------------------------
1860In file included from cmake_bootstrap_45609_test.cxx:4:
1861In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/unordered_map:369:
1862In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/__hash_table:19:
1863In file included from /opt/local/include/LegacySupport/cmath:54:
1864In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/cmath:301:
1865/opt/local/include/LegacySupport/math.h:82:13: error: use of undeclared identifier 'sinf'
1866  *__sinp = sinf(__x);
1867            ^
1868/opt/local/include/LegacySupport/math.h:83:13: error: use of undeclared identifier 'cosf'
1869  *__cosp = cosf(__x);
1870            ^
1871/opt/local/include/LegacySupport/math.h:86:13: error: use of undeclared identifier 'sin'
1872  *__sinp = sin(__x);
1873            ^
1874/opt/local/include/LegacySupport/math.h:87:13: error: use of undeclared identifier 'cos'
1875  *__cosp = cos(__x);
1876            ^
18774 errors generated.
1878Test failed to compile
1879Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++0x ' works.
1880Try: /opt/local/bin/clang++-mp-3.7
1881Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++0x  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
1882----------  file   -----------------------
1883
1884#include <iostream>
1885#include <memory>
1886#include <unordered_map>
1887
1888#if __cplusplus < 201103L
1889#error "Compiler is not in a mode aware of C++11."
1890#endif
1891
1892#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1893#error "On AIX with GNU we need the -pthread flag."
1894#endif
1895
1896#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
1897#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
1898#endif
1899
1900class Class
1901{
1902public:
1903  int Get() const { return this->Member; }
1904private:
1905  int Member = 1;
1906};
1907int main()
1908{
1909  auto const c = std::unique_ptr<Class>(new Class);
1910  std::cout << c->Get() << std::endl;
1911  return 0;
1912}
1913
1914------------------------------------------
1915In file included from cmake_bootstrap_45609_test.cxx:4:
1916In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/unordered_map:369:
1917In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/__hash_table:19:
1918In file included from /opt/local/include/LegacySupport/cmath:54:
1919In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/cmath:301:
1920/opt/local/include/LegacySupport/math.h:82:13: error: use of undeclared identifier 'sinf'
1921  *__sinp = sinf(__x);
1922            ^
1923/opt/local/include/LegacySupport/math.h:83:13: error: use of undeclared identifier 'cosf'
1924  *__cosp = cosf(__x);
1925            ^
1926/opt/local/include/LegacySupport/math.h:86:13: error: use of undeclared identifier 'sin'
1927  *__sinp = sin(__x);
1928            ^
1929/opt/local/include/LegacySupport/math.h:87:13: error: use of undeclared identifier 'cos'
1930  *__cosp = cos(__x);
1931            ^
19324 errors generated.
1933Test failed to compile
1934Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++14 ' works.
1935Try: /opt/local/bin/clang++-mp-3.7
1936Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++14  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
1937----------  file   -----------------------
1938
1939#include <iostream>
1940#include <memory>
1941#include <unordered_map>
1942
1943#if __cplusplus < 201103L
1944#error "Compiler is not in a mode aware of C++11."
1945#endif
1946
1947#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1948#error "On AIX with GNU we need the -pthread flag."
1949#endif
1950
1951#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
1952#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
1953#endif
1954
1955class Class
1956{
1957public:
1958  int Get() const { return this->Member; }
1959private:
1960  int Member = 1;
1961};
1962int main()
1963{
1964  auto const c = std::unique_ptr<Class>(new Class);
1965  std::cout << c->Get() << std::endl;
1966  return 0;
1967}
1968
1969------------------------------------------
1970In file included from cmake_bootstrap_45609_test.cxx:4:
1971In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/unordered_map:369:
1972In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/__hash_table:19:
1973In file included from /opt/local/include/LegacySupport/cmath:54:
1974In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/cmath:301:
1975/opt/local/include/LegacySupport/math.h:82:13: error: use of undeclared identifier 'sinf'
1976  *__sinp = sinf(__x);
1977            ^
1978/opt/local/include/LegacySupport/math.h:83:13: error: use of undeclared identifier 'cosf'
1979  *__cosp = cosf(__x);
1980            ^
1981/opt/local/include/LegacySupport/math.h:86:13: error: use of undeclared identifier 'sin'
1982  *__sinp = sin(__x);
1983            ^
1984/opt/local/include/LegacySupport/math.h:87:13: error: use of undeclared identifier 'cos'
1985  *__cosp = cos(__x);
1986            ^
19874 errors generated.
1988Test failed to compile
1989Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -h ' works.
1990Try: /opt/local/bin/clang++-mp-3.7
1991Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -h  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
1992----------  file   -----------------------
1993
1994#include <iostream>
1995#include <memory>
1996#include <unordered_map>
1997
1998#if __cplusplus < 201103L
1999#error "Compiler is not in a mode aware of C++11."
2000#endif
2001
2002#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2003#error "On AIX with GNU we need the -pthread flag."
2004#endif
2005
2006#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
2007#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
2008#endif
2009
2010class Class
2011{
2012public:
2013  int Get() const { return this->Member; }
2014private:
2015  int Member = 1;
2016};
2017int main()
2018{
2019  auto const c = std::unique_ptr<Class>(new Class);
2020  std::cout << c->Get() << std::endl;
2021  return 0;
2022}
2023
2024------------------------------------------
2025clang: error: unknown argument: '-h'
2026Test failed to compile
2027Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 std=c++11,gnu ' works.
2028Try: /opt/local/bin/clang++-mp-3.7
2029Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 std=c++11,gnu  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
2030----------  file   -----------------------
2031
2032#include <iostream>
2033#include <memory>
2034#include <unordered_map>
2035
2036#if __cplusplus < 201103L
2037#error "Compiler is not in a mode aware of C++11."
2038#endif
2039
2040#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2041#error "On AIX with GNU we need the -pthread flag."
2042#endif
2043
2044#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
2045#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
2046#endif
2047
2048class Class
2049{
2050public:
2051  int Get() const { return this->Member; }
2052private:
2053  int Member = 1;
2054};
2055int main()
2056{
2057  auto const c = std::unique_ptr<Class>(new Class);
2058  std::cout << c->Get() << std::endl;
2059  return 0;
2060}
2061
2062------------------------------------------
2063clang: error: no such file or directory: 'std=c++11,gnu'
2064Test failed to compile
2065Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++11 ' works.
2066Try: /opt/local/bin/clang++-mp-3.7
2067Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++11  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
2068----------  file   -----------------------
2069
2070#include <iostream>
2071#include <memory>
2072#include <unordered_map>
2073
2074#if __cplusplus < 201103L
2075#error "Compiler is not in a mode aware of C++11."
2076#endif
2077
2078#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2079#error "On AIX with GNU we need the -pthread flag."
2080#endif
2081
2082#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
2083#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
2084#endif
2085
2086class Class
2087{
2088public:
2089  int Get() const { return this->Member; }
2090private:
2091  int Member = 1;
2092};
2093int main()
2094{
2095  auto const c = std::unique_ptr<Class>(new Class);
2096  std::cout << c->Get() << std::endl;
2097  return 0;
2098}
2099
2100------------------------------------------
2101In file included from cmake_bootstrap_45609_test.cxx:4:
2102In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/unordered_map:369:
2103In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/__hash_table:19:
2104In file included from /opt/local/include/LegacySupport/cmath:54:
2105In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/cmath:301:
2106/opt/local/include/LegacySupport/math.h:82:13: error: use of undeclared identifier 'sinf'
2107  *__sinp = sinf(__x);
2108            ^
2109/opt/local/include/LegacySupport/math.h:83:13: error: use of undeclared identifier 'cosf'
2110  *__cosp = cosf(__x);
2111            ^
2112/opt/local/include/LegacySupport/math.h:86:13: error: use of undeclared identifier 'sin'
2113  *__sinp = sin(__x);
2114            ^
2115/opt/local/include/LegacySupport/math.h:87:13: error: use of undeclared identifier 'cos'
2116  *__cosp = cos(__x);
2117            ^
21184 errors generated.
2119Test failed to compile
2120Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++0x ' works.
2121Try: /opt/local/bin/clang++-mp-3.7
2122Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++0x  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
2123----------  file   -----------------------
2124
2125#include <iostream>
2126#include <memory>
2127#include <unordered_map>
2128
2129#if __cplusplus < 201103L
2130#error "Compiler is not in a mode aware of C++11."
2131#endif
2132
2133#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2134#error "On AIX with GNU we need the -pthread flag."
2135#endif
2136
2137#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
2138#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
2139#endif
2140
2141class Class
2142{
2143public:
2144  int Get() const { return this->Member; }
2145private:
2146  int Member = 1;
2147};
2148int main()
2149{
2150  auto const c = std::unique_ptr<Class>(new Class);
2151  std::cout << c->Get() << std::endl;
2152  return 0;
2153}
2154
2155------------------------------------------
2156In file included from cmake_bootstrap_45609_test.cxx:4:
2157In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/unordered_map:369:
2158In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/__hash_table:19:
2159In file included from /opt/local/include/LegacySupport/cmath:54:
2160In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/cmath:301:
2161/opt/local/include/LegacySupport/math.h:82:13: error: use of undeclared identifier 'sinf'
2162  *__sinp = sinf(__x);
2163            ^
2164/opt/local/include/LegacySupport/math.h:83:13: error: use of undeclared identifier 'cosf'
2165  *__cosp = cosf(__x);
2166            ^
2167/opt/local/include/LegacySupport/math.h:86:13: error: use of undeclared identifier 'sin'
2168  *__sinp = sin(__x);
2169            ^
2170/opt/local/include/LegacySupport/math.h:87:13: error: use of undeclared identifier 'cos'
2171  *__cosp = cos(__x);
2172            ^
21734 errors generated.
2174Test failed to compile
2175Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -e ' works.
2176Try: /opt/local/bin/clang++-mp-3.7
2177Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -e  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
2178----------  file   -----------------------
2179
2180#include <iostream>
2181#include <memory>
2182#include <unordered_map>
2183
2184#if __cplusplus < 201103L
2185#error "Compiler is not in a mode aware of C++11."
2186#endif
2187
2188#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2189#error "On AIX with GNU we need the -pthread flag."
2190#endif
2191
2192#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
2193#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
2194#endif
2195
2196class Class
2197{
2198public:
2199  int Get() const { return this->Member; }
2200private:
2201  int Member = 1;
2202};
2203int main()
2204{
2205  auto const c = std::unique_ptr<Class>(new Class);
2206  std::cout << c->Get() << std::endl;
2207  return 0;
2208}
2209
2210------------------------------------------
2211clang: error: no input files
2212Test failed to compile
2213Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -Qstd=c++11 ' works.
2214Try: /opt/local/bin/clang++-mp-3.7
2215Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -Qstd=c++11  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
2216----------  file   -----------------------
2217
2218#include <iostream>
2219#include <memory>
2220#include <unordered_map>
2221
2222#if __cplusplus < 201103L
2223#error "Compiler is not in a mode aware of C++11."
2224#endif
2225
2226#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2227#error "On AIX with GNU we need the -pthread flag."
2228#endif
2229
2230#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
2231#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
2232#endif
2233
2234class Class
2235{
2236public:
2237  int Get() const { return this->Member; }
2238private:
2239  int Member = 1;
2240};
2241int main()
2242{
2243  auto const c = std::unique_ptr<Class>(new Class);
2244  std::cout << c->Get() << std::endl;
2245  return 0;
2246}
2247
2248------------------------------------------
2249clang: error: unknown argument: '-Qstd=c++11'
2250Test failed to compile
2251Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -Qstd=c++0x ' works.
2252Try: /opt/local/bin/clang++-mp-3.7
2253Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -Qstd=c++0x  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
2254----------  file   -----------------------
2255
2256#include <iostream>
2257#include <memory>
2258#include <unordered_map>
2259
2260#if __cplusplus < 201103L
2261#error "Compiler is not in a mode aware of C++11."
2262#endif
2263
2264#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2265#error "On AIX with GNU we need the -pthread flag."
2266#endif
2267
2268#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
2269#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
2270#endif
2271
2272class Class
2273{
2274public:
2275  int Get() const { return this->Member; }
2276private:
2277  int Member = 1;
2278};
2279int main()
2280{
2281  auto const c = std::unique_ptr<Class>(new Class);
2282  std::cout << c->Get() << std::endl;
2283  return 0;
2284}
2285
2286------------------------------------------
2287clang: error: unknown argument: '-Qstd=c++0x'
2288Test failed to compile
2289Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++11 ' works.
2290Try: /opt/local/bin/clang++-mp-3.7
2291Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++11  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
2292----------  file   -----------------------
2293
2294#include <iostream>
2295#include <memory>
2296#include <unordered_map>
2297
2298#if __cplusplus < 201103L
2299#error "Compiler is not in a mode aware of C++11."
2300#endif
2301
2302#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2303#error "On AIX with GNU we need the -pthread flag."
2304#endif
2305
2306#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
2307#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
2308#endif
2309
2310class Class
2311{
2312public:
2313  int Get() const { return this->Member; }
2314private:
2315  int Member = 1;
2316};
2317int main()
2318{
2319  auto const c = std::unique_ptr<Class>(new Class);
2320  std::cout << c->Get() << std::endl;
2321  return 0;
2322}
2323
2324------------------------------------------
2325In file included from cmake_bootstrap_45609_test.cxx:4:
2326In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/unordered_map:369:
2327In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/__hash_table:19:
2328In file included from /opt/local/include/LegacySupport/cmath:54:
2329In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/cmath:301:
2330/opt/local/include/LegacySupport/math.h:82:13: error: use of undeclared identifier 'sinf'
2331  *__sinp = sinf(__x);
2332            ^
2333/opt/local/include/LegacySupport/math.h:83:13: error: use of undeclared identifier 'cosf'
2334  *__cosp = cosf(__x);
2335            ^
2336/opt/local/include/LegacySupport/math.h:86:13: error: use of undeclared identifier 'sin'
2337  *__sinp = sin(__x);
2338            ^
2339/opt/local/include/LegacySupport/math.h:87:13: error: use of undeclared identifier 'cos'
2340  *__cosp = cos(__x);
2341            ^
23424 errors generated.
2343Test failed to compile
2344Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++0x ' works.
2345Try: /opt/local/bin/clang++-mp-3.7
2346Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++0x  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
2347----------  file   -----------------------
2348
2349#include <iostream>
2350#include <memory>
2351#include <unordered_map>
2352
2353#if __cplusplus < 201103L
2354#error "Compiler is not in a mode aware of C++11."
2355#endif
2356
2357#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2358#error "On AIX with GNU we need the -pthread flag."
2359#endif
2360
2361#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
2362#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
2363#endif
2364
2365class Class
2366{
2367public:
2368  int Get() const { return this->Member; }
2369private:
2370  int Member = 1;
2371};
2372int main()
2373{
2374  auto const c = std::unique_ptr<Class>(new Class);
2375  std::cout << c->Get() << std::endl;
2376  return 0;
2377}
2378
2379------------------------------------------
2380In file included from cmake_bootstrap_45609_test.cxx:4:
2381In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/unordered_map:369:
2382In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/__hash_table:19:
2383In file included from /opt/local/include/LegacySupport/cmath:54:
2384In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/cmath:301:
2385/opt/local/include/LegacySupport/math.h:82:13: error: use of undeclared identifier 'sinf'
2386  *__sinp = sinf(__x);
2387            ^
2388/opt/local/include/LegacySupport/math.h:83:13: error: use of undeclared identifier 'cosf'
2389  *__cosp = cosf(__x);
2390            ^
2391/opt/local/include/LegacySupport/math.h:86:13: error: use of undeclared identifier 'sin'
2392  *__sinp = sin(__x);
2393            ^
2394/opt/local/include/LegacySupport/math.h:87:13: error: use of undeclared identifier 'cos'
2395  *__cosp = cos(__x);
2396            ^
23974 errors generated.
2398Test failed to compile
2399Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 --c++11 ' works.
2400Try: /opt/local/bin/clang++-mp-3.7
2401Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 --c++11  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
2402----------  file   -----------------------
2403
2404#include <iostream>
2405#include <memory>
2406#include <unordered_map>
2407
2408#if __cplusplus < 201103L
2409#error "Compiler is not in a mode aware of C++11."
2410#endif
2411
2412#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2413#error "On AIX with GNU we need the -pthread flag."
2414#endif
2415
2416#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
2417#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
2418#endif
2419
2420class Class
2421{
2422public:
2423  int Get() const { return this->Member; }
2424private:
2425  int Member = 1;
2426};
2427int main()
2428{
2429  auto const c = std::unique_ptr<Class>(new Class);
2430  std::cout << c->Get() << std::endl;
2431  return 0;
2432}
2433
2434------------------------------------------
2435clang: error: unsupported option '--c++11'
2436Test failed to compile
2437Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 --gnu_extensions ' works.
2438Try: /opt/local/bin/clang++-mp-3.7
2439Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 --gnu_extensions  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
2440----------  file   -----------------------
2441
2442#include <iostream>
2443#include <memory>
2444#include <unordered_map>
2445
2446#if __cplusplus < 201103L
2447#error "Compiler is not in a mode aware of C++11."
2448#endif
2449
2450#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2451#error "On AIX with GNU we need the -pthread flag."
2452#endif
2453
2454#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
2455#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
2456#endif
2457
2458class Class
2459{
2460public:
2461  int Get() const { return this->Member; }
2462private:
2463  int Member = 1;
2464};
2465int main()
2466{
2467  auto const c = std::unique_ptr<Class>(new Class);
2468  std::cout << c->Get() << std::endl;
2469  return 0;
2470}
2471
2472------------------------------------------
2473clang: error: unsupported option '--gnu_extensions'
2474Test failed to compile
2475Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=c++11 ' works.
2476Try: /opt/local/bin/clang++-mp-3.7
2477Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=c++11  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
2478----------  file   -----------------------
2479
2480#include <iostream>
2481#include <memory>
2482#include <unordered_map>
2483
2484#if __cplusplus < 201103L
2485#error "Compiler is not in a mode aware of C++11."
2486#endif
2487
2488#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2489#error "On AIX with GNU we need the -pthread flag."
2490#endif
2491
2492#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
2493#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
2494#endif
2495
2496class Class
2497{
2498public:
2499  int Get() const { return this->Member; }
2500private:
2501  int Member = 1;
2502};
2503int main()
2504{
2505  auto const c = std::unique_ptr<Class>(new Class);
2506  std::cout << c->Get() << std::endl;
2507  return 0;
2508}
2509
2510------------------------------------------
2511In file included from cmake_bootstrap_45609_test.cxx:4:
2512In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/unordered_map:369:
2513In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/__hash_table:19:
2514In file included from /opt/local/include/LegacySupport/cmath:54:
2515In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/cmath:301:
2516/opt/local/include/LegacySupport/math.h:82:13: error: use of undeclared identifier 'sinf'
2517  *__sinp = sinf(__x);
2518            ^
2519/opt/local/include/LegacySupport/math.h:83:13: error: use of undeclared identifier 'cosf'
2520  *__cosp = cosf(__x);
2521            ^
2522/opt/local/include/LegacySupport/math.h:86:13: error: use of undeclared identifier 'sin'
2523  *__sinp = sin(__x);
2524            ^
2525/opt/local/include/LegacySupport/math.h:87:13: error: use of undeclared identifier 'cos'
2526  *__cosp = cos(__x);
2527            ^
25284 errors generated.
2529Test failed to compile
2530Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -qlanglvl=extended0x ' works.
2531Try: /opt/local/bin/clang++-mp-3.7
2532Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -qlanglvl=extended0x  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
2533----------  file   -----------------------
2534
2535#include <iostream>
2536#include <memory>
2537#include <unordered_map>
2538
2539#if __cplusplus < 201103L
2540#error "Compiler is not in a mode aware of C++11."
2541#endif
2542
2543#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2544#error "On AIX with GNU we need the -pthread flag."
2545#endif
2546
2547#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
2548#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
2549#endif
2550
2551class Class
2552{
2553public:
2554  int Get() const { return this->Member; }
2555private:
2556  int Member = 1;
2557};
2558int main()
2559{
2560  auto const c = std::unique_ptr<Class>(new Class);
2561  std::cout << c->Get() << std::endl;
2562  return 0;
2563}
2564
2565------------------------------------------
2566clang: error: unknown argument: '-qlanglvl=extended0x'
2567Test failed to compile
2568Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -qlanglvl=extended0x ' works.
2569Try: /opt/local/bin/clang++-mp-3.7
2570Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -qlanglvl=extended0x  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
2571----------  file   -----------------------
2572
2573#include <iostream>
2574#include <memory>
2575#include <unordered_map>
2576
2577#if __cplusplus < 201103L
2578#error "Compiler is not in a mode aware of C++11."
2579#endif
2580
2581#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2582#error "On AIX with GNU we need the -pthread flag."
2583#endif
2584
2585#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
2586#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
2587#endif
2588
2589class Class
2590{
2591public:
2592  int Get() const { return this->Member; }
2593private:
2594  int Member = 1;
2595};
2596int main()
2597{
2598  auto const c = std::unique_ptr<Class>(new Class);
2599  std::cout << c->Get() << std::endl;
2600  return 0;
2601}
2602
2603------------------------------------------
2604clang: error: unknown argument: '-qlanglvl=extended0x'
2605Test failed to compile
2606Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++11 ' works.
2607Try: /opt/local/bin/clang++-mp-3.7
2608Line: /opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libc++ -arch x86_64 -std=gnu++11  cmake_bootstrap_45609_test.cxx -o cmake_bootstrap_45609_test
2609----------  file   -----------------------
2610
2611#include <iostream>
2612#include <memory>
2613#include <unordered_map>
2614
2615#if __cplusplus < 201103L
2616#error "Compiler is not in a mode aware of C++11."
2617#endif
2618
2619#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2620#error "On AIX with GNU we need the -pthread flag."
2621#endif
2622
2623#if defined(__SUNPRO_CC) && __SUNPRO_CC < 0x5140
2624#error "SunPro <= 5.13 mode not supported due to bug in move semantics."
2625#endif
2626
2627class Class
2628{
2629public:
2630  int Get() const { return this->Member; }
2631private:
2632  int Member = 1;
2633};
2634int main()
2635{
2636  auto const c = std::unique_ptr<Class>(new Class);
2637  std::cout << c->Get() << std::endl;
2638  return 0;
2639}
2640
2641------------------------------------------
2642In file included from cmake_bootstrap_45609_test.cxx:4:
2643In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/unordered_map:369:
2644In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/__hash_table:19:
2645In file included from /opt/local/include/LegacySupport/cmath:54:
2646In file included from /opt/local/libexec/llvm-3.7/bin/../include/c++/v1/cmath:301:
2647/opt/local/include/LegacySupport/math.h:82:13: error: use of undeclared identifier 'sinf'
2648  *__sinp = sinf(__x);
2649            ^
2650/opt/local/include/LegacySupport/math.h:83:13: error: use of undeclared identifier 'cosf'
2651  *__cosp = cosf(__x);
2652            ^
2653/opt/local/include/LegacySupport/math.h:86:13: error: use of undeclared identifier 'sin'
2654  *__sinp = sin(__x);
2655            ^
2656/opt/local/include/LegacySupport/math.h:87:13: error: use of undeclared identifier 'cos'
2657  *__cosp = cos(__x);
2658            ^
26594 errors generated.
2660Test failed to compile