Hi Emanuele,

Am 13.04.26 um 15:05 schrieb Emanuele Rocca:
Please do not reassign this bug to another package. If a fix in another package
is required, then file a bug for the other package (or clone), and mark this
bug as blocked by the bug in the other package.
You probably should look for common stuff here. Here it is:
[...]


/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)
       |                                                                        
    ^
/usr/include/unicode/localpointer.h:581:78: error: template argument 2 is 
invalid [-Wtemplate-body]
   581 |     LocalOpenPointer &operator=(std::unique_ptr<Type, decltype(closeFunction)> 
&&p) {
       |                                                                        
      ^
/usr/include/unicode/localpointer.h:597:59: error: template argument 2 is 
invalid [-Wtemplate-body]
   597 |     operator std::unique_ptr<Type, decltype(closeFunction)> () && {
       |                                                           ^
/usr/include/unicode/uenum.h:69:1: note: invalid template non-type parameter
    69 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUEnumerationPointer, UEnumeration, 
uenum_close);
       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/unicode/ucnv.h:597:1: note: invalid template non-type parameter
   597 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUConverterPointer, UConverter, 
ucnv_close);
       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
make[5]: *** [Makefile:1258: libe_book_internal_la-PluckerParser.lo] Error 1
make[5]: *** [Makefile:1237: libe_book_internal_la-PalmDocParser.lo] Error 1
make[5]: *** [Makefile:985: libe_book_internal_la-BBeBParser.lo] Error 1
ICU header.
In file included from /usr/include/unicode/uenum.h:25,
                  from /usr/include/unicode/ucnv.h:52,
                  from EBOOKCharsetConverter.h:16,
                  from TealDocParser.cpp:24:
/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)
       |                                                                        
    ^
/usr/include/unicode/localpointer.h:581:78: error: template argument 2 is 
invalid [-Wtemplate-body]
   581 |     LocalOpenPointer &operator=(std::unique_ptr<Type, decltype(closeFunction)> 
&&p) {
       |                                                                        
      ^
/usr/include/unicode/localpointer.h:597:59: error: template argument 2 is 
invalid [-Wtemplate-body]
   597 |     operator std::unique_ptr<Type, decltype(closeFunction)> () && {
       |                                                           ^
/usr/include/unicode/uenum.h:69:1: note: invalid template non-type parameter
    69 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUEnumerationPointer, UEnumeration, 
uenum_close);
       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/unicode/ucnv.h:597:1: note: invalid template non-type parameter
   597 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUConverterPointer, UConverter, 
ucnv_close);
       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~

Here also the complains comes from ICU


Same case with libsmpub (1133524).


Ccing Lazslo., any idea?


Regards,


Rene

Reply via email to