I upgraded from Labwindows 2008 to 2013
When I now build my project in Labwindows 2013 I am getting many errors like these:
236, 5 error: implicit declaration of function 'GPS_DisplayErrorStatistics' is invalid in C99. Make sure that you include the function prototype. [-Wimplicit-function-declaration]
246, 5 error: implicit declaration of function 'BER_DisplayErrorStatistics' is invalid in C99. Make sure that you include the function prototype. [-Wimplicit-function-declaration]
256, 5 error: implicit declaration of function 'NDAT_DisplayErrorStatistics' is invalid in C99. Make sure that you include the function prototype. [-Wimplicit-function-declaration]
No problem when I build the project using Labwindows 2008
errorStat.h
void GPS_DisplayErrorStatistics( int displayIfZero );
void BER_DisplayErrorStatistics( int displayIfZero );
void NDAT_DisplayErrorStatistics( int displayIfZero );
errorStat.c
/****************************************************************************************/
/* */
/* Display any BER errors which may have been detected during collection */
/* */
/****************************************************************************************/
void BER_DisplayErrorStatistics( int displayIfZero )
{
ProcessError(BER_Stats.bytecount_errors, "Data Byte Count Errors");
ProcessError(BER_Stats.checksum_errors, "Checksum Errors");
ProcessError(BER_Stats.BER_errors , "BER Unreasonable Errors");
ProcessError(BER_Stats.MSE_errors, "MSE Unreasonable Errors");
ProcessError(BER_Stats.SNR_errors, "SNR Unreasonable Errors");
}
Calling function in other file
/***************************************************************************************/
/* *
/* Analyze BER statistics */
/* */
/***************************************************************************************/
void AnalyzeBER( void )
{
BER_DisplayErrorStatistics( FALSE );
}
What can be wrong?
Thanks!
John W.