From michel at michel-slm.name Wed Jan 22 19:22:52 2025 From: michel at michel-slm.name (Michel Lind) Date: Wed, 22 Jan 2025 21:22:52 -0600 Subject: [Nickle] Mailing list archive down? Message-ID: Hi Keith, http://keithp.com/mailman/listinfo/nickle has been inaccessible for quite a while now, any idea if this can be restored soon? Thanks, -- _o) Michel Lind _( ) identities: https://keyoxide.org/5dce2e7e9c3b1cffd335c1d78b229d2f7ccc04f2 README: https://fedoraproject.org/wiki/User:Salimma#README -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 228 bytes Desc: not available URL: From michel at michel-slm.name Wed Jan 22 19:26:59 2025 From: michel at michel-slm.name (Michel Lind) Date: Wed, 22 Jan 2025 21:26:59 -0600 Subject: [Nickle] Can't compile with GCC 15's -std=gnu23 Message-ID: Hi Keith, nickle up the latest git commit has a union in `gram.y` where one of the field is `Bool bool` -- however, `bool` is now a reserved keyword Build failure: https://kojipkgs.fedoraproject.org//work/tasks/652/128020652/build.log ``` gram.y:87:21: error: two or more data types in declaration specifiers 87 | Bool bool; | ^~~~ gram.y:87:25: warning: declaration does not declare anything 87 | Bool bool; | ^ ``` https://gcc.gnu.org/gcc-15/porting_to.html (see "C23 by default") For now I'm working around it in Fedora by switching back to -std=gnu17, but it'd be nice to not use this workaround https://src.fedoraproject.org/rpms/nickle/c/748bf2d8383a434195a85b4e6ce97e5687717d55?branch=rawhide Best regards, -- _o) Michel Lind _( ) identities: https://keyoxide.org/5dce2e7e9c3b1cffd335c1d78b229d2f7ccc04f2 README: https://fedoraproject.org/wiki/User:Salimma#README -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 228 bytes Desc: not available URL: From keithp at keithp.com Wed Jan 22 22:06:10 2025 From: keithp at keithp.com (Keith Packard) Date: Wed, 22 Jan 2025 22:06:10 -0800 Subject: [Nickle] Mailing list archive down? In-Reply-To: References: Message-ID: <878qr212ul.fsf@keithp.com> From: Michel Lind Date: Wed, 22 Jan 2025 21:22:52 -0600 Hi Keith, > http://keithp.com/mailman/listinfo/nickle has been inaccessible for > quite a while now, any idea if this can be restored soon? Mailman is no longer safe to run in the modern era -- it just gets overwhelmed with spam. The list itself should still be usable though? -- -keith -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 832 bytes Desc: not available URL: From keithp at keithp.com Wed Jan 22 22:13:06 2025 From: keithp at keithp.com (Keith Packard) Date: Wed, 22 Jan 2025 22:13:06 -0800 (PST) Subject: [Nickle] nickle: Branch 'master' Message-ID: <20250123061306.6818D3F22B7B@elaine.keithp.com> gram.y | 4 ++-- meson.build | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) New commits: commit 6906f1dd06fc0302bb695c7fdbbf3ba25b9a70a7 Author: Keith Packard Date: Wed Jan 22 22:12:23 2025 -0800 Switch 'bool' in %union to 'boolean' for C23 compatibility C23 makes 'bool' a keyword, so we can no longer use it as a union member. Signed-off-by: Keith Packard diff --git a/gram.y b/gram.y index ecd7ba3..694edca 100644 --- a/gram.y +++ b/gram.y @@ -84,7 +84,7 @@ ParseNewSymbol (Publish publish, Class class, Type *type, Atom name); SymbolPtr symbol; NamespacePtr namespace; CodePtr code; - Bool bool; + Bool boolean; AtomListPtr atomList; FuncDecl funcDecl; } @@ -121,7 +121,7 @@ ParseNewSymbol (Publish publish, Class class, Type *type, Atom name); %type argdecl %type opt_argdefines argdefines args %type argdefine -%type opt_dotdotdot +%type opt_dotdotdot %type opt_expr for_exprs expr opt_exprs exprs simpleexpr %type opt_actuals actuals diff --git a/meson.build b/meson.build index cdbb965..ea2a487 100644 --- a/meson.build +++ b/meson.build @@ -7,7 +7,7 @@ project('nickle', 'c', default_options: [ 'buildtype=debugoptimized', - 'c_std=gnu18', + 'c_std=gnu23', 'warning_level=2', ], license : 'BSD', From keithp at keithp.com Wed Jan 22 22:13:49 2025 From: keithp at keithp.com (Keith Packard) Date: Wed, 22 Jan 2025 22:13:49 -0800 Subject: [Nickle] Can't compile with GCC 15's -std=gnu23 In-Reply-To: References: Message-ID: <875xm612hu.fsf@keithp.com> > nickle up the latest git commit has a union in `gram.y` where one of the > field is `Bool bool` -- however, `bool` is now a reserved keyword Thanks! Fixed. -- -keith -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 832 bytes Desc: not available URL: