diff options
author | burnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-06 22:28:08 +0000 |
---|---|---|
committer | burnus <burnus@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-06 22:28:08 +0000 |
commit | 5b1a0622b00b7a232e9c873b7456d5190880ef4d (patch) | |
tree | b35137605eff9613944fbb66e44d003776bda94d /libcpp | |
parent | 6f595bd1d9e547b8fc2bcc2307ede3dcc2ae27a2 (diff) | |
download | gcc-5b1a0622b00b7a232e9c873b7456d5190880ef4d.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204486 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp')
-rw-r--r-- | libcpp/ChangeLog | 5 | ||||
-rw-r--r-- | libcpp/macro.c | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog index 670affd90e7..64de79b287c 100644 --- a/libcpp/ChangeLog +++ b/libcpp/ChangeLog @@ -1,3 +1,8 @@ +2013-11-06 Tobias Burnus <burnus@net-b.de> + + * macro.c (_cpp_builtin_macro_text): Correct + wording of two warnings. + 2013-11-05 Tobias Burnus <burnus@net-b.de> * include/cpplib.h (CPP_W_DATE_TIME): Added. diff --git a/libcpp/macro.c b/libcpp/macro.c index 3a1728d6663..e359d158c03 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 |