On Fri, Apr 11, 2025 at 11:11 AM Rainer Orth
wrote:
>
> util.cc doesn't compile on Solaris:
>
> /vol/gcc/src/hg/master/local/gcc/cobol/util.cc:2135:7: error: using
> typedef-name ‘timespec_t’ after ‘class’
> 2135 | class timespec_t {
> | ^~
>
> This happens because declares
util.cc doesn't compile on Solaris:
/vol/gcc/src/hg/master/local/gcc/cobol/util.cc:2135:7: error: using
typedef-name ‘timespec_t’ after ‘class’
2135 | class timespec_t {
| ^~
This happens because declares timespec_t itself. In fact,
POSIX.1 reserves every *_t identifier, s