Re: [HACKERS] Compilation broken when OPTIMIZER_DEBUG is set

2016-02-29 Thread Tom Lane
Michael Paquier writes: > On Mon, Feb 29, 2016 at 8:44 PM, salvador fandino wrote: >> allpaths.c: In function ‘debug_print_rel’: >> allpaths.c:2943:50: error: ‘RelOptInfo {aka struct RelOptInfo}’ has no >> member named ‘width’ > Indeed. The width is now part of rel->reltarget.width.

Re: [HACKERS] Compilation broken when OPTIMIZER_DEBUG is set

2016-02-29 Thread Michael Paquier
On Mon, Feb 29, 2016 at 8:44 PM, salvador fandino wrote: > gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement > -Wendif-labels -Wmissing-format-attribute -Wformat-security > -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -O0 > -DOPTIMIZER_DEBUG -I../../../../

[HACKERS] Compilation broken when OPTIMIZER_DEBUG is set

2016-02-29 Thread salvador fandino
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -O0 -DOPTIMIZER_DEBUG -I../../../../src/include -D_GNU_SOURCE -c -o allpaths.o allpaths.c allpaths.c