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

Better standalone error message? #490

Closed
NAThompson opened this issue Feb 7, 2022 · 1 comment · Fixed by #491
Closed

Better standalone error message? #490

NAThompson opened this issue Feb 7, 2022 · 1 comment · Fixed by #491

Comments

@NAThompson
Copy link
Contributor

When using the standalone, I get:

In file included from ./include/boost/multiprecision/mpfr.hpp:9:
In file included from ./include/boost/multiprecision/number.hpp:10:
./include/boost/multiprecision/detail/standalone_config.hpp:15:10: fatal error: 'boost/config.hpp' file not found
#include <boost/config.hpp>
         ^~~~~~~~~~~~~~~~~~
1 error generated.

This is an expected error:

// Boost.Config is dependency free so it is considered a requirement to use Boost.Multiprecision in standalone mode
#include <boost/config.hpp>

but could it give a nice error message as to why it's not supported using __has_include?

@Lastique
Copy link
Member

I think this needs to be moved to Boost.Multiprecision.

@glenfe glenfe transferred this issue from boostorg/config Aug 30, 2022
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 a pull request may close this issue.

2 participants