From: <yu...@us...> - 2004-02-04 21:14:26
|
Update of /cvsroot/timewarp/source/util In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19164/source/util Modified Files: errors.h Log Message: Setting $(NAME) dependences in makefile properly. Fixed compilation problem without jgmod library. Index: errors.h =================================================================== RCS file: /cvsroot/timewarp/source/util/errors.h,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** errors.h 29 Jan 2004 21:35:16 -0000 1.10 --- errors.h 4 Feb 2004 21:12:00 -0000 1.11 *************** *** 90,98 **** void error_handler ( const char *message); extern void (*_error_handler) ( const char *src_file, int line, const char *message ); ! #ifdef __cplusplus ! typedef void (*ERROR_FUNC_TYPE)(const char *fmt = "", ...); ! #else typedef void (*ERROR_FUNC_TYPE)(const char *fmt, ...); ! #endif ERROR_FUNC_TYPE _prep_error_func ( const char *file, int line ); void _prep_error(const char *file, int line); --- 90,96 ---- void error_handler ( const char *message); extern void (*_error_handler) ( const char *src_file, int line, const char *message ); ! typedef void (*ERROR_FUNC_TYPE)(const char *fmt, ...); ! ERROR_FUNC_TYPE _prep_error_func ( const char *file, int line ); void _prep_error(const char *file, int line); |