Michael Meskes <meskes@postgresql.org> writes:
> Several fixes to array handling in ecpg.
This patch is causing almost all of the Windows buildfarm members to
fail with compilation errors, along the lines of
pointer_to_struct.pgc(27): error C2065: 'customer' : undeclared identifier
pointer_to_struct.pgc(27): error C2065: 'custs1' : undeclared identifier
pointer_to_struct.pgc(27): error C2065: 'customer' : undeclared identifier
pointer_to_struct.pgc(27): error C2059: syntax error : ')'
pointer_to_struct.pgc(28): error C2065: 'cust_ind' : undeclared identifier
pointer_to_struct.pgc(28): error C2065: 'inds' : undeclared identifier
pointer_to_struct.pgc(28): error C2065: 'cust_ind' : undeclared identifier
pointer_to_struct.pgc(28): error C2059: syntax error : ')'
pointer_to_struct.pgc(34): error C2275: 'customer2' : illegal use of this type as an expression
pointer_to_struct.pgc(33) : see declaration of 'customer2'
pointer_to_struct.pgc(34): error C2065: 'custs2' : undeclared identifier
pointer_to_struct.pgc(40): error C2143: syntax error : missing ';' before '<class-head>'
pointer_to_struct.pgc(39): error C2143: syntax error : missing ';' before 'type'
pointer_to_struct.pgc(40): error C2027: use of undefined type 'customer3'
pointer_to_struct.pgc(40) : see declaration of 'customer3'
pointer_to_struct.pgc(40): error C2099: initializer is not a constant
pointer_to_struct.pgc(46): error C2099: initializer is not a constant
pointer_to_struct.pgc(52): error C2143: syntax error : missing ')' before '('
pointer_to_struct.pgc(52): error C2143: syntax error : missing ')' before 'constant'
pointer_to_struct.pgc(52): error C2091: function returns function
pointer_to_struct.pgc(52): error C2143: syntax error : missing '{' before 'constant'
pointer_to_struct.pgc(52): error C2059: syntax error : '<Unknown>'
pointer_to_struct.pgc(52): error C2059: syntax error : ')'
pointer_to_struct.pgc(54): error C2449: found '{' at file scope (missing function header?)
pointer_to_struct.pgc(55): error C2059: syntax error : '}'
etc etc
No idea why. It's also interesting that only HEAD seems to be affected.
regards, tom lane