On Apr 11 2025, Rainer Orth wrote:

> All users of symbols.h fail to compile on Solaris:
>
> /vol/gcc/src/hg/master/local/gcc/cobol/symbols.h: At global scope:
> /vol/gcc/src/hg/master/local/gcc/cobol/symbols.h:1365:13: error: ‘NAME_MAX’ 
> was not declared in this scope
>  1365 |   char name[NAME_MAX];
>       |             ^~~~~~~~
>
> NAME_MAX being undefined is allowed by POSIX.1, actually: it's listed
> for <limits.h> under "Pathname Variable Values":

It doesn't look like this member is accociated with file names at all.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."

Reply via email to