Re: visual c++ compile error when included spi.h and trigger.h - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: visual c++ compile error when included spi.h and trigger.h
Date
Msg-id 1255612029.1048.0.camel@fsopti579.F-Secure.com
Whole thread Raw
In response to visual c++ compile error when included spi.h and trigger.h  ("mingsoftt" <mingsoftt@singnet.com.sg>)
List pgsql-hackers
On Thu, 2009-10-15 at 17:44 +0800, mingsoftt wrote:
> I have thought of making visual c++ of not recognizing "typename" as a
> keyword, say, by turning some compiler options to forced c mode
> ( rather than c++).
> Is there indeed such an option? If not, is there a way to resolve my
> problem as described above? 

Wait for 8.5.  Before that, server header files are not C++ safe.  What
you discovered is only one of several problems.



pgsql-hackers by date:

Previous
From: "mingsoftt"
Date:
Subject: visual c++ compile error when included spi.h and trigger.h
Next
From: "Kevin Grittner"
Date:
Subject: Re: Rejecting weak passwords