diff options
author | Joel Rosdahl <joel@rosdahl.net> | 2016-07-27 20:49:00 +0200 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2016-07-27 22:13:24 +0200 |
commit | eb3148ca25cb90ef74570c8503d91dc1fe30904d (patch) | |
tree | ca606d115b24d85c0c1b974fb01946b8a6f825af /conf.c | |
parent | 5afd456829563fe7e8bf48df3e659f7c7d535a8e (diff) | |
download | ccache-eb3148ca25cb90ef74570c8503d91dc1fe30904d.tar.gz |
Let run_second_cpp default to true
ccache has since day 1 (OK, actually day 13: 5f6f5010) relied on the
fact that GCC and similar enough compilers are able to compile their own
preprocessed output with the same outcome as if they compiled the real
source code directly.
However, newer versions of GCC no longer quite work this way since they
perform an increasing amount of diagnostics analysis only if the source
code is compiled directly. The same goes for Clang. It's impossible for
ccache to work around this changed behavior in a good way.
Closes #116.
Diffstat (limited to 'conf.c')
-rw-r--r-- | conf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -318,7 +318,7 @@ conf_create(void) conf->read_only = false; conf->read_only_direct = false; conf->recache = false; - conf->run_second_cpp = false; + conf->run_second_cpp = true; conf->sloppiness = 0; conf->stats = true; conf->temporary_dir = x_strdup(""); |