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

Allow warning suppression for include def files #42

Open
UtkarshVerma opened this issue Nov 12, 2021 · 0 comments
Open

Allow warning suppression for include def files #42

UtkarshVerma opened this issue Nov 12, 2021 · 0 comments

Comments

@UtkarshVerma
Copy link

If I include the m328pdef.inc file in my source, and compile with avra. I get the following warnings.

AVRA: advanced AVR macro assembler (version 1.4.2)
Pass 1...
Pass 2...
m328pdef.inc(44) : PRAGMA PARTINC directive currently ignored
m328pdef.inc(48) : PRAGMA AVRPART directive currently ignored
m328pdef.inc(53) : PRAGMA AVRPART directive currently ignored
m328pdef.inc(898) : PRAGMA AVRPART directive currently ignored
m328pdef.inc(899) : PRAGMA AVRPART directive currently ignored
m328pdef.inc(900) : PRAGMA AVRPART directive currently ignored
m328pdef.inc(901) : PRAGMA AVRPART directive currently ignored
done


Assembly complete with no errors.
Segment usage:
   Code      :       116 words (232 bytes)
   Data      :         0 bytes
   EEPROM    :         0 bytes

As a developer, the include def file is not something I maintain and hence getting a warning for it on compilation seems unnecessary. It would be nice to have some way to suppress these warnings.

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

1 participant