Skip to content

Commit

Permalink
Remove another snippet on clang
Browse files Browse the repository at this point in the history
  • Loading branch information
ckormanyos committed Oct 27, 2023
1 parent 611d5de commit 54da141
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion code_snippets/chapter03/chapter03.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ $GCC -std=$STD -Wall -Wextra -Wpedantic -Werror -O3 -m64 -fsanitize=address -fsa
$GCC -std=$STD -Wall -Wextra -Wpedantic -Werror -O3 -m64 -fsanitize=address -fsanitize=shift -fsanitize=shift-exponent -fsanitize=shift-base -fsanitize=integer-divide-by-zero -fsanitize=null -fsanitize=signed-integer-overflow -fsanitize=bounds -fsanitize=alignment -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow -fsanitize=enum ./chapter03_16-002_binary_literals.cpp -o ./bin/chapter03_16-002_binary_literals.exe
$GCC -std=$STD -Wall -Wextra -Wpedantic -Werror -O3 -m64 -fsanitize=address -fsanitize=shift -fsanitize=shift-exponent -fsanitize=shift-base -fsanitize=integer-divide-by-zero -fsanitize=null -fsanitize=signed-integer-overflow -fsanitize=bounds -fsanitize=alignment -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow -fsanitize=enum ./chapter03_17-001_user_defined_literals.cpp -o ./bin/chapter03_17-001_user_defined_literals.exe
$GCC -std=$STD -Wall -Wextra -Wpedantic -Werror -O3 -m64 -fsanitize=address -fsanitize=shift -fsanitize=shift-exponent -fsanitize=shift-base -fsanitize=integer-divide-by-zero -fsanitize=null -fsanitize=signed-integer-overflow -fsanitize=bounds -fsanitize=alignment -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow -fsanitize=enum ./chapter03_17-002_user_defined_literals.cpp -o ./bin/chapter03_17-002_user_defined_literals.exe
if [[ "$GCC" == "g++" ]]; then
$GCC -std=$STD -Wall -Wextra -Wpedantic -Werror -O3 -m64 -fsanitize=address -fsanitize=shift -fsanitize=shift-exponent -fsanitize=shift-base -fsanitize=integer-divide-by-zero -fsanitize=null -fsanitize=signed-integer-overflow -fsanitize=bounds -fsanitize=alignment -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow -fsanitize=enum ./chapter03_17-003_user_defined_literals.cpp -o ./bin/chapter03_17-003_user_defined_literals.exe
fi
$GCC -std=$STD -Wall -Wextra -Wpedantic -Werror -O3 -m64 -fsanitize=address -fsanitize=shift -fsanitize=shift-exponent -fsanitize=shift-base -fsanitize=integer-divide-by-zero -fsanitize=null -fsanitize=signed-integer-overflow -fsanitize=bounds -fsanitize=alignment -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow -fsanitize=enum ./chapter03_17-004_user_defined_literals.cpp -o ./bin/chapter03_17-004_user_defined_literals.exe
$GCC -std=$STD -Wall -Wextra -Wpedantic -Werror -O3 -m64 -fsanitize=address -fsanitize=shift -fsanitize=shift-exponent -fsanitize=shift-base -fsanitize=integer-divide-by-zero -fsanitize=null -fsanitize=signed-integer-overflow -fsanitize=bounds -fsanitize=alignment -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow -fsanitize=enum ./chapter03_17-005_user_defined_literals.cpp -o ./bin/chapter03_17-005_user_defined_literals.exe
$GCC -std=$STD -Wall -Wextra -Wpedantic -Werror -O3 -m64 -fsanitize=address -fsanitize=shift -fsanitize=shift-exponent -fsanitize=shift-base -fsanitize=integer-divide-by-zero -fsanitize=null -fsanitize=signed-integer-overflow -fsanitize=bounds -fsanitize=alignment -fsanitize=float-divide-by-zero -fsanitize=float-cast-overflow -fsanitize=enum ./chapter03_17-006_user_defined_literals.cpp -o ./bin/chapter03_17-006_user_defined_literals.exe
Expand Down Expand Up @@ -137,7 +139,6 @@ ls -la \
./bin/chapter03_16-002_binary_literals.exe \
./bin/chapter03_17-001_user_defined_literals.exe \
./bin/chapter03_17-002_user_defined_literals.exe \
./bin/chapter03_17-003_user_defined_literals.exe \
./bin/chapter03_17-004_user_defined_literals.exe \
./bin/chapter03_17-005_user_defined_literals.exe \
./bin/chapter03_17-006_user_defined_literals.exe \
Expand Down

0 comments on commit 54da141

Please sign in to comment.