Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FTBFS with icu 75 #1302

Closed
jschueller opened this issue May 22, 2024 · 2 comments
Closed

FTBFS with icu 75 #1302

jschueller opened this issue May 22, 2024 · 2 comments

Comments

@jschueller
Copy link

Description

OMSimulator/3rdParty/xerces/src/xercesc/util/regx/RangeToken.cpp:40:
/usr/include/unicode/localpointer.h:561:26: error: 'auto' parameter not permitted in this context
  561 | template <typename Type, auto closeFunction>
      |                          ^~~~
/usr/include/unicode/localpointer.h:573:76: error: template argument 2 is invalid
  573 |     explicit LocalOpenPointer(std::unique_ptr<Type, decltype(closeFunction)> &&p)
      |                                                                            ^
/usr/include/unicode/localpointer.h:583:78: error: template argument 2 is invalid
  583 |     LocalOpenPointer &operator=(std::unique_ptr<Type, decltype(closeFunction)> &&p) {
      |                                                                              ^
/usr/include/unicode/localpointer.h:599:59: error: template argument 2 is invalid
  599 |     operator std::unique_ptr<Type, decltype(closeFunction)> () && {

Steps to reproduce the behavior

cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DOM_USE_CCACHE=OFF -DOM_OMEDIT_ENABLE_QTWEBENGINE=ON -B build .
        make -C build
  • Version: 1.22.4 and master
  • OS: Archlinux
@Javier-Contreras
Copy link

I found this and it worked for me.

Basically compile xerces with c++17.

hope it helps :P

@jschueller
Copy link
Author

seems the problem dont shows anymore (gcc 14.x)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants