1 /* 2 * ==================================================================== 3 * Copyright (c) 2002-2009 The RapidSvn Group. All rights reserved. 4 * 5 * This program is free software: you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation, either version 3 of the License, or 8 * (at your option) any later version. 9 * 10 * This program is distributed in the hope that it will be useful, 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13 * GNU General Public License for more details. 14 * 15 * You should have received a copy of the GNU General Public License 16 * along with this program (in the file GPL.txt. 17 * If not, see <http://www.gnu.org/licenses/>. 18 * 19 * This software consists of voluntary contributions made by many 20 * individuals. For exact contribution history, see the revision 21 * history and logs, available at http://rapidsvn.tigris.org/. 22 * ==================================================================== 23 */ 24 25 #ifndef _SVNCPP_STRING_WRAPPER_H_ 26 #define _SVNCPP_STRING_WRAPPER_H_ 27 28 // Ignore MSVC 6 compiler warning 29 #if defined (_MSC_VER) && _MSC_VER <= 1200 30 // debug symbol truncated 31 #pragma warning (disable: 4786) 32 // C++ exception specification 33 #pragma warning (disable: 4290) 34 // conflict between signed and unsigned 35 #pragma warning (disable: 4018) 36 #endif 37 38 // Ignore MSVC 7,8,9 compiler warnings 39 #if defined (_MSC_VER) && _MSC_VER > 1200 && _MSC_VER <= 1500 40 // C++ exception specification 41 #pragma warning (disable: 4290) 42 #endif 43 44 #include <string> 45 46 // re-enable warnings that are us 47 #if defined (_MSC_VER) && _MSC_VER <= 1200 48 #pragma warning (default: 4018) 49 #endif 50 51 #if defined (_MSC_VER) && _MSC_VER > 1200 && _MSC_VER <= 1500 52 #endif 53 54 55 56 #endif 57 /* ----------------------------------------------------------------- 58 * local variables: 59 * eval: (load-file "../../rapidsvn-dev.el") 60 * end: 61 */ 62