Skip to content

Conversation

@ckormanyos
Copy link
Member

No description provided.

ckormanyos and others added 30 commits January 16, 2025 11:42
Try and optimize small integer powers.
Suppress warnings caused by use of -Wswitch_default on GCC
fix the mpfr stack str bug of the deadloop in the `while`
* Suppress warnings caused by -Wimplicit-fallthrough

* Add and replace definition of BOOST_FALLTHROUGH with MP version

---------

Co-authored-by: Matt Borland <matt@mattborland.com>
…_form_of_user_defined_literal_operator

Don't use deprecated form of user-defined literal operator
Don't use deprecated form of user-defined literal operator around BOOST_JOIN
fixes the following error:
```
1>time.cpp
1>D:\work-pps\boost_1_87_0\boost\multiprecision\cpp_int\literals.hpp(270,1): warning C5103: pasting '""_cppi' and '128' does not result in a valid preprocessing token
1>(compiling source file '../src/time.cpp')
1>    D:\work-pps\boost_1_87_0\boost\multiprecision\cpp_int\literals.hpp(252,9):
1>    in expansion of macro 'BOOST_MP_DEFINE_SIZED_CPP_INT_LITERAL'
1>    D:\work-pps\boost_1_87_0\boost\config\helper_macros.hpp(33,9):
1>    in expansion of macro 'BOOST_JOIN'
1>    D:\work-pps\boost_1_87_0\boost\config\helper_macros.hpp(34,9):
1>    in expansion of macro 'BOOST_DO_JOIN'
1>    D:\work-pps\boost_1_87_0\boost\config\helper_macros.hpp(35,9):
1>    in expansion of macro 'BOOST_DO_JOIN2'
1>D:\work-pps\boost_1_87_0\boost\multiprecision\cpp_int\literals.hpp(270,1): error C2988: unrecognizable template declaration/definition
```
Fix compilation when building with msvc's new preprocessor
Further protect attribute to avoid warnings
@ckormanyos ckormanyos merged commit 5c50b0d into develop Apr 19, 2025
79 checks passed
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.

8 participants