Hi Tom,
> PG_CPPFLAGS ought to work. One point is that you need to set that before
> including pgxs.mk; maybe it's an ordering problem?
On closer inspection, it was working, but the pg Makefile was specifically
including “-Wdeclaration-after-statement” which I think was overriding the
‘-std=c9
Demitri Muna writes:
> I’m writing a C extension and have successfully based my Makefile on existing
> templates. This conveniently hides the details of the full Makefile provided
> by "pg_config --pgxs”. Which variable would be the appropriate one to specify
> the ‘-std=c99’ compiler flag? I’v
Hi,
I’m writing a C extension and have successfully based my Makefile on existing
templates. This conveniently hides the details of the full Makefile provided by
"pg_config --pgxs”. Which variable would be the appropriate one to specify the
‘-std=c99’ compiler flag? I’ve tried many and still ge