[PATCH] libgcobol: Use strchr instead of index

2025-04-11 Thread Rainer Orth
valconf.cc doesn't compile on Solaris: cobol/valconv.cc: In function ‘bool __gg__string_to_numeric_edited(char*, char*, int, int, const char*)’: cobol/valconv.cc:856:40: error: ‘index’ was not declared in this scope; did you mean ‘Rindex’? 856 | const char *decimal_location = index(des

Re: [PATCH] libgcobol: Use strchr instead of index

2025-04-11 Thread Jakub Jelinek
On Fri, Apr 11, 2025 at 11:29:41AM +0200, Rainer Orth wrote: > valconf.cc doesn't compile on Solaris: > > cobol/valconv.cc: In function ‘bool __gg__string_to_numeric_edited(char*, > char*, int, int, const char*)’: > cobol/valconv.cc:856:40: error: ‘index’ was not declared in this scope; did > yo