Comments (4)
Thanks @navnavnav for the quick fix! The develop
branch compiles fine now for me with GCC 12.
Oddly, I don't get this error when compiling with G++10.
I tried GCC 10, same result as yours. As you said it might have become stricter; not sure when or why though.
Are you using CMake to trigger the build?
Yes I used the commands given by the main README, although I changed Debug
to Release
.
may I ask why you're building from source?
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!
from bloom.
Hi @shuyuan-liu
Thanks for reporting this.
Yes, the <optional>
header should have been included there. I will fix this in the next release. In the meantime, you can just include it yourself to get the compilation to work.
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?
from bloom.
I've just pushed the changes to correct the missing header includes to the develop
branch. If you build from that branch, those errors should no longer occur.
from bloom.
BTW I just compiled Bloom with G++ 12.2.1 (on the develop
branch) for the first time - it worked fine with those header include changes. I was also able to replicate the issue you had when building from master
- so looks like G++ has become more strict with header includes, since v10.
from bloom.
Related Issues (20)
- Provide JSON list of supported targets via CLI command HOT 2
- Support new AVR DU-series targets
- Support AVR EA/B-series targets
- bloom Website Down? HOT 5
- RSP kill command 'k' is silently ignored HOT 14
- Raspberry Pi OS Version HOT 30
- Wrong target signature (ATtiny416) HOT 3
- variantName doesn't appear to work on atmega328p-pu HOT 1
- Issues when stepping into a static library HOT 7
- Insight shows no TCA0 registers for the AVR128DA32 HOT 2
- Bit field annotations in register inspection window
- TCA0 not listed on Insight for ATtiny412 HOT 2
- Invalid GDB RSP client HOT 2
- New GDB monitor command for reading target registers
- Support ATtiny3224/3226/3227
- Website down HOT 6
- Delta programming (restrict uploads to changes only) HOT 2
- RISC-V HOT 3
- Add support for UPDI over /dev/ttyUSBx and similar interfaces HOT 4
- Keep target halted after activation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bloom.