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

trouble with compiling using arm gcc 7 #18

Closed
simvv-exe opened this issue Oct 14, 2020 · 4 comments
Closed

trouble with compiling using arm gcc 7 #18

simvv-exe opened this issue Oct 14, 2020 · 4 comments
Assignees

Comments

@simvv-exe
Copy link

Hi!
I really interested in this library, and I want to use it in my project for embedded systems.
Unfortunately it doesn't compile using arm-none-eabi-gcc 7.2.1.
Here's a link.
https://godbolt.org/z/jEv8xY
Thanks in advance.

@m-peko
Copy link
Owner

m-peko commented Oct 14, 2020

Hi @RB37,

I am glad you like this library. I will take a look at this and try to make it compile ASAP.
Will keep you informed about the status.

Thanks

@m-peko m-peko self-assigned this Oct 14, 2020
@m-peko
Copy link
Owner

m-peko commented Oct 14, 2020

It compiles just fine for me. Take a look at it https://godbolt.org/z/8nG83j.
Maybe you are not using the latest version.

@simvv-exe
Copy link
Author

simvv-exe commented Oct 14, 2020

It does not compile if you don't include iostream first
https://godbolt.org/z/q5zox8

Update:
I figure it out. Its just a missing header. Everything work fine if before including bitflags I include < utility >.
It probably should be included inside a library.

@m-peko
Copy link
Owner

m-peko commented Oct 14, 2020

You are right. utility header is needed. If you would like to contribute, you may add it.

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

No branches or pull requests

2 participants