Skip to content

Conversation

@cxzhong
Copy link

@cxzhong cxzhong commented Oct 20, 2025

Fix a compile bug in clang 21. Avoid specify the namespace std in the new C++ standard
Add a new function to access GMP by pure C. It is compatible for Ubuntu use Clang to compile.
Add a new ci workflow to test the build in Ubuntu and macos.
Link to #239

@cxzhong cxzhong closed this Oct 20, 2025
@cxzhong cxzhong reopened this Oct 20, 2025
@cxzhong cxzhong changed the title Libc++ support Fix a complier error in LLVM21 Oct 20, 2025
@cxzhong cxzhong marked this pull request as draft October 20, 2025 17:13
@cxzhong cxzhong marked this pull request as ready for review October 20, 2025 17:37
cxzhong added a commit to cxzhong/sage that referenced this pull request Oct 21, 2025
…libc++

Replaces non-standard std::make_signed specializations for RecInt types
with custom make_signed_int trait to fix compilation with libc++ (LLVM).

Based on linbox-team/givaro#240 commit 0d1cfc5
@cxzhong cxzhong changed the title Fix a complier error in LLVM21 Avoid to use the specify namespace std Oct 22, 2025
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

Successfully merging this pull request may close these issues.

1 participant