summaryrefslogtreecommitdiff
path: root/Build/source/texk/ttf2pk/errormsg.h
blob: 9b04b56702e136293352b7864eed9e2f3b52b113 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/*
 *   errormsg.h
 *
 *   This file is part of the ttf2pk package.
 *
 *   Copyright 1997-1999, 2000 by
 *     Frederic Loyer <loyer@ensta.fr>
 *     Werner Lemberg <wl@gnu.org>
 */

#ifndef ERRORMSG_H
#define ERRORMSG_H


/*
   Disable some annoying warnings when you compile with -W3.  Namely the
   warnings about missing __cdecl specifiers at some places where they are
   not really needed because the compiler can generate them.

   This is relevant only if you compile with -Gr option, i.e., use fastcall
   calling convention.

   This is needed for fpTeX.
 */

#ifdef WIN32
#pragma warning (disable : 4007 4096)
#define XCDECL __cdecl
#else
#define XCDECL
#endif


void oops(const char *message,
          ...);
void boops(const char *buffer,
           size_t offset,
           const char *message,
           ...);
void warning(const char *message,
             ...);

#endif /* ERRORMSG_H */


/* end */