Reply To: mt-daapd-svn-1400: some compiler warnings removed

#6857
rpedde
Participant

@servies wrote:

They don’t caused any troubles in my case but I find them annoying during compile time.
My system is a Fedora Core 4 Linux box. I didn’t test the patches on other architectures as I don’t have them…

Yeah, me too.. it’s because the files themselves sometime declare XOPEN or other different posix levels but don’t use the same on the configure check.

I’m going to AC_USE_SYSTEM_EXTENSIONS to get it all cleaned up, so hopefully the _USE_GNU stuff won’t be necessary, but I’ll def roll in the strings one.

I want to be able to compile on at least gcc4/linux and gcc4/mac with no warnings at -Wall.

Clearly have my work cut out for me. 🙂

Thanks.

— Ron