|
I've installed ASCII runtime support and can now successfully compile C programs, but C++ programs fail. I'm using this CL: CRTCPPMOD MODULE(G1UNCMOD/CIOAPI) + SRCSTMF('/UNC/server/modules/cio/lib/cioapi+ .cc') OPTION(*INCDIRFIRST *STDINC + *LONGLONG) SYSIFCOPT(*IFSIO) + LOCALETYPE(*LOCALE) TGTRLS(V5R2M0) + INCDIR('/qibm/proddata/qadrt/include') ...which is almost exactly the same as what I'm using for C, but C++ fails with all sorts of errors like: "/QIBM/include/std/xlocale", line 598.33: CZP0816(10) Too many arguments are specified for the macro "tolower". The extra arguments are ignored. "/qibm/proddata/qadrt/include/ctype.h", line 464.9: CZP0425(0) "tolower" is defined on line 464 of "/UNC/server/modules/cio/lib/cioapi.cc". "/qibm/proddata/qadrt/include/stdio.h", line 78.16: CZP0836(30) The #include file <QSYSINC/h/stdio> is not found. This is v5r2m0, c3161. Any ideas? Regards, Zak Metz .
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.