Last updated on MARCH 20, 2017
Applies to:Precompilers - Version 220.127.116.11 to 18.104.22.168 [Release 12.1]
Information in this document applies to any platform.
1) A Pro*C program fails during the C compilation stage for "size_t" referenced in sqlcpr.h, saying it is undefined.
2) The program is not directly including sqlcpr.h, but is including sqlda.h.
3) The Oracle client version is 22.214.171.124 or 126.96.36.199.
4) The same code compiles successfully with an 11g installation.
For example, compilation of the above code fails with errors like:
".../precomp/public/sqlcpr.h", line 79: error #2020: identifier "size_t" is undefined
.../precomp/public/sqlcpr.h:79: error: expected declaration specifiers or '...' before 'size_t'
The client software was upgraded to version 12.1 or a new Pro*C program is being compiled with 12.1.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms