-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Missing "#include <optional>" in ProjectConfig.hpp? #56
Comments
Hi @shuyuan-liu Thanks for reporting this. Yes, the Oddly, I don't get this error when compiling with G++10. Are you using CMake to trigger the build? Also, may I ask why you're building from source? I distribute an Arch package via the Download page on the Bloom website: https://bloom.oscillate.io/download. Have you been having issues with this package? |
I've just pushed the changes to correct the missing header includes to the |
BTW I just compiled Bloom with G++ 12.2.1 (on the |
Thanks @navnavnav for the quick fix! The
I tried GCC 10, same result as yours. As you said it might have become stricter; not sure when or why though.
Yes I used the commands given by the main README, although I changed
Oh I didn't realise there were binary packages! I first searched the AUR and found bloom-git, which builds from source, and thought that was the only thing available. I tried your package just now and it worked, thanks! |
I was compiling Bloom from source on Arch Linux with GCC 12.2.0 and GNU libc 2.36. GCC gave errors saying ProjectConfig.hpp used
std::optional
without including<optional>
:Clang 14.0.6 gave similar errors. I grep'd the src directory for
optional
and at a glance it seems that most other files that use it have included the header, but ProjectConfig.hpp hasn't.The text was updated successfully, but these errors were encountered: