1 //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\r
2 // compiler_specific.h
\r
5 #ifndef _COMPILER_SPECIFIC_H
\r
6 # define _COMPILER_SPECIFIC_H
\r
9 //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\r
10 // Microsoft Visual C++ 6.0
\r
12 # if defined(_MSC_VER)
\r
14 // C4061 enum 'identifier' is not handled by case label
\r
15 // C4100 argument 'identifier' is not used
\r
16 // C4132 const 'object' must be initialized
\r
17 // C4552 'operator' : operator has no effect
\r
18 // C4701 local variable 'name' may be uninitialized
\r
19 // C4706 condition is a result of a assign
\r
20 // C4786 identifier is truncated into 255 chars (in debug information)
\r
21 # pragma warning(disable : 4061 4100 4132 4552 4701 4706 4786)
\r
23 # define setmode _setmode
\r
24 //# define for if (false) ; else for
\r
26 # define stati64_t _stati64
\r
29 //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\r
30 // Borland C++ 5.5.1
\r
32 # elif defined(__BORLANDC__)
\r
34 // W8004 'identifier' is assigned a value that is never used in function
\r
35 // W8022 'identifier' hides virtual function 'function'
\r
36 // W8027 Functions containing ... are not expanded inline
\r
37 // W8030 Temporary used for parameter 'identifier'
\r
38 // in call to 'function' in function
\r
39 // W8060 Possibly incorrect assignment in function
\r
40 // W8070 Function should return a value in function
\r
41 // W8084 Suggest parentheses to clarify precedence in function
\r
51 extern wchar_t **_wargv;
\r
55 # define _istcntrl iscntrl
\r
58 # include <windows.h>
\r
63 int WINAPI _tWinMain(HINSTANCE i_hInstance, HINSTANCE i_hPrevInstance,
\r
64 LPTSTR i_lpszCmdLine, int i_nCmdShow);
\r
67 # define stati64_t stati64
\r
70 //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\r
71 // Cygwin 1.1 (gcc 2.95.2)
\r
73 # elif defined(__CYGWIN__)
\r
74 # error "I don't know the details of this compiler... Plz hack."
\r
77 //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\r
80 # elif defined(__WATCOMC__)
\r
81 # error "I don't know the details of this compiler... Plz hack."
\r
84 //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\r
88 # error "I don't know the details of this compiler... Plz hack."
\r
93 #endif // _COMPILER_SPECIFIC_H
\r