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



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.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.