We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I see:
utils.cpp:651:24: error: use of undeclared identifier 'QL_PACKAGE_VERSION' 651 | return std::string(QL_PACKAGE_VERSION); | ^ 1 warning and 1 error generated.
It turns out when quantlib is built with cmake instead of autotools, the include/ql/config.hpp looks like so:
include/ql/config.hpp
#ifndef quantlib_config_h #define quantlib_config_h #define PACKAGE_NAME "QuantLib" #define PACKAGE_STRING "QuantLib 1.32.0" #define PACKAGE_TARNAME "QuantLib-1.32.0" #define PACKAGE_VERSION "1.32.0" #define PACKAGE_BUGREPORT "https://github.com/lballabio/QuantLib/issues/"
The text was updated successfully, but these errors were encountered:
How irritating. Should we add another define / alias ? Or I guess I can handle it in utils.cpp conditionally.
Sorry, something went wrong.
That PR fixes it already
Yes that (sub-aspect too) is perfect.
Successfully merging a pull request may close this issue.
I see:
It turns out when quantlib is built with cmake instead of autotools, the
include/ql/config.hpp
looks like so:The text was updated successfully, but these errors were encountered: