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 <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 ... <daviid>freakingpenguin: see the GUILE_PROG def in guile.m4 for what i am looking for ... <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!