ILE C/C++: Which C standard?

Patrik Schindler <[email protected]> Fri, 28 Feb 2020 00:42:27 +0100
Newsgroups gmane.comp.lang.as400.c
Message-ID <[email protected]>
Hello,

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 https://wiki.midrange.com/index.php/History_of_OS/400#Release_history_and_life_cycle 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 - https://www.pocnet.net/poc-key.asc

-- 
This is the Bare Metal Programming IBM i (AS/400 and iSeries) (C400-L) mailing list
To post a message email: [email protected]
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/c400-l
or email: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/c400-l.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com