|
Sorry for post wrong program segment
The code should be
gogr_write_report_line ( HRNPC_ERROR_REPORT_REC_LINE_2, prep_des );
gogr_write_report_line ( HRNPC_ERROR_REPORT_REC_LINE_3, prep_des );
and the header files contains
#define HRNPC_ERROR_REPORT_REC_LINE_2 \
"Staff No. Error Message"
#define HRNPC_ERROR_REPORT_REC_LINE_3 \
"---------- -----------------------------------------------------------------
-----------------------------------------"
Does the gcc complain about the comma after HRNPC_ERROR_REPORT_REC_LINE_2 and
HRNPC_ERROR_REPORT_REC_LINE_3
thanks
|