× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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.

http://www.astradyne.net/manuals/im008440.pdf

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?

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




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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.