IRC channel logs

2024-04-04.log

back to list of logs

<qookie>is libguile/deprecation.h a public header? libguile.h doesn't include it, and that's causing a warning (error since GCC 14) when compiling guile-reader
<qookie>more specifically, guile-reader uses scm_c_issue_deprecation_warning_fmt which is defined in libguile/deprecation.h, at least with guile 3.0.9
<qookie>hm looks like it's public, interesting that it's not included by libguile.h or something
<qookie>i can see libguile/deprecated.h is gated behind SCM_ENABLE_DEPRECATED, but libguile/deprecation.h has a comment saying it's available regardless of SCM_ENABLE_DEPRECATED
<qookie>hm looking at the guile-reader code, i guess in older guile versions scm_c_issue_deprecation_warning_fmt was in libguile/deprecated.h, which is included from libguile.h?
<qookie>since it explicitly checks for SCM_ENABLE_DEPRECATED before calling it
<cow_2001>guix guile-ncurses is 3.1 while the https://www.gnu.org/software/guile-ncurses/manual/html_node/index.html manual's 2.2
<Kolev>[Haunt] Why is index.html going to / and not /csh/? Code: https://codeberg.org/csh/personal-site
<daviid>cow_2001: the author - who's looking for new maintainers https://lists.gnu.org/archive/html/guile-user/2021-06/msg00081.html - probably forgot to upload the new doc after the 3.1 release ... can't you lovcallu build the doc yourself?
<cow_2001>i can compile for myself
<daviid>cow_2001: perfect - now, you may decide to send a report ... bug-guile-ncurses@gnu.org
<daviid>do we have a way to check we(users) are using a guile version >= x.y.z, i can't find any (there is one in guile.m4, but afaict, not in guile 'itself' (?))
<freakingpenguin>davidd: I tried (version) and it seems to work, is that what you mean?
<daviid>it's because in g-golf, i'm (happily) refering to some internals, wrt c-struct stuff, and some are/will disappear satrting with 3.0.10 ... afaict, cond-expand only makes sure we are using 3.0 or any later ... but i cant use it to check a specific version and 'dispatch' my code accordingly ... surely, i'm not the first, nor the last ...
<daviid>freakingpenguin: (version) returns the version ... it won't let you check ...
<cow_2001>daviid: sent! :>
<daviid>freakingpenguin: see the GUILE_PROG def in guile.m4 for what i am looking for ...
<daviid>cow_2001: thanks!
<daviid>*GUILE_PROGS
<daviid>freakingpenguin: here https://git.savannah.gnu.org/cgit/guile.git/tree/meta/guile.m4?id=e15617dc0e1e53a54798d88617f0095801a52f1c#n213
<daviid>but available in guile 'itself' ...
<daviid>anyone has written such a guileversion check proc, so i don't re-write the wheel ... tx
<freakingpenguin>Kolev: #:prefix doesn't apply to the collection page, you'd need to add something like #:collections `(("Recent" "csh/index.html" ,posts/reverse-chronological)) to your blog call in #:builders.
<Kolev>freakingpenguin, hm, OK. It used to put `index.html` at `/csh/` but I'll try that.
<Kolev>freakingpenguin, it worked! 😀 Thank you!
<freakingpenguin>You're welcome!