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 'const'

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. Another

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

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 out and