Ticket #55382: cmake_bootstrap.log

File cmake_bootstrap.log, 49.1 KB (added by kencu (Ken), 7 years ago)

bootstrap fail with clang-3.7 / libstdc++ on 10.7

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