diff --git a/example/gcc_lambda.cpp b/example/gcc_lambda.cpp index 7f33bd6..602ad81 100644 --- a/example/gcc_lambda.cpp +++ b/example/gcc_lambda.cpp @@ -7,7 +7,7 @@ #include #ifndef __GNUC__ -# error "GCC compiler required (uses non-standard GCC statement expressions)" +# error "GCC required (using non-standard GCC statement expressions)" #else #include "gcc_lambda.hpp" diff --git a/test/goto_error.cpp b/test/goto_error.cpp index 8d1597a..3d64695 100644 --- a/test/goto_error.cpp +++ b/test/goto_error.cpp @@ -22,7 +22,7 @@ int error(int x, int y) { } BOOST_LOCAL_FUNCTION_NAME(validate) return validate(x + y); -faliure: +failure: return -1; } //] diff --git a/test/goto_error_seq.cpp b/test/goto_error_seq.cpp index 41c8217..e4900c0 100644 --- a/test/goto_error_seq.cpp +++ b/test/goto_error_seq.cpp @@ -16,7 +16,7 @@ int error(int x, int y) { } BOOST_LOCAL_FUNCTION_NAME(validate) return validate(x + y); -faliure: +failure: return -1; } diff --git a/test/operator_error.cpp b/test/operator_error.cpp index 08f8945..d0101c3 100644 --- a/test/operator_error.cpp +++ b/test/operator_error.cpp @@ -19,7 +19,7 @@ struct point { int y; }; -BOOST_AUTO_TEST_CASE(test_operator_error) { +int main(void) { bool BOOST_LOCAL_FUNCTION(const point& p, const point& q) { return p.x == q.x && p.y == q.y; } BOOST_LOCAL_FUNCTION_NAME(operator==) // Error: Cannot use `operator...`.