Assuming this is the correct manual - Bottom of page XII...

The Integrated Language Environment C compiler and library are designed
according to the American National Standard Institute (ANSI) for Programming
Languages — C, ANSI/ISO 9899-1990 standard.

Roger Harman
COMMON Certified Application Developer - ILE RPG on IBM i on Power


From: C400-L <c400-l-bounces@xxxxxxxxxxxxxxxxxx> on behalf of Patrik Schindler <poc@xxxxxxxxxx>
Sent: Thursday, February 27, 2020 3:42 PM
To: Bare Metal Programming IBM i (AS/400 and iSeries) <c400-l@xxxxxxxxxxxxxxxxxx>
Subject: [C400-L] ILE C/C++: Which C standard?


is there a table or another source which version of the ILE C compiler is supposed to adhere to which ANSI C standard? I browsed through the various ILE C/C++ PDF documents but I either found nothing or there is nothing.

The compiler coming with OS/400 V4R5 is V4R4. According to V4R4 GA was in May 1999, so there could be either no (complete) adherence to any ANSI standard, or to standards C89 or C95. I don't think C99 was adopted, because of the
small time frame between standard release and OS GA.

A hint to C95 could be the existence of a reference to "long long" in sys/types.h but there is no mentioning of it in limits.h. I wasn't able to find a stdint.h in QSYSINC.

Does anybody know?

:wq! PoC

PGP-Key: DDD3 4ABF 6413 38DE -

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2021 by 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.