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:

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

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

Dennis Lovelady
"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
-- 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,
or email: C400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2021 by 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.