2
*******************************************************************************
4
* Copyright (C) 1998-2000, International Business Machines
5
* Corporation and others. All Rights Reserved.
7
*******************************************************************************
11
* Modification History:
13
* Date Name Description
14
* 05/28/99 stephen Creation.
15
*******************************************************************************
23
void error(uint32_t linenumber, const char *msg, ...)
28
fprintf(stderr, "%s:%d: ", gCurrentFileName, linenumber);
29
vfprintf(stderr, msg, va);
30
fprintf(stderr, "\n");
34
static UBool gShowWarning = TRUE;
36
void setShowWarning(UBool val)
41
UBool getShowWarning(){
45
void warning(uint32_t linenumber, const char *msg, ...)
52
fprintf(stderr, "%s:%d: warning: ", gCurrentFileName, linenumber);
53
vfprintf(stderr, msg, va);
54
fprintf(stderr, "\n");