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.
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?
PGP-Key: DDD3 4ABF 6413 38DE - https://www.pocnet.net/poc-key.asc
As an Amazon Associate we earn from qualifying purchases.