From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | 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 19:41:13 |
Message-ID: | 200608091941.k79JfDf14582@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
Shoaib Mir wrote:
> I too faced same kind of a problem building libpq on Windows and as a
> solution to it removed "inline" from the file
> "\backend\utils\mb\wchar.c"
>
> Did the following ... changed "static inline int" to "static int"
> instead at a couple of places in the wchar.c file
>
> Run "nmake" after doing this specific change and hopefully it will
> solve the problem.
Interesting. It seem the key line is here:
> > cl : Command line warning D4029 : optimization is not available in the
> > standard edition compiler
So the "standard" version doesn't support inline functions. To fix
that, I think we need some compiler define test to tell us if it is a
"standard" edition compiler.
--
Bruce Momjian bruce(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Broersma Jr | 2006-08-09 19:42:54 | Re: Tuning to speed select |
Previous Message | Harald Armin Massa | 2006-08-09 19:35:54 | Re: Tuning to speed select |
From | Date | Subject | |
---|---|---|---|
Next Message | DEV | 2006-08-09 19:45:15 | Re: WIN32 Build? |
Previous Message | Dave Page | 2006-08-09 19:35:51 | Re: 8.2 features status |