CWMM Developers Mailing List <cwmm-dev@2rosenthals.com>
On 07/28/20 11:26 PM, Dave Yeo wrote:
I guess I
should start over with the hh files using the ones included with VAC++
3.08.
Well, stupid error. Trying to work around various stuff that hasn't been defined by including wptypes.hh, I get this when building the wptypes.hh,
"g:\IBMCPP\INCLUDE\OS2\wptypes.idl", line 23: error: "int" has not been declared
.
"g:\IBMCPP\INCLUDE\OS2\wptypes.idl", line 23: warning: Non-portable "int" will be generated in emitter files.
Number of errors: 1
Earlier in the build, in classes when building the hh files, I did see a similar warning about the non-portable int but no error in cwimage.idl.
I'm not used to this environment and just take it for granted that int is a fundamental type, but it seems it should be a long or short or such, yet IBM used typedef int BOOL;
Ideas? Perhaps I should edit the VACPP file and change it to SHORT but reluctant to edit.
Dave