Re: [HACKERS] compiler warnings with GCC 4.5

2010-01-17 Thread Tom Lane
Peter Eisentraut writes: > read.c: In function ‘nodeRead’: > read.c:370:3: warning: case value ‘101’ not in enumerated type > ‘NodeTag’ > This can be fixed by changing > switch (type) > to > switch ((int) type) No objection from here. We don't attempt to cover all possib

[HACKERS] compiler warnings with GCC 4.5

2010-01-17 Thread Peter Eisentraut
Only these few: read.c: In function ‘nodeRead’: read.c:370:3: warning: case value ‘101’ not in enumerated type ‘NodeTag’ read.c:300:3: warning: case value ‘102’ not in enumerated type ‘NodeTag’ read.c:294:3: warning: case value ‘103’ not in enumerated type ‘NodeTag’ read.c:374:3: warni