gcc-wall
来自「rxvt经典的linux下的终端.小巧实用」· 代码 · 共 41 行
TXT
41 行
#!/bin/sh# gcc -Wall plus other important warnings not included in -Wallfor argdo case $arg in -O*) Wuninitialized=-Wuninitialized;; # only makes sense with `-O' esacdoneexec gcc \ -Wall $Wuninitialized \ -Wwrite-strings \ -Wcast-qual \ -Wbad-function-cast \ -Wpointer-arith \ -Wstrict-prototypes \ -Wmissing-prototypes \ -Wmissing-declarations \ -Wnested-externs \ -Wtraditional \ -Wconversion \ -Wcomment \ -Wcast-align \ -Winline \ -Wshadow \ -Wredundant-decls \ -Wid-clash-31 \ "$@"# -Wall implies:# -Wimplicit# -Wreturn-type# -Wunused# -Wswitch# -Wformat# -Wchar-subscripts# -Wparentheses# -Wmissing-braces------------------------------------------------------------------------------
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?