Re: visual c++ compile error when included spi.h and trigger.h

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: mingsoftt <mingsoftt(at)singnet(dot)com(dot)sg>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: visual c++ compile error when included spi.h and trigger.h
Date: 2009-10-15 13:07:09
Message-ID: 1255612029.1048.0.camel@fsopti579.F-Secure.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2009-10-15 13:49:29 Re: Rejecting weak passwords
Previous Message Boszormenyi Zoltan 2009-10-15 11:49:09 Re: ECPG: store own copy of the prepared statement name