On Wed, 27 Jun 2012 20:39:52 +0200, Ludovic Rousseau said: >>>> clang: warning: argument unused during compilation: '-std=gnu99' >>> >>> The warning you see is telling you that you are specifying -std=gnu99 >when linking, which does nothing. gcc silently ignores that flag when >linking, I believe. >>> >>> Perhaps this can be fixed in libusbx's makefiles somehow... >> >> We're specifying gnu99 in AM_CFLAGS, so I wouldn't expect it to end up >> in LD_FLAGS. This is benign, so I'm not sure it's worth spending time on >> fixing that. > >clang is complaining, during _compilation_, that it can't use '-std=gnu99'. >This has nothing to do with LD_FLAGS or link.
Are you sure? What are you basing that assertion on? -std=gnu99 is a valid compiler flag, so it doesn't make sense that it would ignore it. I think clang's error message "argument unused during compilation" is misleading us. If you build with verbose on, I think you'll find it's the linking invocation that's causing this message. Cheers, -- ____________________________________________________________ Sean McBride, B. Eng s...@rogue-research.com Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ libusbx-devel mailing list libusbx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libusbx-devel