Hi,Amos,
The config.log content:
configure:6175: checking simplified host os
configure:6184: result: freebsd (version 10.0)
configure:6649: checking if g++ supports C++0x features without
additional flags
configure:6686: c++ -c -g -O2 -march=native conftest.cpp >&5
conftest.cpp:15:21: error: expected parameter declarator
static_assert(sizeof(int) <= sizeof(T), "not big enough");
^
conftest.cpp:15:21: error: expected ')'
conftest.cpp:15:20: note: to match this '('
static_assert(sizeof(int) <= sizeof(T), "not big enough");
^
conftest.cpp:15:7: error: C++ requires a type specifier for all declarations
static_assert(sizeof(int) <= sizeof(T), "not big enough");
^~~~~~~~~~~~~
conftest.cpp:18:29: error: a space is required between consecutive right
angle brackets (use '> >')
typedef check<check<bool>> right_angle_brackets;
^~
> >
conftest.cpp:21:5: error: unknown type name 'decltype'
decltype(a) b;
^
conftest.cpp:21:16: error: expected ';' after top level declarator
decltype(a) b;
^
;
conftest.cpp:25:15: warning: rvalue references are a C++11 extension
[-Wc++11-extensions]
check_type&& cr = static_cast<check_type&&>(c);
^
conftest.cpp:25:45: warning: rvalue references are a C++11 extension
[-Wc++11-extensions]
check_type&& cr = static_cast<check_type&&>(c);
^
2 warnings and 6 errors generated.
Simon
于 14-2-18 19:16, Amos Jeffries 写道:
grep "checking simplified host os" config.log