From: | "Dann Corbit" <DCorbit(at)connx(dot)com> |
---|---|
To: | "Bruce Momjian" <bruce(at)momjian(dot)us>, "Shoaib Mir" <shoaibmir(at)gmail(dot)com> |
Cc: | "DEV" <dev(at)umpa-us(dot)com>, <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: WIN32 Build? |
Date: | 2006-08-09 23:12:25 |
Message-ID: | D425483C2C5C9F49B5B7A41F8944154757DB2A@postal.corporate.connx.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
> -----Original Message-----
> From: pgsql-general-owner(at)postgresql(dot)org [mailto:pgsql-general-
> owner(at)postgresql(dot)org] On Behalf Of Bruce Momjian
> Sent: Wednesday, August 09, 2006 2:19 PM
> To: Shoaib Mir
> Cc: DEV; pgsql-general(at)postgresql(dot)org
> Subject: Re: [GENERAL] WIN32 Build?
>
> Shoaib Mir wrote:
> > Dev,
> >
> > You are doing it a little wrong for Debug version, in order to build
the
> > Debug version use the following:
> >
> > nmake /f win32.mak DEBUG=1
> >
> > Bruce,
> >
> > If you remove "inline" the build process goes fine and if you dont,
it
> first
> > gives a few warning and in the end quits the build process with a
fatal
> > error.
>
> OK, good to know. If we ever find a symbol that is defined for that
> compiler that we can test, we can fix this.
#ifdef _MSC_VER
#define inline __inline
#endif
An alternative would be to do this:
#ifdef _MSC_VER
#define inline
#endif
And let the compiler inline with /Ob2 (which generally makes better
decisions than the programmer anyway).
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-08-09 23:57:04 | Re: PITR timeline question |
Previous Message | Jim C. Nasby | 2006-08-09 22:44:17 | Re: Not so much load balancing as load limits |