diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-10-03 17:41:32 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-10-03 17:41:47 -0700 |
commit | cdd4155d6c527c00a89606385859984e35bd2910 (patch) | |
tree | 62bb427dd22c415e623b6030975e578468937789 /ChangeLog | |
parent | d8f619b393a230497d201398e184e3b384a263d3 (diff) | |
download | glibc-cdd4155d6c527c00a89606385859984e35bd2910.tar.gz |
test-math-iscanonical.cc: Replace bool with int
Fix GCC 7 compilation error:
test-math-iscanonical.cc: In function ‘void check_type()’:
test-math-iscanonical.cc:33:11: error: use of an operand of type ‘bool’ in ‘operator++’ is deprecated [-Werror=deprecated]
errors++;
^~
* math/test-math-iscanonical.cc (error): Replace bool with int.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,3 +1,7 @@ +2017-10-03 H.J. Lu <hongjiu.lu@intel.com> + + * math/test-math-iscanonical.cc (error): Replace bool with int. + 2017-10-03 Joseph Myers <joseph@codesourcery.com> * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>. |