From 114883e078f2137d6e44f6449a79eb5e5417fd60 Mon Sep 17 00:00:00 2001 From: bellard Date: Fri, 17 Oct 2003 20:43:47 +0000 Subject: added -funsigned-char, -fsigned-char and -Wimplicit-function-declaration --- tcc-doc.texi | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'tcc-doc.texi') diff --git a/tcc-doc.texi b/tcc-doc.texi index 8d25226..6261b5d 100644 --- a/tcc-doc.texi +++ b/tcc-doc.texi @@ -199,6 +199,20 @@ also be defined: @option{-DF(a)=a+1} Undefine preprocessor symbol @samp{sym}. @end table +Compilation flags: + +Note: each of the following warning options has a negative form beginning with +@option{-fno-}. + +@table @option +@item -funsigned-char +Let the @code{char} type be unsigned. + +@item -fsigned-char +Let the @code{char} type be signed. + +@end table + Warning options: @table @option @@ -211,11 +225,14 @@ Note: each of the following warning options has a negative form beginning with @option{-Wno-}. @table @option +@item -Wimplicit-function-declaration +Warn about implicit function declaration. + @item -Wunsupported Warn about unsupported GCC features that are ignored by TCC. @item -Wwrite-strings -Make string constants being of type @code{const char *} intead of @code{char +Make string constants be of type @code{const char *} instead of @code{char *}. @item -Werror @@ -223,7 +240,7 @@ Abort compilation if warnings are issued. @item -Wall Activate all warnings, except @option{-Werror}, @option{-Wunusupported} and -@option{-Wwrite-strings} (currently not useful). +@option{-Wwrite-strings}. @end table -- cgit v1.3.1