File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ elif [ "$cxx_type" = "clang" ]; then
2929 # clang_ver=$($CXX -dumpversion)
3030 # clang_ver=${clang_ver%%.*}
3131 find /usr/include -name cctype
32- ./simplecpp simplecpp.cpp -e -f -std=gnu++11 -D__BYTE_ORDER__ -D__GNUC__ -I" /usr/include/c++/v1"
32+ ./simplecpp simplecpp.cpp -e -f -std=gnu++11 -D__BYTE_ORDER__ -D__GNUC__=13 -I" /usr/include/c++/v1"
3333 ec=$?
3434 if [ $ec -ne 0 ]; then
3535 exit $ec
@@ -39,7 +39,7 @@ elif [ "$cxx_type" = "Apple" ]; then
3939 # clang_ver=${clang_ver%%.*}
4040 find /Application -name cctype
4141 # 16.1 is a Xcode version common to all used platforms
42- ./simplecpp simplecpp.cpp -e -f -std=gnu++11 -D__BYTE_ORDER__ -D__GNUC__ -I" /Applications/Xcode_16.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include" -I" /Applications/Xcode_16.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1"
42+ ./simplecpp simplecpp.cpp -e -f -std=gnu++11 -D__BYTE_ORDER__ -D__GNUC__=13 -I" /Applications/Xcode_16.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include" -I" /Applications/Xcode_16.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1"
4343 ec=$?
4444 if [ $ec -ne 0 ]; then
4545 exit $ec
You can’t perform that action at this time.
0 commit comments