Allow returning something of type void in a function that returns void
[delight/core.git] / lang.opt
blob086413a3b2dc463d18412d8a81fa855b2d175ced
1 ; GDC -- D front-end for GCC
2 ; Copyright (C) 2004 David Friedman
3 ;   
4 ; This program is free software; you can redistribute it and/or modify
5 ; it under the terms of the GNU General Public License as published by
6 ; the Free Software Foundation; either version 2 of the License, or
7 ; (at your option) any later version.
8
9 ; This program is distributed in the hope that it will be useful,
10 ; but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 ; GNU General Public License for more details.
13
14 ; You should have received a copy of the GNU General Public License
15 ; along with this program; if not, write to the Free Software
16 ; Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18 ; This is used in GCC 3.4+
20 Language
24 D Joined Separate
25 -I <dir>        Add <dir> to the end of the main include path.
28 D Joined Separate
29 -J <dir>        Add <dir> to the end of the string import path.
31 fdeprecated
33 Allow use of deprecated features
35 fassert
37 Generate runtime code for assert()'s
39 frelease
41 Compile release version
43 funittest
45 Compile in unittest code
47 fversion=
48 D Joined RejectNegative
49 -fversion=<level|ident> Compile in version code >= <level> or identified by <ident>
51 fdebug=
52 D Joined RejectNegative
53 -fdebug,-fdebug=<level>,-fdebug=<ident> Compile in debug code, code <= level, or code identified by ident
55 fdebug
57 Compile in debug code
59 fdebug-c
61 With -g, generate C debug information for debugger compatibility
63 fd-verbose
65 Print information about D language processing to stdout
67 fd-version=1
68 D RejectNegative
69 Compile as D language version 1
71 femit-templates=
72 D Joined RejectNegative
73 -femit-templates=[normal|private|all|none|auto] Control template emission
75 femit-templates
77 -femit-templates Emit templates code and data even if the linker cannot merge multiple copies
79 nostdinc
81 Do not search standard system include directories
83 fonly=
84 D Joined RejectNegative
85 Process all modules specified on the command line, but only generate code for the module specified by the argument.
87 fod=
88 D Joined RejectNegative
89 -fod=<directory> Specify the object output directory. Note: this is actually a driver option; the backend ignores it.
91 fop
93 Specify that the source file's parent directories should be appended to the object output directory. Note: this is actually a driver option; the backend ignores it.
95 fignore-unknown-pragmas
97 Ignore unsupported pragmas
99 fintfc
100 Generate D interface files
102 fintfc-dir=
103 D Joined RejectNegative
104 -fintfc-dir=<dir> Write D interface files to directory <dir>
106 fintfc-file=
107 D Joined RejectNegative
108 -fintfc-file=<filename> Write D interface file to <filename>
110 fdoc
112 Generate documentation
114 fdoc-dir=
115 D Joined RejectNegative
116 -fdoc-dir=<docdir> Write documentation file to docdir directory
118 fdoc-file=
119 D Joined RejectNegative
120 -fdoc-file=<filename> Write documentation file to filename
122 fdoc-inc=
123 D Joined RejectNegative
124 -fdoc-inc=<filename> Include a Ddoc macro file
126 fmultilib-dir=
127 D Joined RejectNegative
128 -fmultilib-dir=<dir> Select header multilib subdirectory
130 Wsign-compare
132 Warn about signed-unsigned comparisons
134 fdump-source
135 D RejectNegative
136 Dump decoded UTF-8 text and source from HTML
138 fbuiltin
140 Recognize built-in functions
142 funsigned-char
144 Make \"char\" unsigned by default (silently ignored in D)
146 fsigned-char
148 Make \"char\" signed by default (silently ignored in D)
150 iprefix
151 D Joined Separate
152 -iprefix <path> Specify <path> as a prefix for next two options
154 isysroot
155 D Joined Separate
156 -isysroot <dir> Set <dir> to be the system root directory
158 isystem
159 D Joined Separate
160 -isystem <dir>  Add <dir> to the start of the system include path
162 Wall
164 Enable most warning messages