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

xrepo的cgal更新6.x后,低版本gcc无法编译低版本的cgal #5990

Open
Elite-stay opened this issue Dec 16, 2024 · 1 comment
Open
Assignees
Labels

Comments

@Elite-stay
Copy link
Contributor

Xmake 版本

2.9.5

操作系统版本和架构

4.4.131-20200710.kylin.desktop-generic

描述问题

#5542 更新后导致低版本gcc无法编译,回退后可以,cgal版本指定为5.2.1

期待的结果

编译成功

工程配置

add_requires("cgal 5.2.1")

附加信息和错误日志

include/eigen3/Eigen/src/Core/util/Meta.h:504:25: error: ‘invoke_result’ in namespace ‘std’ does not name a template type
   typedef typename std::invoke_result<F, ArgTypes...>::type type1;
@Elite-stay Elite-stay added the bug label Dec 16, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: After the cgal of xrepo is updated to 6.x, the lower version of gcc cannot compile the lower version of cgal

Xmake version

2.9.5

Operating system version and architecture

4.4.131-20200710.kylin.desktop-generic

Describe the problem

#5542 After the update, the lower version of gcc cannot be compiled. After rolling back, it can be compiled. The cgal version is specified as 5.2.1.

Expected results

Compiled successfully

Project configuration

add_requires("cgal 5.2.1")

Additional information and error logs

include/eigen3/Eigen/src/Core/util/Meta.h:504:25: error: ‘invoke_result’ in namespace ‘std’ does not name a template type
   typedef typename std::invoke_result<F, ArgTypes...>::type type1;

@star-hengxing star-hengxing self-assigned this Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants