-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ambiguous overloads on 32-bit platforms
On the 32-bit platforms in CI (windows and emscripten) large_int_t and large_uint_t seem to alias each other in function definitions. Fix this by using signed/unsigned concepts for the parameter. That way the incorrect function will not be considered. This required small bug fix in snitch::concepts. signed_integral and unsigned_integral concepts need to check for sign and also make sure the type is integral so that floating point or other types are not considered.
- Loading branch information
1 parent
3aed57c
commit dc67a89
Showing
2 changed files
with
12 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters