| 1 | /* $Id: CoinPragma.hpp 1372 2011-01-03 23:31:00Z lou $ */ | 
|---|
| 2 | // Copyright (C) 2000, International Business Machines | 
|---|
| 3 | // Corporation and others.  All Rights Reserved. | 
|---|
| 4 | // This code is licensed under the terms of the Eclipse Public License (EPL). | 
|---|
| 5 |  | 
|---|
| 6 | #ifndef CoinPragma_H | 
|---|
| 7 | #define CoinPragma_H | 
|---|
| 8 |  | 
|---|
| 9 | //------------------------------------------------------------------- | 
|---|
| 10 | // | 
|---|
| 11 | // This is a file which can contain Pragma's that are | 
|---|
| 12 | // generally applicable to any source file. | 
|---|
| 13 | // | 
|---|
| 14 | //------------------------------------------------------------------- | 
|---|
| 15 |  | 
|---|
| 16 | #if defined(_MSC_VER) | 
|---|
| 17 | // Turn off compiler warning about long names | 
|---|
| 18 | #  pragma warning(disable:4786) | 
|---|
| 19 | // Turn off compiler warning: | 
|---|
| 20 | // "empty controlled statement found; is this the intent?" | 
|---|
| 21 | #  pragma warning(disable:4390) | 
|---|
| 22 | // Turn off compiler warning about deprecated functions | 
|---|
| 23 | #  pragma warning(disable:4996) | 
|---|
| 24 | #endif | 
|---|
| 25 |  | 
|---|
| 26 | #endif | 
|---|
| 27 |  | 
|---|