Re: sol9 src build problem, gnustep-db/PostgresSQL72

"matthew zeier" <[email protected]>
Newsgroups gmane.comp.cms.opengroupware.discuss.general
Message-ID <038801c40623$418d0740$88180a0a@MRZTP>


> On 09.03.2004, at 22:45, matthew zeier wrote:
> > Could be - in which file do I need to dump that include in?
>
> Hu? In the one throwing the error? PostgreSQL72Exception.m.


I should have spit out some more info... va_arg is part of <sys/varargs.h>
so I tossed that into PostgreSQL72Exception.m, however, got simliar errors.
Looking at varargs.h, I see:


/*
 * Many compilation systems depend upon the use of special functions
 * built into the the compilation system to handle variable argument
 * lists and stack allocations.  The method to obtain this in SunOS
 * is to define the feature test macro "__BUILTIN_VA_ARG_INCR" which
 * enables the following special built-in functions:
 *  __builtin_alloca
 *  __builtin_va_alist
 *      __builtin_va_arg_incr
 * It is intended that the compilation system define this feature test
 * macro, not the user of the system.
 *
 * The tests on the processor type are to provide a transitional period
 * for existing compilation systems, and may be removed in a future
 * release.
*/

Where do I add that define?


-- 
OpenGroupware.org Discussion [email protected]
http://mail.opengroupware.org/mailman/listinfo/discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.