On Sat, 16 Jun 2012 11:49:50 +0800, Xiaofan Chen said:

>clang: warning: argument unused during compilation: '-std=gnu99'
>make[2]: Nothing to be done for `all-am'.
>
>-std=gnu99 warning does not seem to be a problem to me.
>When using Apple's llvm based gcc 4.2.1 (default) and the
>Apple gcc 4.2.1, no warnings.

clang can be invoked both to compile and link.  For compiling, -std=gnu99 has 
meaning, but for linking it does not.  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...

Also, does libusbx actually need GNU extensions?  Does it build with -std=c99 
instead?

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

Reply via email to