31
|
1 |
/*
|
|
2 |
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description:
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#if defined (_STLP_MSVC) || defined (__ICL) || defined (__BORLANDC__)
|
|
19 |
|
|
20 |
# if defined (__BORLANDC__)
|
|
21 |
# if (__BORLANDC__ >= 0x510)
|
|
22 |
# pragma option push -Vx- -Ve- -a8 -b -pc -w-inl -w-aus -w-sig -w-8062 -w-8041 -w-8008 -w-8012 -w-8027 -w-8057 -w-8091 -w-8092 -w-8066 /* P_O_1 */
|
|
23 |
# endif
|
|
24 |
# else
|
|
25 |
# if !(defined (_STLP_MSVC) && (_STLP_MSVC < 1200))
|
|
26 |
// # pragma warning(push)
|
|
27 |
# endif
|
|
28 |
# include <config/_msvc_warnings_off.h>
|
|
29 |
# pragma pack(push,8)
|
|
30 |
# endif
|
|
31 |
|
|
32 |
|
|
33 |
#elif defined(__sgi) && !defined(__GNUC__) && (_MIPS_SIM != _MIPS_SIM_ABI32)
|
|
34 |
|
|
35 |
#pragma set woff 1209
|
|
36 |
#pragma set woff 1174
|
|
37 |
#pragma set woff 1375
|
|
38 |
// from iterator_base.h
|
|
39 |
#pragma set woff 1183
|
|
40 |
|
|
41 |
#elif defined(__DECCXX)
|
|
42 |
|
|
43 |
# ifdef __PRAGMA_ENVIRONMENT
|
|
44 |
# pragma __environment __save
|
|
45 |
# pragma __environment __header_defaults
|
|
46 |
# endif
|
|
47 |
|
|
48 |
#elif defined(__IBMCPP__)
|
|
49 |
// supress EDC3130: A constant is being used as a conditional expression
|
|
50 |
#pragma info(nocnd)
|
|
51 |
|
|
52 |
#elif defined (__HP_aCC)
|
|
53 |
/* _REENTRANT selects Posix 1c threads unless draft4 selected.
|
|
54 |
* * This usage is obsolescent, "-D_POSIX_C_SOURCE=199506" is preferred */
|
|
55 |
# if 0 /* defined (_REENTRANT) && ! defined (_POSIX_C_SOURCE) */
|
|
56 |
# define _POSIX_C_SOURCE 199506
|
|
57 |
# endif
|
|
58 |
#elif defined (__WATCOMCPLUSPLUS__)
|
|
59 |
# pragma warning 604 10 // must lookahead to determine...
|
|
60 |
# pragma warning 594 10 // resolved as declaration/type
|
|
61 |
# pragma warning 595 10 // resolved as an expression
|
|
62 |
#endif
|