On 17/10/18 13:55, Marcel Holtmann wrote:
Hi Jonas,
There are a large number of files in the tree that define _GNU_SOURCE
despite not actually using features hidden behind this flag. This patch
removes all these definitions in one fell swoop...
---
I realize that it's not quite kosher in ofono to send pathes that touch
more than directory. Breaking this up into separate patches doesn't
really make sense though, given its nature. If the list insists,
though, I can break this up into a series of ~50 patches...
/Jonas
Do all files and the project compile?
Yes. At least with the configuration I've got, which is mostly the default.
There are ~5 files where _GNU_SOURCE features are actually used. Those, of
course, retain the definition.
I found musl most strict in this regards while glibc is rather relaxed. If this
compiles with musl cleanly, I am fine.
I have now built this against musl (via OpenEmbedded) and it builds cleanly.
/Jonas
Regards
Marcel
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono