-
Notifications
You must be signed in to change notification settings - Fork 0
/
gcc.sh
executable file
·44 lines (41 loc) · 8.79 KB
/
gcc.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# ^^gcc.sh: Shows all warnings and errors generated by GCC, without compiling object files
rm *.o 2> /dev/null > __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_archive.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_array.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_byte_array.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_bytes.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_c_precompiled.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_canvas.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_clipboard.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_color.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_console.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_crypto.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_csv.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_dtime.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_file.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_font.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_functions.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_hash.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_html_functions.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_html_generator.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_html_list.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_http_server.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_key.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_language.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_libc.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_logging.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_mutex.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_network.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_number.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_object_wrapper.inc.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_pdf.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_pdf_report.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_point.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_string_class.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_stringc.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_system.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_variant_functions.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_win_registry.c 2>> __gcc.txt
gcc -c -Wall -Wextra -Wfloat-equal -Winit-self -Winline -Wmain -Wmissing-declarations -Wmissing-include-dirs -Wredundant-decls -Wshadow -Wswitch-default -Wswitch-enum -Wundef -Wunreachable-code libex_xml_reader.c 2>> __gcc.txt
rm *.o 2> /dev/null
cat __gcc.txt