[Bug ada/91268] [10 Regression] adaint.c:38: warning: "_REENTRANT" redefined

dave.anglin at bell dot net gcc-bugzilla@gcc.gnu.org
Sat Jul 27 13:04:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91268

--- Comment #1 from dave.anglin at bell dot net ---
Another new issue:

In file included from ../../gcc/gcc/ada/adadecode.c:35:
../../gcc/gcc/ada/adadecode.c: In function 'void __gnat_decode(const char*,
char
*, int)':
../../gcc/gcc/ada/adadecode.c:260:34: error: array subscript has type 'char'
[-Werror=char-subscripts]
  260 |     while (ISDIGIT (ada_name[last]) && last > 0)
      |                     ~~~~~~~~~~~~~^
../../gcc/gcc/ada/adadecode.c:260:12: note: in expansion of macro 'ISDIGIT'
  260 |     while (ISDIGIT (ada_name[last]) && last > 0)
      |            ^~~~~~~
cc1plus: all warnings being treated as errors
Makefile:1118: recipe for target 'ada/adadecode.o' failed


More information about the Gcc-bugs mailing list