File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,9 @@ $(H2 $(LNAME2 preprocessor, Preprocessor))
150
150
$(LI Otherwise the $(TT cpp) preprocessor will be used.)
151
151
)
152
152
153
- $(P The druntime file $(TT src/importc.h) will automatically be $(TT #include)d.)
153
+ $(P The druntime file $(LINK2 https://github.com/dlang/dmd/blob/master/druntime/src/importc.h, $(TT src/importc.h))
154
+ will automatically be $(TT #include)d first. $(TT importc.h) provides adjustments to the source code to
155
+ account for various C compiler extensions not supported by ImportC.)
154
156
155
157
$(P The $(DDSUBLINK dmd, switch-v, $(TT -v)) switch can be used to observe the command
156
158
that invokes the preprocessor.
@@ -279,6 +281,13 @@ $(H2 $(LNAME2 preprocessor-directives, Preprocessor Directives))
279
281
$(LI $(TT #pragma pack ( pop PopList )))
280
282
)
281
283
284
+ $(H2 $(LNAME2 _builtins, $(TT src/__builtins.di)))
285
+
286
+ $(P The first thing the compiler does when preprocessing is complete is to import
287
+ $(LINK2 https://github.com/dlang/dmd/blob/master/druntime/src/__builtins.di, $(TT src/__builtins.di)).
288
+ It provides support for various builtins provided by other C compilers.
289
+ $(TT __builtins.di) is a D file.)
290
+
282
291
$(H2 $(LNAME2 implementation, Implementation))
283
292
284
293
$(P The implementation defined characteristics of ImportC are:)
You can’t perform that action at this time.
0 commit comments