| 38 perform_check |
38 perform_check |
| 39 printf "Check $cc (c++)... " |
39 printf "Check $cc (c++)... " |
| 40 perform_check_cxx |
40 perform_check_cxx |
| 41 done |
41 done |
| 42 |
42 |
| |
43 for cxx in clang++ g++; do |
| |
44 printf "Check header errors/warnings with $cxx..." |
| |
45 if $cxx -o /dev/null -I src \ |
| |
46 -Werror -Wall -Wextra -pedantic tests/cpptest.cpp ; then |
| |
47 echo "ok." |
| |
48 else |
| |
49 echo "fail." |
| |
50 fi |
| |
51 done |
| |
52 |
| 43 printf "Check w/o szmul builtin... " |
53 printf "Check w/o szmul builtin... " |
| 44 ./configure --debug --disable-szmul-builtin > /dev/null |
54 ./configure --debug --disable-szmul-builtin > /dev/null |
| 45 perform_check |
55 perform_check |
| 46 printf "Check w/o szmul builtin (c++)... " |
56 printf "Check w/o szmul builtin (c++)... " |
| 47 perform_check_cxx |
57 perform_check_cxx |