Search Postgresql Archives

Re: Linker error VS2008 c++

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/04/2011 05:01 AM, Cin123 wrote:

I needed a stdint.h header because of uint32_t and that header was missing
in vs2008 sa i take it form vs2010

You can't usually do that. If it were that simple, MS would've probably released stdint.h in a later VC++2008 service pack.

Why do you actually need uint32_t ? You can just typedef it. You have to have conditionals for 32-bit and 64-bit compilation, but it's not exactly hard.

Remove the copied header, fix up your code, and see if it links then.

--
Craig Ringer

--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux