When compiling with MinGW, I have errors in ocpgsql.c on th function OCDB_PGSetLibErrorStatus.
The problem comes from one of the argument names : OCDB_PGSetLibErrorStatus(struct sqlca_t *st, int errno). Since errno is implemented as a macro (at least in my environment), the argument gets expanded intro something that is not an identifier (actually an expression), hence the compilation fails.
When compiling with MinGW, I have errors in
ocpgsql.con th functionOCDB_PGSetLibErrorStatus.The problem comes from one of the argument names :
OCDB_PGSetLibErrorStatus(struct sqlca_t *st, int errno). Sinceerrnois implemented as a macro (at least in my environment), the argument gets expanded intro something that is not an identifier (actually an expression), hence the compilation fails.