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