[schilytools] [RELEASE] 2023-09-28

Robert Clausecker fuz at fuz.su
Sun Oct 1 05:33:44 CEST 2023


Hi Dennis,

Am Sat, Sep 30, 2023 at 11:27:10PM -0400 schrieb Dennis Clarke via schilytools:
> ../../../include/vroot/vroot.h:58:30: error: ISO C++17 does not allow
> 'register' storage class specifier [-Wregister]
> extern  void            add_dir_to_path(register const char *path, register
> pathpt *pointer, register int position);
>                                         ^~~~~~~~~

Thank you for your report.

This is a known issue where recent clang turns the warning for using "register"
into a hard error.  We track this bug in [issue 13] of our bug tracker.  I am
planning to remove all instances of the register keyword from C++ sources, but
so far have not gotten around to do so.  As a workaround, you can compile with
C++OPTX=-Wno-register.  But as some older compiler versions do not like this
option, we cannot currently make it a default.  This is in fact what we do on
FreeBSD (see port devel/sunpromake) to make the build work.

Yours,
Robert Causecker

[issue 13]: https://codeberg.org/schilytools/schilytools/issues/13

-- 
()  ascii ribbon campaign - for an 8-bit clean world 
/\  - against html email  - against proprietary attachments


More information about the schilytools mailing list