From: Michael Marineau Date: Thu, 9 Jul 2015 20:42:23 +0000 (-0700) Subject: Bail out on --save-temps, an alias for -save-temps X-Git-Tag: v3.2.3~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58f9abf656936c96b46f227581d398e85dec52ff;p=thirdparty%2Fccache.git Bail out on --save-temps, an alias for -save-temps --- diff --git a/NEWS.txt b/NEWS.txt index 193c52b65..47ba7839a 100644 --- a/NEWS.txt +++ b/NEWS.txt @@ -20,6 +20,8 @@ Bug fixes - Let exit handler terminate properly. +- Bail out on compiler option `--save-temps` in addition to `-save-temps`. + - Only log "Disabling direct mode" once when failing to read potential include files. diff --git a/compopt.c b/compopt.c index f774fc16f..e5b3e0a39 100644 --- a/compopt.c +++ b/compopt.c @@ -33,6 +33,7 @@ struct compopt { static const struct compopt compopts[] = { {"--param", TAKES_ARG}, + {"--save-temps", TOO_HARD}, {"--serialize-diagnostics", TAKES_ARG | TAKES_PATH}, {"-A", TAKES_ARG}, {"-D", AFFECTS_CPP | TAKES_ARG | TAKES_CONCAT_ARG},