Hi Mark,
I think the Runtime manual could be a bit more clear because the
Decimal Floating Point support on 6.1 is actually only for ILE C; C++
has had to wait until 7.1.
Regards,
Erik
2011/7/15 Mark S. Waterbury <mark.s.waterbury@xxxxxxxxxxxxx>:
Please ignore my previous comment.
I just looked at the ILE C Runtime Routines manual for V6R1 and it seems
to be defined for both C and C++.
> On 7/15/2011 9:31 AM, Mark S. Waterbury wrote:
Erik:
I think those _STDC_ macros are only defined for C++ and not for regular C.
Perhaps you are trying to use a C++ function in normal ILE C?
Mark S. Waterbury
On 7/15/2011 3:25 AM, Erik Olsson wrote:
Thanks again for the tip.
It seems like the __STDC_WANT_DEC_FP__ macro is not defined and that
this is the cause of the prototype not being found. I anyone knows
what defines this macro please let me know.
2011/7/15 Dennis Lovelady<iseries@xxxxxxxxxxxx>:
Harumph!
I've been away today due to travel. You can exercise the PPSRCFILE and/or
PPSRCSTMF parameters to write out the preprocessed source. I would next try
that, and then search it for the proto. Dunno... I'm grasping at straws
here. Wish I had a couple of jumper cables, 'cuz they'll latch onto
anything.
Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"The most remarkable thing about my mother is that for thirty years she
served the family nothing but leftovers. The original meal has never been
found."
-- Calvin Trillin
Hmm, wrapped conditional compiler directives around the code so it
only tries to compile if these macros are in effect. They are, and
still no prototype found.
--
This is the C programming iSeries / AS400 (C400-L) mailing list
To post a message email: C400-l@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/c400-l
or email: C400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/c400-l.
--
This is the C programming iSeries / AS400 (C400-L) mailing list
To post a message email: C400-l@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/c400-l
or email: C400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/c400-l.