We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76df97f commit 4a1994bCopy full SHA for 4a1994b
selfcheck.sh
@@ -3,4 +3,8 @@
3
output=$(./simplecpp simplecpp.cpp -e 2>&1)
4
ec=$?
5
echo "$output" | grep -v 'Header not found: <'
6
-exit $ec
+exit $ec
7
+
8
+# TODO: also run with libc++
9
+gcc_ver=$(gcc -dumpversion)
10
+./simplecpp simplecpp.cpp -e -f -D__GNUC__ -D__STDC__ -D__STDC_HOSTED__ -D__CHAR_BIT__=8 -I"/usr/include" -I"/usr/include/linux" -I"/usr/include/c++/$gcc_ver" -I"/usr/include/c++/$gcc_ver/x86_64-pc-linux-gnu" -I"/usr/lib64/gcc/x86_64-pc-linux-gnu/$gcc_ver/include"
0 commit comments