Re: [HACKERS] failed to compile a C++ SPI function

2000-10-07 Thread Tom Lane
Bruce Momjian [EMAIL PROTECTED] writes: I am willing to change it to typname. Any comments? That's hardly the only change you will have to make to get the headers to pass through a C++ compiler without complaint. How many existing applications do you want to risk breaking? ParamNo probably

Re: [HACKERS] failed to compile a C++ SPI function

2000-10-07 Thread Bruce Momjian
Bruce Momjian [EMAIL PROTECTED] writes: I am willing to change it to typname. Any comments? That's hardly the only change you will have to make to get the headers to pass through a C++ compiler without complaint. How many existing applications do you want to risk breaking? ParamNo

[HACKERS] failed to compile a C++ SPI function

2000-10-01 Thread Louis-David Mitterrand
Just for fun I changed the extension of my SPI function and trigger source file from .c to .C and tried to compile it: g++ -g -Wall -I /usr/include/postgresql -fPIC -pedantic-c -o bid_control.o bid_control.C In file included from /usr/include/postgresql/nodes/relation.h:18,