|
From: | Archie Cobbs |
Subject: | Re: [cp-patches] [generics] RFC: fix generics branch compilation on Darwin |
Date: | Tue, 06 Dec 2005 09:53:56 -0600 |
User-agent: | Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041129 |
Casey Marshall wrote:
This puts the 'environ' declaration/define in jcl.h; I hope this is OK, it looks like the best place for a global thing like this.
What you have now results in a duplicate declaration of "environ" on systems that already declare environ in unistd.h (or wherever), but don't have a crt_externs.h. Not a big deal (the build should still work) but it will cause a GCC warning with -Wredundant-decls. -Archie __________________________________________________________________________ Archie Cobbs * CTO, Awarix * http://www.awarix.com
[Prev in Thread] | Current Thread | [Next in Thread] |