|
On Fri, 04 Aug 2006 16:49:28 -0500 (CDT) Scott Klement <c400-l@xxxxxxxxxxxxxxxx> wrote:
but I still get CZM0304 No function prototype given for 'snprintf'. Of course, the first line of the module being compiled is #include <stdio.h>.Hmmm... I can't seem to reproduce the problem.
OK, I think we finally tracked down the problem. I was specifying TGTRLS(V5R1M0). Of course, as previously discussed, one of the conditions for the snprintf prototype was __OS400_TGTVRM__ >= 520. I just wasn't thinking. I guess I think it's pretty strange to condition a basic prototype like that of snprintf on an OS version. Surely the snprintf prototype was really introduced much earlier. Sorry for the trouble. Thank you for investigating.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.