Ticket #31525: log_sample.cpp_after.txt

File log_sample.cpp_after.txt, 2.8 KB (added by takanori@…, 13 years ago)
Line 
1$ clang++ --version
2Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)
3Target: x86_64-apple-darwin11.1.0
4Thread model: posix
5
6$ llvm-g++-4.2 --version
7i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
8Copyright (C) 2007 Free Software Foundation, Inc.
9This is free software; see the source for copying conditions.  There is NO
10warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11
12$ g++ --version
13i686-apple-darwin11-llvm-g++-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00)
14Copyright (C) 2007 Free Software Foundation, Inc.
15This is free software; see the source for copying conditions.  There is NO
16warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17
18$ g++ sample.cpp -I/opt/local/include -L/opt/local/lib -lboost_system-mt -lboost_regex-mt -licudata -licui18n -licuuc
19
20takanori@hermit$ clang++ sample.cpp -I/opt/local/include -L/opt/local/lib -lboost_system-mt -lboost_regex-mt -licudata -licui18n -licuuc
21In file included from sample.cpp:2:
22In file included from /opt/local/include/boost/regex.hpp:31:
23In file included from /opt/local/include/boost/regex/v4/regex.hpp:70:
24/opt/local/include/boost/regex/v4/basic_regex_creator.hpp:1027:34: warning: equality comparison with extraneous
25      parentheses [-Wparentheses]
26            else if((state->type == syntax_element_long_set_rep))
27                     ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28/opt/local/include/boost/regex/v4/basic_regex_creator.hpp:1027:34: note: remove extraneous parentheses around the
29      comparison to silence this warning
30            else if((state->type == syntax_element_long_set_rep))
31                    ~            ^                             ~
32/opt/local/include/boost/regex/v4/basic_regex_creator.hpp:1027:34: note: use '=' to turn this equality comparison
33      into an assignment
34            else if((state->type == syntax_element_long_set_rep))
35                                 ^~
36                                 =
37/opt/local/include/boost/regex/v4/basic_regex_creator.hpp:1328:28: warning: equality comparison with extraneous
38      parentheses [-Wparentheses]
39               if((p->type == syntax_element_recurse))
40                   ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
41/opt/local/include/boost/regex/v4/basic_regex_creator.hpp:1328:28: note: remove extraneous parentheses around the
42      comparison to silence this warning
43               if((p->type == syntax_element_recurse))
44                  ~        ^                        ~
45/opt/local/include/boost/regex/v4/basic_regex_creator.hpp:1328:28: note: use '=' to turn this equality comparison
46      into an assignment
47               if((p->type == syntax_element_recurse))
48                           ^~
49                           =
502 warnings generated.
51
52$ ./a.out
53
54
55
56
57