Skip to content

Conversation

@rojer
Copy link
Contributor

@rojer rojer commented Aug 7, 2019

@geky
Copy link
Member

geky commented Aug 7, 2019

Hi @rojer, thanks for creating a PR. This is a good idea.

Hmm, is there a reason for not putting Wundef in the normal build options?
https://github.com/ARMmbed/littlefs/blob/master/Makefile#L32

@rojer
Copy link
Contributor Author

rojer commented Aug 8, 2019

well, the idea is to prevent this from happening in the future.

@geky
Copy link
Member

geky commented Aug 8, 2019

The Makefile is used directly in CI: https://github.com/ARMmbed/littlefs/blob/master/.travis.yml#L18

If we move -Wundef to the Makefile, that just means users will have the warning if they run the tests locally.

The only reason -Werror is special is because halting on warnings can be a pain when testing/debugging locally.

@rojer
Copy link
Contributor Author

rojer commented Aug 8, 2019

ok, sorry, i misunderstood. moved to Makefile.

Copy link
Member

@geky geky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@geky geky merged commit 494dd66 into littlefs-project:master Aug 8, 2019
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

Successfully merging this pull request may close these issues.

2 participants