Re: C++ Headers - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: C++ Headers
Date
Msg-id 200105220419.f4M4JfQ29720@candle.pha.pa.us
Whole thread Raw
In response to Re: C++ Headers  (Christof Petig <christof@petig-baender.de>)
Responses Re: C++ Headers  (ncm@zembu.com (Nathan Myers))
List pgsql-hackers
> This in fact has happened within ECPG. But since sizeof(bool) is passed to
> libecpg it was possible to figure out which 'bool' is requested.
> 
> Another issue of C++ compatibility would be cleaning up the usage of
> 'const' declarations. C++ is really strict about 'const'ness. But I don't
> know whether postgres' internal headers would need such a cleanup. (I
> suspect that in ecpg there is an oddity left with respect to host variable
> declaration. I'll check that later)

We have added more const-ness to libpq++ for 7.2.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: cvs snapshot compile problems
Next
From: Bruce Momjian
Date:
Subject: Re: RE: Plans for solving the VACUUM problem