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

Warnings by overwritting of symbol "BIN" in "Print.h" #97

Open
pediRAM opened this issue Apr 1, 2016 · 4 comments
Open

Warnings by overwritting of symbol "BIN" in "Print.h" #97

pediRAM opened this issue Apr 1, 2016 · 4 comments

Comments

@pediRAM
Copy link

pediRAM commented Apr 1, 2016

I've reported the issue here: arduino/Arduino#4784
Is it possible to rename the "BIN" symbol (in "iotnx4.h" etc.) to something else, so the usage of statements like "Serial.println(value, BIN)" or "lcd.print(value, BIN)" wouldn't output warnings or errors while compiling code for ATtiny X4?

@NicoHood
Copy link

NicoHood commented Apr 1, 2016

As I said its in the avr-libc. You cannot change this. You can close this issue. :)

@pediRAM
Copy link
Author

pediRAM commented Apr 1, 2016

Oh! OK! Sorry!

@matthijskooijman
Copy link

I guess the Arduino core could #undef BIN first to prevent the warning. Anyone care to submit this at https://github.com/arduino/Arduino/ ? It also occurs if you enable warnings in the IDE and select the Arduino Gemma board (which also uses an attiny).

@NicoHood
Copy link

NicoHood commented Jul 3, 2016

I've opened a PR some time ago already:
arduino/Arduino#4791

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

3 participants