ITK  4.1.0
Insight Segmentation and Registration Toolkit
itkWin32Header.h
Go to the documentation of this file.
00001 /*=========================================================================
00002  *
00003  *  Copyright Insight Software Consortium
00004  *
00005  *  Licensed under the Apache License, Version 2.0 (the "License");
00006  *  you may not use this file except in compliance with the License.
00007  *  You may obtain a copy of the License at
00008  *
00009  *         http://www.apache.org/licenses/LICENSE-2.0.txt
00010  *
00011  *  Unless required by applicable law or agreed to in writing, software
00012  *  distributed under the License is distributed on an "AS IS" BASIS,
00013  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00014  *  See the License for the specific language governing permissions and
00015  *  limitations under the License.
00016  *
00017  *=========================================================================*/
00018 /*=========================================================================
00019  *
00020  *  Portions of this file are subject to the VTK Toolkit Version 3 copyright.
00021  *
00022  *  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00023  *
00024  *  For complete copyright, license and disclaimer of warranty information
00025  *  please refer to the NOTICE file at the top of the ITK source tree.
00026  *
00027  *=========================================================================*/
00028 #ifndef __itkWin32Header_h
00029 #define __itkWin32Header_h
00030 
00032 #if defined( _MSC_VER )
00033 
00034 // 'conversion' conversion from 'type1' to 'type2', possible loss of data
00035 #pragma warning ( disable : 4244 )
00036 
00037 // 'identifier' : truncation from 'type1' to 'type2'
00038 #pragma warning ( disable : 4305 )
00039 
00040 // 'conversion' : truncation of constant value
00041 #pragma warning ( disable : 4309 )
00042 
00043 // decorated name length exceeded, name was truncated
00044 #pragma warning ( disable : 4503 )
00045 
00046 // 'type' : forcing value to bool 'true' or 'false' (performance warning)
00047 #pragma warning ( disable : 4800 )
00048 
00049 // 'identifier' : class 'type' needs to have dll-interface to be used by
00050 // clients of class 'type2'
00051 #pragma warning ( disable : 4251 )
00052 
00053 // non dll-interface class 'type' used as base for dll-interface class 'type2'
00054 #pragma warning ( disable : 4275 )
00055 
00056 // C++ exception specification ignored except to indicate a
00057 // function is not __declspec(nothrow)
00058 #pragma warning ( disable : 4290 )
00059 
00060 // 'type' : inconsistent dll linkage.  dllexport assumed.
00061 #pragma warning ( disable : 4273 )
00062 
00063 // conditional expression is constant
00064 #pragma warning ( disable : 4127 )
00065 
00066 // unreferenced local function has been removed
00067 #pragma warning ( disable : 4505 )
00068 
00069 #endif // _MSC_VER
00070 
00071 #endif
00072