-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Labels
Description
-
What version of ODPI-C are you using (see dpi.h)?
5.6.4 -
What OS (and version) is your application on?
HP-UX 11.31 -
What compiler (and version) did you use?
HP aCC 06.29 -
What is your version of the Oracle Client (e.g. Instant Client)? How was it installed? Where it is installed?
Full Oracle Client 19 -
What is your Oracle Database version?
Oracle 19 SE2
What problem or error(s) you are seeing?
Current code uses anonymous unions in a struct which are a compiler extension and are not C99 compliant. The HP aCC trips over that and refuses to compile.
Here is a fix: main...michael-o:odpi:c99-compliance
Works on LLVM and HP aCC.
You can simulate the issue on LLVM or GCC by setting: EXTRA_CFLAGS ?= -std=c99 -pedantic