aboutsummaryrefslogtreecommitdiff
path: root/tcc-doc.texi
diff options
context:
space:
mode:
authorbellard <bellard>2003-10-17 20:43:47 +0000
committerbellard <bellard>2003-10-17 20:43:47 +0000
commit114883e078f2137d6e44f6449a79eb5e5417fd60 (patch)
treeab8558b57102d55be8ebd410a7fd48d115de05a4 /tcc-doc.texi
parent7a5123a770556fc22cd303961160f8c2dbe06e9c (diff)
downloadtinycc-114883e078f2137d6e44f6449a79eb5e5417fd60.tar.gz
tinycc-114883e078f2137d6e44f6449a79eb5e5417fd60.tar.bz2
added -funsigned-char, -fsigned-char and -Wimplicit-function-declaration
Diffstat (limited to 'tcc-doc.texi')
-rw-r--r--tcc-doc.texi21
1 files changed, 19 insertions, 2 deletions
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