Additional information on the #pragma printf_check warning messages:
If I install C30 v3.25 with the default install directory, that is,
then I don't get any of those #pragma printf_check warnings.
If I install the compiler with the more traditional Microchip approach, that is,
c:\Program Files\Microchip\MPLAB C30
then I get #pragram printf_check warnings every time when the file stdio.h is included.
In both cases, the linker failure is always there complaining about vsnprintf() as indicated in my first post.
It seems if I have a project that was originally created with previous MPLAB and C30, I have these lines in the .mcp file:
dir_inc=.;C:\Program Files\Microchip\MPLAB C30\support\h\peripheral_24F;C:\Program Files\Microchip\MPLAB C30\include
dir_lib=C:\Program Files\Microchip\MPLAB C30\lib
And these two settings, dir_inc and dir_lib, will generate those #pragma pritnf_check warnings.
Test project attached.
post edited by aschen0866 - 2010/11/18 14:25:21