Ajout de -03 et suppression de c++17

This commit is contained in:
Mylloon 2022-04-01 22:37:22 +02:00
parent e9419f502f
commit cf2e7a4b54
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
3 changed files with 6 additions and 6 deletions

View file

@ -64,8 +64,8 @@ then
fish -c "abbr ls 'exa -glh'" fish -c "abbr ls 'exa -glh'"
fish -c "abbr cp 'cp -rv'" fish -c "abbr cp 'cp -rv'"
fish -c "abbr rm 'rm -rf'" fish -c "abbr rm 'rm -rf'"
fish -c "abbr gcc 'clear; gcc -Wall -Wextra -fanalyzer main.c && ./a.out; rm a.out 2> /dev/null'" fish -c "abbr gcc 'clear; gcc -Wall -Wextra -fanalyzer -O3 main.c && ./a.out; rm a.out 2> /dev/null'"
fish -c "abbr g++ 'clear; g++ -Wall -Wextra -fanalyzer -std=c++17 main.cpp && ./a.out; rm a.out 2> /dev/null'" fish -c "abbr g++ 'clear; g++ -Wall -Wextra -fanalyzer -O3 main.cpp && ./a.out; rm a.out 2> /dev/null'"
fish -c "abbr make 'clear; make && ./main; make clean 2> /dev/null'" fish -c "abbr make 'clear; make && ./main; make clean 2> /dev/null'"
fish -c "abbr activate 'source bin/activate.fish'" fish -c "abbr activate 'source bin/activate.fish'"
fish -c "abbr c 'command'" fish -c "abbr c 'command'"

View file

@ -62,8 +62,8 @@ then
fish -c "abbr ls 'exa -glh'" fish -c "abbr ls 'exa -glh'"
fish -c "abbr cp 'cp -rv'" fish -c "abbr cp 'cp -rv'"
fish -c "abbr rm 'rm -rf'" fish -c "abbr rm 'rm -rf'"
fish -c "abbr gcc 'clear; gcc -Wall -Wextra -fanalyzer main.c && ./a.out; rm a.out 2> /dev/null'" fish -c "abbr gcc 'clear; gcc -Wall -Wextra -fanalyzer -O3 main.c && ./a.out; rm a.out 2> /dev/null'"
fish -c "abbr g++ 'clear; g++ -Wall -Wextra -fanalyzer -std=c++17 main.cpp && ./a.out; rm a.out 2> /dev/null'" fish -c "abbr g++ 'clear; g++ -Wall -Wextra -fanalyzer -O3 main.cpp && ./a.out; rm a.out 2> /dev/null'"
fish -c "abbr make 'clear; make && ./main; make clean 2> /dev/null'" fish -c "abbr make 'clear; make && ./main; make clean 2> /dev/null'"
fish -c "abbr activate 'source bin/activate.fish'" fish -c "abbr activate 'source bin/activate.fish'"
fish -c "abbr c 'command'" fish -c "abbr c 'command'"

4
wsl.sh
View file

@ -64,8 +64,8 @@ then
fish -c "abbr ls 'exa -glh'" fish -c "abbr ls 'exa -glh'"
fish -c "abbr cp 'cp -rv'" fish -c "abbr cp 'cp -rv'"
fish -c "abbr rm 'rm -rf'" fish -c "abbr rm 'rm -rf'"
fish -c "abbr gcc 'clear; gcc -Wall -Wextra -fanalyzer main.c && ./a.out; rm a.out 2> /dev/null'" fish -c "abbr gcc 'clear; gcc -Wall -Wextra -fanalyzer -O3 main.c && ./a.out; rm a.out 2> /dev/null'"
fish -c "abbr g++ 'clear; g++ -Wall -Wextra -fanalyzer -std=c++17 main.cpp && ./a.out; rm a.out 2> /dev/null'" fish -c "abbr g++ 'clear; g++ -Wall -Wextra -fanalyzer -O3 main.cpp && ./a.out; rm a.out 2> /dev/null'"
fish -c "abbr make 'clear; make && ./main; make clean 2> /dev/null'" fish -c "abbr make 'clear; make && ./main; make clean 2> /dev/null'"
fish -c "abbr activate 'source bin/activate.fish'" fish -c "abbr activate 'source bin/activate.fish'"
fish -c "abbr c 'command'" fish -c "abbr c 'command'"