Changement des flags de compilation gcc/g++
This commit is contained in:
parent
c99ba854dd
commit
94e6b35dc4
3 changed files with 12 additions and 12 deletions
|
@ -64,10 +64,10 @@ 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 -O3 main.c && ./a.out; rm a.out 2> /dev/null'"
|
fish -c "abbr gcc 'clear; gcc -Wall -Wextra -Wshadow -Wcast-align -Wstrict-prototypes -fanalyzer -g main.c && ./a.out; rm a.out 2> /dev/null'"
|
||||||
fish -c "abbr vgcc 'clear; gcc -Wall -Wextra -fanalyzer -O3 main.c && valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -s ./a.out; rm a.out 2> /dev/null'"
|
fish -c "abbr vgcc 'clear; gcc -Wall -Wextra -Wshadow -Wcast-align -Wstrict-prototypes -fanalyzer -g main.c && valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -s ./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 g++ 'clear; g++ -Wall -Wextra -Wshadow -Wnon-virtual-dtor -pedantic -g -Wold-style-cast -Wsign-conversion main.cpp && ./a.out; rm a.out 2> /dev/null'"
|
||||||
fish -c "abbr vg++ 'clear; g++ -Wall -Wextra -fanalyzer -O3 main.cpp && valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -s ./a.out; rm a.out 2> /dev/null'"
|
fish -c "abbr vg++ 'clear; g++ -Wall -Wextra -Wshadow -Wnon-virtual-dtor -pedantic -g -Wold-style-cast -Wsign-conversion main.cpp && valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -s ./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 vmake 'clear; make && valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -s ./main; make clean 2> /dev/null'"
|
fish -c "abbr vmake 'clear; make && valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -s ./main; make clean 2> /dev/null'"
|
||||||
fish -c "abbr activate 'source bin/activate.fish'"
|
fish -c "abbr activate 'source bin/activate.fish'"
|
||||||
|
|
|
@ -63,10 +63,10 @@ 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 -O3 main.c && ./a.out; rm a.out 2> /dev/null'"
|
fish -c "abbr gcc 'clear; gcc -Wall -Wextra -Wshadow -Wcast-align -Wstrict-prototypes -fanalyzer -g main.c && ./a.out; rm a.out 2> /dev/null'"
|
||||||
fish -c "abbr vgcc 'clear; gcc -Wall -Wextra -fanalyzer -O3 main.c && valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -s ./a.out; rm a.out 2> /dev/null'"
|
fish -c "abbr vgcc 'clear; gcc -Wall -Wextra -Wshadow -Wcast-align -Wstrict-prototypes -fanalyzer -g main.c && valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -s ./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 g++ 'clear; g++ -Wall -Wextra -Wshadow -Wnon-virtual-dtor -pedantic -g -Wold-style-cast -Wsign-conversion main.cpp && ./a.out; rm a.out 2> /dev/null'"
|
||||||
fish -c "abbr vg++ 'clear; g++ -Wall -Wextra -fanalyzer -O3 main.cpp && valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -s ./a.out; rm a.out 2> /dev/null'"
|
fish -c "abbr vg++ 'clear; g++ -Wall -Wextra -Wshadow -Wnon-virtual-dtor -pedantic -g -Wold-style-cast -Wsign-conversion main.cpp && valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -s ./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 vmake 'clear; make && valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -s ./main; make clean 2> /dev/null'"
|
fish -c "abbr vmake 'clear; make && valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -s ./main; make clean 2> /dev/null'"
|
||||||
fish -c "abbr activate 'source bin/activate.fish'"
|
fish -c "abbr activate 'source bin/activate.fish'"
|
||||||
|
|
8
wsl.sh
8
wsl.sh
|
@ -70,10 +70,10 @@ 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 -O3 main.c && ./a.out; rm a.out 2> /dev/null'"
|
fish -c "abbr gcc 'clear; gcc -Wall -Wextra -Wshadow -Wcast-align -Wstrict-prototypes -fanalyzer -g main.c && ./a.out; rm a.out 2> /dev/null'"
|
||||||
fish -c "abbr vgcc 'clear; gcc -Wall -Wextra -fanalyzer -O3 main.c && valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -s ./a.out; rm a.out 2> /dev/null'"
|
fish -c "abbr vgcc 'clear; gcc -Wall -Wextra -Wshadow -Wcast-align -Wstrict-prototypes -fanalyzer -g main.c && valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -s ./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 g++ 'clear; g++ -Wall -Wextra -Wshadow -Wnon-virtual-dtor -pedantic -g -Wold-style-cast -Wsign-conversion main.cpp && ./a.out; rm a.out 2> /dev/null'"
|
||||||
fish -c "abbr vg++ 'clear; g++ -Wall -Wextra -fanalyzer -O3 main.cpp && valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -s ./a.out; rm a.out 2> /dev/null'"
|
fish -c "abbr vg++ 'clear; g++ -Wall -Wextra -Wshadow -Wnon-virtual-dtor -pedantic -g -Wold-style-cast -Wsign-conversion main.cpp && valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -s ./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 vmake 'clear; make && valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -s ./main; make clean 2> /dev/null'"
|
fish -c "abbr vmake 'clear; make && valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes -s ./main; make clean 2> /dev/null'"
|
||||||
fish -c "abbr activate 'source bin/activate.fish'"
|
fish -c "abbr activate 'source bin/activate.fish'"
|
||||||
|
|
Loading…
Reference in a new issue