diff options
author | Tobias Burnus <burnus@net-b.de> | 2013-11-06 23:28:08 +0100 |
---|---|---|
committer | Tobias Burnus <burnus@gcc.gnu.org> | 2013-11-06 23:28:08 +0100 |
commit | 5157b91ea39549aba181ca118820b1f439f48b45 (patch) | |
tree | b35137605eff9613944fbb66e44d003776bda94d /libcpp/macro.c | |
parent | e276866fd756cad24eb1a50c0abfceb8bf043e98 (diff) | |
download | gcc-5157b91ea39549aba181ca118820b1f439f48b45.zip gcc-5157b91ea39549aba181ca118820b1f439f48b45.tar.gz gcc-5157b91ea39549aba181ca118820b1f439f48b45.tar.bz2 |
macro.c (_cpp_builtin_macro_text): Correct wording of two warnings.
libcpp/
2013-11-06 Tobias Burnus <burnus@net-b.de>
* macro.c (_cpp_builtin_macro_text): Correct
wording of two warnings.
gcc/c-family/
2013-11-06 Tobias Burnus <burnus@net-b.de>
* c-common.c (reason_option_codes_t): Add CPP_W_DATE_TIME.
gcc/
2013-11-06 Tobias Burnus <burnus@net-b.de>
* doc/invoke.texi (Wdate-time): Fix typo.
gcc/testsuite/
2013-11-06 Tobias Burnus <burnus@net-b.de>
* g++.dg/warn/wdate-time.C: Update dg-error pattern.
* gcc.dg/wdate-time.c: Ditto.
* gfortran.dg/wdate-time.F90: Ditto.
From-SVN: r204486
Diffstat (limited to 'libcpp/macro.c')
-rw-r--r-- | libcpp/macro.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libcpp/macro.c b/libcpp/macro.c index 3a1728d..e359d15 100644 --- a/libcpp/macro.c +++ b/libcpp/macro.c @@ -233,8 +233,8 @@ _cpp_builtin_macro_text (cpp_reader *pfile, cpp_hashnode *node) case BT_TIMESTAMP: { if (CPP_OPTION (pfile, warn_date_time)) - cpp_warning (pfile, CPP_W_DATE_TIME, "Macro \"%s\" might prevent " - "reproduce builds", NODE_NAME (node)); + cpp_warning (pfile, CPP_W_DATE_TIME, "macro \"%s\" might prevent " + "reproducible builds", NODE_NAME (node)); cpp_buffer *pbuffer = cpp_get_buffer (pfile); if (pbuffer->timestamp == NULL) @@ -330,8 +330,8 @@ _cpp_builtin_macro_text (cpp_reader *pfile, cpp_hashnode *node) case BT_DATE: case BT_TIME: if (CPP_OPTION (pfile, warn_date_time)) - cpp_warning (pfile, CPP_W_DATE_TIME, "Macro \"%s\" might prevent " - "reproduce builds", NODE_NAME (node)); + cpp_warning (pfile, CPP_W_DATE_TIME, "macro \"%s\" might prevent " + "reproducible builds", NODE_NAME (node)); if (pfile->date == NULL) { /* Allocate __DATE__ and __TIME__ strings from permanent |