If you really need the latest and greatest C++ standards, you should be
looking into installing the GCC G++ compiler under PASE. :-)
All the best,
Mark S. Waterbury
On Friday, July 10, 2020, 12:22:07 PM EDT, Charles Wilt <charles.wilt@xxxxxxxxx> wrote:
"You're surprised by this?"
A little yeah, I expected it to be behind...but 9+ years? :o
No, we don't do much C++, none in fact. But I'd really like to have URI
Templating functionality https://en.wikipedia.org/wiki/URL_Template in RPG
and since there were some existing C++, I thought it'd be worthwhile to see
if we could port one over.
On Fri, Jul 10, 2020 at 7:35 AM Kelly Beard <kenverybigliar@xxxxxxxxx>
You're surprised by this? :-) Not to sound rude or condescending, butHeaven
you, like most everyone else in the universe, probably don't do a lot of
C++ work on the 400. Unfortunately, we do. We're on V7R3 here. IBM is
not even on C++11, technically, but on C++0x, and you have to, for
some reason, enable a command option to get that going. Only God in
knows why they cannot stay current. I suspect that maybe the OS iswritten
with whatever C++ was in force at the time and so that is what we'restuck
with, but that's only my uneducated guess.2011...(aka
How many lines is this utility? Probably originally written on a Linux
system with g++?
On Thu, Jul 9, 2020 at 5:06 PM Charles Wilt <charles.wilt@xxxxxxxxx>
So we're trying to port a small C++ utility to ILE...
One of the compile errors is on the following...
for(auto& ele : inVars)
Apparently this the "for each" loop which was added to C++ in
We're on v7.2, but even the v7.4 manual doesn't show it as valid.
Looks like C++ on the IBM i include part of the C+11 standards, but not
all. And of course C++14 and C++17 are nowhere to be found.
Bit surprised the i is so far behind the times, but I suppose most
use ILE C/C++...