Re: Linker error VS2008 c++

From: Craig Ringer <ringerc(at)ringerc(dot)id(dot)au>
To: Cin123 <a9988768(at)nepwk(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Linker error VS2008 c++
Date: 2011-11-07 05:46:00
Message-ID: 4EB77098.5080802@ringerc.id.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Oliver Kohll - Mailing Lists 2011-11-07 09:47:26 Re: explain analyse and nested loop joins
Previous Message Jan Geluk (Collis) 2011-11-07 05:04:17 PostgreSQL references in the Middle East