Allow returning something of type void in a function that returns void
[delight/core.git] / gdc.1
blobea1b5a6d0790718bd4126be2c0b3101bed42c8ff
1 .TH gdc 1
2 .SH NAME
3 gdc - D Front End for GCC
4 .SH SYNOPSIS
5 .B gdc
6 .I [ -switch ]
7 files.d
8 ...
10 Only the new options are listed here;
11 gdc accepts mostly the same options as gcc.
12 .SH OPTIONS
13 .IP files.d
14 .IP files.htm
15 .IP files.html
16 D source files
17 .IP files.o  
18 Object files to link in
19 .IP files.a
20 Library files to link in
21 .IP  -frelease
22 compile release version
23 .IP  -funittest
24 compile in unit tests
25 .IP  -fdeprecated
26 allow deprecated features
27 .IP  -fversion=ident
28 compile in version code identified by ident
29 .IP -femit-templates[=full|private|none|auto]
30 Controls whether or not template code is emitted.
32 .RS
33 .IP "full"
34 Emit templates, expecting multiple copies to be merged by the linker.
35 .IP "private"
36 Emit templates, but make them private to the translation unit. 
37 The executable will have multiple copies of code and data.
38 .IP "none"
39 Do not emit templates at all.
40 .IP "auto"
41 For targets that support templates, the "full" mode is used. 
42 Otherwise, the "private" mode is used.
43 .RE
44 .IP -f[no-]bounds-check
45 Controls array bounds checking
46 .IP -fall-sources
47 For each source file on the command line, semantically process each file
48 preceding it.  Use this if compilation errors occur due to complicated
49 circular module references.  This will slow compilation noticeably.
50 .SH SEE ALSO
51 .BR gcc(1)
52 .SH AUTHOR
53 Copyright (C) 2004 David Friedman