1 | Checking whether '/opt/local/bin/clang-mp-3.7 -pipe -Os -arch x86_64 ' works. |
---|
2 | Try: /opt/local/bin/clang-mp-3.7 |
---|
3 | Line: /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 | |
---|
16 | int main(int argc, char* argv[]) |
---|
17 | { |
---|
18 | printf("%d%c", (argv != 0), (char)0x0a); |
---|
19 | return argc - 1; |
---|
20 | } |
---|
21 | |
---|
22 | ------------------------------------------ |
---|
23 | 1 |
---|
24 | Test succeeded |
---|
25 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 ' works. |
---|
26 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
27 | Line: /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 | |
---|
41 | class Class |
---|
42 | { |
---|
43 | public: |
---|
44 | int Get() const { return this->Member; } |
---|
45 | private: |
---|
46 | int Member = 1; |
---|
47 | }; |
---|
48 | int 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 | ------------------------------------------ |
---|
56 | cmake_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 | ^ |
---|
59 | cmake_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 | ^ |
---|
62 | cmake_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 | ^ |
---|
65 | cmake_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 | ~~~~~^ |
---|
68 | cmake_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 | ^ |
---|
71 | cmake_bootstrap_4474_test.cxx:13:7: note: declared here |
---|
72 | class Class |
---|
73 | ^ |
---|
74 | 2 warnings and 3 errors generated. |
---|
75 | Test failed to compile |
---|
76 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -std=gnu++1z' works. |
---|
77 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
78 | Line: /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 | |
---|
92 | class Class |
---|
93 | { |
---|
94 | public: |
---|
95 | int Get() const { return this->Member; } |
---|
96 | private: |
---|
97 | int Member = 1; |
---|
98 | }; |
---|
99 | int 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 | ------------------------------------------ |
---|
107 | cmake_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 | ~~~~~^ |
---|
110 | cmake_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 | ^ |
---|
113 | cmake_bootstrap_4474_test.cxx:13:7: note: declared here |
---|
114 | class Class |
---|
115 | ^ |
---|
116 | 2 errors generated. |
---|
117 | Test failed to compile |
---|
118 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -std=gnu++1z' works. |
---|
119 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
120 | Line: /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 | |
---|
134 | class Class |
---|
135 | { |
---|
136 | public: |
---|
137 | int Get() const { return this->Member; } |
---|
138 | private: |
---|
139 | int Member = 1; |
---|
140 | }; |
---|
141 | int 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 | ------------------------------------------ |
---|
149 | cmake_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 | ~~~~~^ |
---|
152 | cmake_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 | ^ |
---|
155 | cmake_bootstrap_4474_test.cxx:13:7: note: declared here |
---|
156 | class Class |
---|
157 | ^ |
---|
158 | 2 errors generated. |
---|
159 | Test failed to compile |
---|
160 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -std=gnu++1z' works. |
---|
161 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
162 | Line: /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 | |
---|
176 | class Class |
---|
177 | { |
---|
178 | public: |
---|
179 | int Get() const { return this->Member; } |
---|
180 | private: |
---|
181 | int Member = 1; |
---|
182 | }; |
---|
183 | int 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 | ------------------------------------------ |
---|
191 | cmake_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 | ~~~~~^ |
---|
194 | cmake_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 | ^ |
---|
197 | cmake_bootstrap_4474_test.cxx:13:7: note: declared here |
---|
198 | class Class |
---|
199 | ^ |
---|
200 | 2 errors generated. |
---|
201 | Test failed to compile |
---|
202 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -std:c++17' works. |
---|
203 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
204 | Line: /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 | |
---|
218 | class Class |
---|
219 | { |
---|
220 | public: |
---|
221 | int Get() const { return this->Member; } |
---|
222 | private: |
---|
223 | int Member = 1; |
---|
224 | }; |
---|
225 | int 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 | ------------------------------------------ |
---|
233 | clang: error: unknown argument: '-std:c++17' |
---|
234 | Test failed to compile |
---|
235 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -std:c++latest' works. |
---|
236 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
237 | Line: /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 | |
---|
251 | class Class |
---|
252 | { |
---|
253 | public: |
---|
254 | int Get() const { return this->Member; } |
---|
255 | private: |
---|
256 | int Member = 1; |
---|
257 | }; |
---|
258 | int 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 | ------------------------------------------ |
---|
266 | clang: error: unknown argument: '-std:c++latest' |
---|
267 | Test failed to compile |
---|
268 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 --c++17' works. |
---|
269 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
270 | Line: /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 | |
---|
284 | class Class |
---|
285 | { |
---|
286 | public: |
---|
287 | int Get() const { return this->Member; } |
---|
288 | private: |
---|
289 | int Member = 1; |
---|
290 | }; |
---|
291 | int 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 | ------------------------------------------ |
---|
299 | clang: error: unsupported option '--c++17' |
---|
300 | Test failed to compile |
---|
301 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 --gnu_extensions' works. |
---|
302 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
303 | Line: /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 | |
---|
317 | class Class |
---|
318 | { |
---|
319 | public: |
---|
320 | int Get() const { return this->Member; } |
---|
321 | private: |
---|
322 | int Member = 1; |
---|
323 | }; |
---|
324 | int 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 | ------------------------------------------ |
---|
332 | clang: error: unsupported option '--gnu_extensions' |
---|
333 | Test failed to compile |
---|
334 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 ' works. |
---|
335 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
336 | Line: /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 | |
---|
350 | class Class |
---|
351 | { |
---|
352 | public: |
---|
353 | int Get() const { return this->Member; } |
---|
354 | private: |
---|
355 | int Member = 1; |
---|
356 | }; |
---|
357 | int 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 | ------------------------------------------ |
---|
365 | cmake_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 | ^ |
---|
368 | cmake_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 | ^ |
---|
371 | cmake_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 | ^ |
---|
374 | cmake_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 | ~~~~~^ |
---|
377 | cmake_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 | ^ |
---|
380 | cmake_bootstrap_4474_test.cxx:13:7: note: declared here |
---|
381 | class Class |
---|
382 | ^ |
---|
383 | 2 warnings and 3 errors generated. |
---|
384 | Test failed to compile |
---|
385 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -std=gnu++14' works. |
---|
386 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
387 | Line: /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 | |
---|
401 | class Class |
---|
402 | { |
---|
403 | public: |
---|
404 | int Get() const { return this->Member; } |
---|
405 | private: |
---|
406 | int Member = 1; |
---|
407 | }; |
---|
408 | int 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 | ------------------------------------------ |
---|
416 | cmake_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 | ~~~~~^ |
---|
419 | cmake_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 | ^ |
---|
422 | cmake_bootstrap_4474_test.cxx:13:7: note: declared here |
---|
423 | class Class |
---|
424 | ^ |
---|
425 | 2 errors generated. |
---|
426 | Test failed to compile |
---|
427 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -std=gnu++1y' works. |
---|
428 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
429 | Line: /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 | |
---|
443 | class Class |
---|
444 | { |
---|
445 | public: |
---|
446 | int Get() const { return this->Member; } |
---|
447 | private: |
---|
448 | int Member = 1; |
---|
449 | }; |
---|
450 | int 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 | ------------------------------------------ |
---|
458 | cmake_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 | ~~~~~^ |
---|
461 | cmake_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 | ^ |
---|
464 | cmake_bootstrap_4474_test.cxx:13:7: note: declared here |
---|
465 | class Class |
---|
466 | ^ |
---|
467 | 2 errors generated. |
---|
468 | Test failed to compile |
---|
469 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -std=gnu++14' works. |
---|
470 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
471 | Line: /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 | |
---|
485 | class Class |
---|
486 | { |
---|
487 | public: |
---|
488 | int Get() const { return this->Member; } |
---|
489 | private: |
---|
490 | int Member = 1; |
---|
491 | }; |
---|
492 | int 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 | ------------------------------------------ |
---|
500 | cmake_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 | ~~~~~^ |
---|
503 | cmake_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 | ^ |
---|
506 | cmake_bootstrap_4474_test.cxx:13:7: note: declared here |
---|
507 | class Class |
---|
508 | ^ |
---|
509 | 2 errors generated. |
---|
510 | Test failed to compile |
---|
511 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -std=gnu++1y' works. |
---|
512 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
513 | Line: /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 | |
---|
527 | class Class |
---|
528 | { |
---|
529 | public: |
---|
530 | int Get() const { return this->Member; } |
---|
531 | private: |
---|
532 | int Member = 1; |
---|
533 | }; |
---|
534 | int 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 | ------------------------------------------ |
---|
542 | cmake_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 | ~~~~~^ |
---|
545 | cmake_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 | ^ |
---|
548 | cmake_bootstrap_4474_test.cxx:13:7: note: declared here |
---|
549 | class Class |
---|
550 | ^ |
---|
551 | 2 errors generated. |
---|
552 | Test failed to compile |
---|
553 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -std=gnu++14' works. |
---|
554 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
555 | Line: /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 | |
---|
569 | class Class |
---|
570 | { |
---|
571 | public: |
---|
572 | int Get() const { return this->Member; } |
---|
573 | private: |
---|
574 | int Member = 1; |
---|
575 | }; |
---|
576 | int 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 | ------------------------------------------ |
---|
584 | cmake_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 | ~~~~~^ |
---|
587 | cmake_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 | ^ |
---|
590 | cmake_bootstrap_4474_test.cxx:13:7: note: declared here |
---|
591 | class Class |
---|
592 | ^ |
---|
593 | 2 errors generated. |
---|
594 | Test failed to compile |
---|
595 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -std=gnu++1y' works. |
---|
596 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
597 | Line: /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 | |
---|
611 | class Class |
---|
612 | { |
---|
613 | public: |
---|
614 | int Get() const { return this->Member; } |
---|
615 | private: |
---|
616 | int Member = 1; |
---|
617 | }; |
---|
618 | int 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 | ------------------------------------------ |
---|
626 | cmake_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 | ~~~~~^ |
---|
629 | cmake_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 | ^ |
---|
632 | cmake_bootstrap_4474_test.cxx:13:7: note: declared here |
---|
633 | class Class |
---|
634 | ^ |
---|
635 | 2 errors generated. |
---|
636 | Test failed to compile |
---|
637 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -e' works. |
---|
638 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
639 | Line: /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 | |
---|
653 | class Class |
---|
654 | { |
---|
655 | public: |
---|
656 | int Get() const { return this->Member; } |
---|
657 | private: |
---|
658 | int Member = 1; |
---|
659 | }; |
---|
660 | int 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 | ------------------------------------------ |
---|
668 | clang: error: no input files |
---|
669 | Test failed to compile |
---|
670 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -Qstd=c++14' works. |
---|
671 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
672 | Line: /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 | |
---|
686 | class Class |
---|
687 | { |
---|
688 | public: |
---|
689 | int Get() const { return this->Member; } |
---|
690 | private: |
---|
691 | int Member = 1; |
---|
692 | }; |
---|
693 | int 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 | ------------------------------------------ |
---|
701 | clang: error: unknown argument: '-Qstd=c++14' |
---|
702 | Test failed to compile |
---|
703 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -std=c++14' works. |
---|
704 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
705 | Line: /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 | |
---|
719 | class Class |
---|
720 | { |
---|
721 | public: |
---|
722 | int Get() const { return this->Member; } |
---|
723 | private: |
---|
724 | int Member = 1; |
---|
725 | }; |
---|
726 | int 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 | ------------------------------------------ |
---|
734 | cmake_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 | ~~~~~^ |
---|
737 | cmake_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 | ^ |
---|
740 | cmake_bootstrap_4474_test.cxx:13:7: note: declared here |
---|
741 | class Class |
---|
742 | ^ |
---|
743 | 2 errors generated. |
---|
744 | Test failed to compile |
---|
745 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -std=c++1y' works. |
---|
746 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
747 | Line: /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 | |
---|
761 | class Class |
---|
762 | { |
---|
763 | public: |
---|
764 | int Get() const { return this->Member; } |
---|
765 | private: |
---|
766 | int Member = 1; |
---|
767 | }; |
---|
768 | int 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 | ------------------------------------------ |
---|
776 | cmake_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 | ~~~~~^ |
---|
779 | cmake_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 | ^ |
---|
782 | cmake_bootstrap_4474_test.cxx:13:7: note: declared here |
---|
783 | class Class |
---|
784 | ^ |
---|
785 | 2 errors generated. |
---|
786 | Test failed to compile |
---|
787 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -std:c++14' works. |
---|
788 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
789 | Line: /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 | |
---|
803 | class Class |
---|
804 | { |
---|
805 | public: |
---|
806 | int Get() const { return this->Member; } |
---|
807 | private: |
---|
808 | int Member = 1; |
---|
809 | }; |
---|
810 | int 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 | ------------------------------------------ |
---|
818 | clang: error: unknown argument: '-std:c++14' |
---|
819 | Test failed to compile |
---|
820 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 --c++14' works. |
---|
821 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
822 | Line: /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 | |
---|
836 | class Class |
---|
837 | { |
---|
838 | public: |
---|
839 | int Get() const { return this->Member; } |
---|
840 | private: |
---|
841 | int Member = 1; |
---|
842 | }; |
---|
843 | int 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 | ------------------------------------------ |
---|
851 | clang: error: unsupported option '--c++14' |
---|
852 | Test failed to compile |
---|
853 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 --gnu_extensions' works. |
---|
854 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
855 | Line: /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 | |
---|
869 | class Class |
---|
870 | { |
---|
871 | public: |
---|
872 | int Get() const { return this->Member; } |
---|
873 | private: |
---|
874 | int Member = 1; |
---|
875 | }; |
---|
876 | int 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 | ------------------------------------------ |
---|
884 | clang: error: unsupported option '--gnu_extensions' |
---|
885 | Test failed to compile |
---|
886 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -qlanglvl=extended1y' works. |
---|
887 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
888 | Line: /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 | |
---|
902 | class Class |
---|
903 | { |
---|
904 | public: |
---|
905 | int Get() const { return this->Member; } |
---|
906 | private: |
---|
907 | int Member = 1; |
---|
908 | }; |
---|
909 | int 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 | ------------------------------------------ |
---|
917 | clang: error: unknown argument: '-qlanglvl=extended1y' |
---|
918 | Test failed to compile |
---|
919 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 ' works. |
---|
920 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
921 | Line: /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 | |
---|
935 | class Class |
---|
936 | { |
---|
937 | public: |
---|
938 | int Get() const { return this->Member; } |
---|
939 | private: |
---|
940 | int Member = 1; |
---|
941 | }; |
---|
942 | int 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 | ------------------------------------------ |
---|
950 | cmake_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 | ^ |
---|
953 | cmake_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 | ^ |
---|
956 | cmake_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 | ^ |
---|
959 | cmake_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 | ~~~~~^ |
---|
962 | cmake_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 | ^ |
---|
965 | cmake_bootstrap_4474_test.cxx:13:7: note: declared here |
---|
966 | class Class |
---|
967 | ^ |
---|
968 | 2 warnings and 3 errors generated. |
---|
969 | Test failed to compile |
---|
970 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -std=gnu++11' works. |
---|
971 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
972 | Line: /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 | |
---|
986 | class Class |
---|
987 | { |
---|
988 | public: |
---|
989 | int Get() const { return this->Member; } |
---|
990 | private: |
---|
991 | int Member = 1; |
---|
992 | }; |
---|
993 | int 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 | ------------------------------------------ |
---|
1001 | cmake_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 | ~~~~~^ |
---|
1004 | cmake_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 | ^ |
---|
1007 | cmake_bootstrap_4474_test.cxx:13:7: note: declared here |
---|
1008 | class Class |
---|
1009 | ^ |
---|
1010 | 2 errors generated. |
---|
1011 | Test failed to compile |
---|
1012 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -std=gnu++11' works. |
---|
1013 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
1014 | Line: /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 | |
---|
1028 | class Class |
---|
1029 | { |
---|
1030 | public: |
---|
1031 | int Get() const { return this->Member; } |
---|
1032 | private: |
---|
1033 | int Member = 1; |
---|
1034 | }; |
---|
1035 | int 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 | ------------------------------------------ |
---|
1043 | cmake_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 | ~~~~~^ |
---|
1046 | cmake_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 | ^ |
---|
1049 | cmake_bootstrap_4474_test.cxx:13:7: note: declared here |
---|
1050 | class Class |
---|
1051 | ^ |
---|
1052 | 2 errors generated. |
---|
1053 | Test failed to compile |
---|
1054 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -std=gnu++0x' works. |
---|
1055 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
1056 | Line: /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 | |
---|
1070 | class Class |
---|
1071 | { |
---|
1072 | public: |
---|
1073 | int Get() const { return this->Member; } |
---|
1074 | private: |
---|
1075 | int Member = 1; |
---|
1076 | }; |
---|
1077 | int 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 | ------------------------------------------ |
---|
1085 | cmake_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 | ~~~~~^ |
---|
1088 | cmake_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 | ^ |
---|
1091 | cmake_bootstrap_4474_test.cxx:13:7: note: declared here |
---|
1092 | class Class |
---|
1093 | ^ |
---|
1094 | 2 errors generated. |
---|
1095 | Test failed to compile |
---|
1096 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -h' works. |
---|
1097 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
1098 | Line: /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 | |
---|
1112 | class Class |
---|
1113 | { |
---|
1114 | public: |
---|
1115 | int Get() const { return this->Member; } |
---|
1116 | private: |
---|
1117 | int Member = 1; |
---|
1118 | }; |
---|
1119 | int 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 | ------------------------------------------ |
---|
1127 | clang: error: unknown argument: '-h' |
---|
1128 | Test failed to compile |
---|
1129 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 std=c++11,gnu' works. |
---|
1130 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
1131 | Line: /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 | |
---|
1145 | class Class |
---|
1146 | { |
---|
1147 | public: |
---|
1148 | int Get() const { return this->Member; } |
---|
1149 | private: |
---|
1150 | int Member = 1; |
---|
1151 | }; |
---|
1152 | int 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 | ------------------------------------------ |
---|
1160 | clang: error: no such file or directory: 'std=c++11,gnu' |
---|
1161 | Test failed to compile |
---|
1162 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -std=gnu++11' works. |
---|
1163 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
1164 | Line: /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 | |
---|
1178 | class Class |
---|
1179 | { |
---|
1180 | public: |
---|
1181 | int Get() const { return this->Member; } |
---|
1182 | private: |
---|
1183 | int Member = 1; |
---|
1184 | }; |
---|
1185 | int 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 | ------------------------------------------ |
---|
1193 | cmake_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 | ~~~~~^ |
---|
1196 | cmake_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 | ^ |
---|
1199 | cmake_bootstrap_4474_test.cxx:13:7: note: declared here |
---|
1200 | class Class |
---|
1201 | ^ |
---|
1202 | 2 errors generated. |
---|
1203 | Test failed to compile |
---|
1204 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -std=gnu++0x' works. |
---|
1205 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
1206 | Line: /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 | |
---|
1220 | class Class |
---|
1221 | { |
---|
1222 | public: |
---|
1223 | int Get() const { return this->Member; } |
---|
1224 | private: |
---|
1225 | int Member = 1; |
---|
1226 | }; |
---|
1227 | int 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 | ------------------------------------------ |
---|
1235 | cmake_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 | ~~~~~^ |
---|
1238 | cmake_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 | ^ |
---|
1241 | cmake_bootstrap_4474_test.cxx:13:7: note: declared here |
---|
1242 | class Class |
---|
1243 | ^ |
---|
1244 | 2 errors generated. |
---|
1245 | Test failed to compile |
---|
1246 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -e' works. |
---|
1247 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
1248 | Line: /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 | |
---|
1262 | class Class |
---|
1263 | { |
---|
1264 | public: |
---|
1265 | int Get() const { return this->Member; } |
---|
1266 | private: |
---|
1267 | int Member = 1; |
---|
1268 | }; |
---|
1269 | int 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 | ------------------------------------------ |
---|
1277 | clang: error: no input files |
---|
1278 | Test failed to compile |
---|
1279 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -Qstd=c++11' works. |
---|
1280 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
1281 | Line: /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 | |
---|
1295 | class Class |
---|
1296 | { |
---|
1297 | public: |
---|
1298 | int Get() const { return this->Member; } |
---|
1299 | private: |
---|
1300 | int Member = 1; |
---|
1301 | }; |
---|
1302 | int 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 | ------------------------------------------ |
---|
1310 | clang: error: unknown argument: '-Qstd=c++11' |
---|
1311 | Test failed to compile |
---|
1312 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -Qstd=c++0x' works. |
---|
1313 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
1314 | Line: /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 | |
---|
1328 | class Class |
---|
1329 | { |
---|
1330 | public: |
---|
1331 | int Get() const { return this->Member; } |
---|
1332 | private: |
---|
1333 | int Member = 1; |
---|
1334 | }; |
---|
1335 | int 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 | ------------------------------------------ |
---|
1343 | clang: error: unknown argument: '-Qstd=c++0x' |
---|
1344 | Test failed to compile |
---|
1345 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -std=gnu++11' works. |
---|
1346 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
1347 | Line: /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 | |
---|
1361 | class Class |
---|
1362 | { |
---|
1363 | public: |
---|
1364 | int Get() const { return this->Member; } |
---|
1365 | private: |
---|
1366 | int Member = 1; |
---|
1367 | }; |
---|
1368 | int 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 | ------------------------------------------ |
---|
1376 | cmake_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 | ~~~~~^ |
---|
1379 | cmake_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 | ^ |
---|
1382 | cmake_bootstrap_4474_test.cxx:13:7: note: declared here |
---|
1383 | class Class |
---|
1384 | ^ |
---|
1385 | 2 errors generated. |
---|
1386 | Test failed to compile |
---|
1387 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -std=gnu++0x' works. |
---|
1388 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
1389 | Line: /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 | |
---|
1403 | class Class |
---|
1404 | { |
---|
1405 | public: |
---|
1406 | int Get() const { return this->Member; } |
---|
1407 | private: |
---|
1408 | int Member = 1; |
---|
1409 | }; |
---|
1410 | int 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 | ------------------------------------------ |
---|
1418 | cmake_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 | ~~~~~^ |
---|
1421 | cmake_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 | ^ |
---|
1424 | cmake_bootstrap_4474_test.cxx:13:7: note: declared here |
---|
1425 | class Class |
---|
1426 | ^ |
---|
1427 | 2 errors generated. |
---|
1428 | Test failed to compile |
---|
1429 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 --c++11' works. |
---|
1430 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
1431 | Line: /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 | |
---|
1445 | class Class |
---|
1446 | { |
---|
1447 | public: |
---|
1448 | int Get() const { return this->Member; } |
---|
1449 | private: |
---|
1450 | int Member = 1; |
---|
1451 | }; |
---|
1452 | int 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 | ------------------------------------------ |
---|
1460 | clang: error: unsupported option '--c++11' |
---|
1461 | Test failed to compile |
---|
1462 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 --gnu_extensions' works. |
---|
1463 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
1464 | Line: /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 | |
---|
1478 | class Class |
---|
1479 | { |
---|
1480 | public: |
---|
1481 | int Get() const { return this->Member; } |
---|
1482 | private: |
---|
1483 | int Member = 1; |
---|
1484 | }; |
---|
1485 | int 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 | ------------------------------------------ |
---|
1493 | clang: error: unsupported option '--gnu_extensions' |
---|
1494 | Test failed to compile |
---|
1495 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -std=c++11' works. |
---|
1496 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
1497 | Line: /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 | |
---|
1511 | class Class |
---|
1512 | { |
---|
1513 | public: |
---|
1514 | int Get() const { return this->Member; } |
---|
1515 | private: |
---|
1516 | int Member = 1; |
---|
1517 | }; |
---|
1518 | int 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 | ------------------------------------------ |
---|
1526 | cmake_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 | ~~~~~^ |
---|
1529 | cmake_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 | ^ |
---|
1532 | cmake_bootstrap_4474_test.cxx:13:7: note: declared here |
---|
1533 | class Class |
---|
1534 | ^ |
---|
1535 | 2 errors generated. |
---|
1536 | Test failed to compile |
---|
1537 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -std=gnu++11' works. |
---|
1538 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
1539 | Line: /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 | |
---|
1553 | class Class |
---|
1554 | { |
---|
1555 | public: |
---|
1556 | int Get() const { return this->Member; } |
---|
1557 | private: |
---|
1558 | int Member = 1; |
---|
1559 | }; |
---|
1560 | int 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 | ------------------------------------------ |
---|
1568 | cmake_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 | ~~~~~^ |
---|
1571 | cmake_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 | ^ |
---|
1574 | cmake_bootstrap_4474_test.cxx:13:7: note: declared here |
---|
1575 | class Class |
---|
1576 | ^ |
---|
1577 | 2 errors generated. |
---|
1578 | Test failed to compile |
---|
1579 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -qlanglvl=extended0x' works. |
---|
1580 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
1581 | Line: /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 | |
---|
1595 | class Class |
---|
1596 | { |
---|
1597 | public: |
---|
1598 | int Get() const { return this->Member; } |
---|
1599 | private: |
---|
1600 | int Member = 1; |
---|
1601 | }; |
---|
1602 | int 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 | ------------------------------------------ |
---|
1610 | clang: error: unknown argument: '-qlanglvl=extended0x' |
---|
1611 | Test failed to compile |
---|
1612 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -qlanglvl=extended0x' works. |
---|
1613 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
1614 | Line: /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 | |
---|
1628 | class Class |
---|
1629 | { |
---|
1630 | public: |
---|
1631 | int Get() const { return this->Member; } |
---|
1632 | private: |
---|
1633 | int Member = 1; |
---|
1634 | }; |
---|
1635 | int 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 | ------------------------------------------ |
---|
1643 | clang: error: unknown argument: '-qlanglvl=extended0x' |
---|
1644 | Test failed to compile |
---|
1645 | Checking whether '/opt/local/bin/clang++-mp-3.7 -pipe -Os -stdlib=libstdc++ -arch x86_64 -qlanglvl=extended0x' works. |
---|
1646 | Try: /opt/local/bin/clang++-mp-3.7 |
---|
1647 | Line: /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 | |
---|
1661 | class Class |
---|
1662 | { |
---|
1663 | public: |
---|
1664 | int Get() const { return this->Member; } |
---|
1665 | private: |
---|
1666 | int Member = 1; |
---|
1667 | }; |
---|
1668 | int 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 | ------------------------------------------ |
---|
1676 | clang: error: unknown argument: '-qlanglvl=extended0x' |
---|
1677 | Test failed to compile |
---|