[PATCH] diff portability fixes

Dan Fandrich dan at coneharvesters.com
Thu Feb 4 02:52:03 UTC 2010


On Wed, Feb 03, 2010 at 11:03:27PM -0200, Matheus Izvekov wrote:
> What is the story with C99 and busybox? If we are not supposed to use
> it, why do we pass -std=gnu99 to gcc?

The story seems to be to stick to C89 unless doing so impacts code size or
readability.  The majority of Busybox compiles fine on ANSI compilers,
and those applets that rely on advanced features can be unconfigured to
avoid problems.  At least, that's what I've figured out based on what
I've seen.  I haven't found anything definitive in the documentation.

>>> Dan
-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved


More information about the busybox mailing list