Re: Linker error VS2008 c++ - Mailing list pgsql-general

From Craig Ringer
Subject Re: Linker error VS2008 c++
Date
Msg-id 4EB77098.5080802@ringerc.id.au
Whole thread Raw
In response to Linker error VS2008 c++  (Cin123 <a9988768@nepwk.com>)
List pgsql-general
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

pgsql-general by date:

Previous
From: "Jan Geluk (Collis)"
Date:
Subject: PostgreSQL references in the Middle East
Next
From: Oliver Kohll - Mailing Lists
Date:
Subject: Re: explain analyse and nested loop joins