On Mon, Apr 13, 2026 at 6:16 PM Rene Engelhard <[email protected]> wrote:
> Am 13.04.26 um 15:05 schrieb Emanuele Rocca:
> > /usr/include/unicode/localpointer.h:559:26: error: parameter declared 'auto'
> >    559 | template <typename Type, auto closeFunction>
> >        |                          ^~~~
> > /usr/include/unicode/localpointer.h:571:76: error: template argument 2 is 
> > invalid [-Wtemplate-body]
> >    571 |     explicit LocalOpenPointer(std::unique_ptr<Type, 
> > decltype(closeFunction)> &&p)
> >        |                                                                    
> >         ^
[...]
> Same case with libsmpub (1133524).
 Do you have a test environment for this? See the possible solution below.

> Ccing Lazslo., any idea?
 s/Lazslo/Laszlo/ and indeed, I have. libe-book seems to compile with
std=c++11 while the new ICU bits needs to be compiled with std=c++17
so maybe configure needs to be recreated. There's configure.ac in the
source which needs to be modernized, there are several obsolete
messages for that in the build log [1]. For example:
autoreconf: running: /usr/bin/autoconf --force
configure.ac:19: warning: The macro 'AC_CONFIG_HEADER' is obsolete.
configure.ac:19: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:19: the top level
configure.ac:184: warning: The macro 'AC_TRY_COMPILE' is obsolete.
configure.ac:184: You should run autoupdate.
... etc.

Hope this helps,
Laszlo/GCS
[1] 
https://buildd.debian.org/status/fetch.php?pkg=libe-book&arch=amd64&ver=0.1.3-4&stamp=1773502194&raw=0

Reply via email to