Andreas Schwab <sch...@linux-m68k.org> writes:

> 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.

You're right: seems to be all about COBOL function names.  No idea what
value is appropriate/required here, though.

        Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to