"Fossies" - the Fresh Open Source Software Archive

Member "UXP-2019.06.08/other-licenses/7zstub/src/C/Compiler.h" (8 Jun 2019, 1253 Bytes) of package /linux/www/UXP-2019.06.08.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 /* Compiler.h
    2 2017-04-03 : Igor Pavlov : Public domain */
    3 
    4 #ifndef __7Z_COMPILER_H
    5 #define __7Z_COMPILER_H
    6 
    7 #ifdef _MSC_VER
    8 
    9   #ifdef UNDER_CE
   10     #define RPC_NO_WINDOWS_H
   11     /* #pragma warning(disable : 4115) // '_RPC_ASYNC_STATE' : named type definition in parentheses */
   12     #pragma warning(disable : 4201) // nonstandard extension used : nameless struct/union
   13     #pragma warning(disable : 4214) // nonstandard extension used : bit field types other than int
   14   #endif
   15 
   16   #if _MSC_VER >= 1300
   17     #pragma warning(disable : 4996) // This function or variable may be unsafe
   18   #else
   19     #pragma warning(disable : 4511) // copy constructor could not be generated
   20     #pragma warning(disable : 4512) // assignment operator could not be generated
   21     #pragma warning(disable : 4514) // unreferenced inline function has been removed
   22     #pragma warning(disable : 4702) // unreachable code
   23     #pragma warning(disable : 4710) // not inlined
   24     #pragma warning(disable : 4714) // function marked as __forceinline not inlined
   25     #pragma warning(disable : 4786) // identifier was truncated to '255' characters in the debug information
   26   #endif
   27 
   28 #endif
   29 
   30 #define UNUSED_VAR(x) (void)x;
   31 /* #define UNUSED_VAR(x) x=x; */
   32 
   33 #endif