summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2013-10-23 12:34:33 +0200
committerMatthias Braun <matze@braunis.de>2013-10-23 12:34:33 +0200
commitaeb6766d99b48e4e7c2bc00349e802067cb43817 (patch)
tree57b348a08f44826a10eb314b296fb6b66e840208
parentb48f936d7d073eef665d7ba2bab5e22e99f08254 (diff)
delay printing of include pathsuntil preprocessor is set upoptions
-rw-r--r--driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver.c b/driver.c
index 18d44b8..5f42a5d 100644
--- a/driver.c
+++ b/driver.c
@@ -598,6 +598,8 @@ static bool start_preprocessing(compilation_unit_t *unit, FILE *out,
append_standard_include_paths();
append_environment_include_paths();
init_preprocessor();
+ if (driver_verbose)
+ print_include_paths();
add_predefined_macros();
if (mode == MODE_PREPROCESS_ONLY) {
@@ -1006,8 +1008,6 @@ int action_compile(const char *argv0)
if (do_timing)
timer_init();
- if (driver_verbose)
- print_include_paths();
char outnamebuf[4096];
if (outname == NULL) {