2012/6/27 Pete Batard <p...@akeo.ie>:
> On 2012.06.18 16:19, Sean McBride wrote:
>> On Sat, 16 Jun 2012 11:49:50 +0800, Xiaofan Chen 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.

Maybe the solution is to use -std=c99 instead.

I could also rebuild on Mac without any -std=..
So maybe the best solution is to completely remove -std=

I could not find when and why -std=c99 was added. libusb also has this
compilation option.

Bye

-- 
 Dr. Ludovic Rousseau

------------------------------------------------------------------------------
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

Reply via email to