Re: ILE C/C++: Which C standard?

Roger Harman <[email protected]> Thu, 27 Feb 2020 23:49:50 +0000
Newsgroups gmane.comp.lang.as400.c
Message-ID <BYAPR19MB261441D0590C63B9FB89AF8EE4EB0@BYAPR19MB2614.namprd19.prod.outlook.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 <[email protected]> on behalf of Patrik Schindler <[email protected]>
Sent: Thursday, February 27, 2020 3:42 PM
To: Bare Metal Programming IBM i (AS/400 and iSeries) <[email protected]>
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



-- 

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

-- 
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