Re: [HACKERS] C++ Headers

2001-05-23 Thread Nathan Myers
On Wed, May 23, 2001 at 11:35:31AM -0400, Bruce Momjian wrote: > > > > > We have added more const-ness to libpq++ for 7.2. > > > > > > > > Breaking link compatibility without bumping the major version number > > > > on the library seems to me serious no-no. > > > > > > > > To const-ify member fu

Re: [HACKERS] C++ Headers

2001-05-22 Thread Nathan Myers
On Tue, May 22, 2001 at 05:52:20PM -0400, Bruce Momjian wrote: > > On Tue, May 22, 2001 at 12:19:41AM -0400, Bruce Momjian wrote: > > > > 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. > >

Re: [HACKERS] C++ Headers

2001-05-22 Thread Nathan Myers
On Tue, May 22, 2001 at 12:19:41AM -0400, Bruce Momjian wrote: > > 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 > > 'cons

Re: [HACKERS] C++ Headers

2001-05-19 Thread Tom Lane
Bruce Momjian <[EMAIL PROTECTED]> writes: > The only mention I see of this is in c.h: > #ifndef __cplusplus > #ifndef bool > typedef char bool; > #endif /* ndef bool */ > #endif /* not C++ */ > If you need more cplusplus stuff, lets figure it ou

Re: [HACKERS] C++ Headers

2001-05-19 Thread Tom Lane
mlw <[EMAIL PROTECTED]> writes: > Is any support for reworking the postgres headers such that they can be used, > cleanly, in a C++ program? You'll get no support for a request for a blank check. What do you have in mind exactly? ISTM that making the backend's internal headers C++-clean has alr