OLD | NEW |
| (Empty) |
1 // Copyright 2004-2009 Google Inc. | |
2 // | |
3 // Licensed under the Apache License, Version 2.0 (the "License"); | |
4 // you may not use this file except in compliance with the License. | |
5 // You may obtain a copy of the License at | |
6 // | |
7 // http://www.apache.org/licenses/LICENSE-2.0 | |
8 // | |
9 // Unless required by applicable law or agreed to in writing, software | |
10 // distributed under the License is distributed on an "AS IS" BASIS, | |
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
12 // See the License for the specific language governing permissions and | |
13 // limitations under the License. | |
14 // ======================================================================== | |
15 | |
16 #ifndef OMAHA_PRECOMPILE_PRECOMPILE_H__ | |
17 #define OMAHA_PRECOMPILE_PRECOMPILE_H__ | |
18 | |
19 // 'function': name was marked as #pragma deprecated | |
20 #pragma warning(disable : 4995) | |
21 | |
22 #pragma warning(push) | |
23 // C4201: nonstandard extension used : nameless struct/union | |
24 #pragma warning(disable : 4201) | |
25 #include <windows.h> | |
26 #include <winioctl.h> | |
27 #include <wtypes.h> | |
28 #include <tchar.h> | |
29 #include <strsafe.h> | |
30 | |
31 #include "omaha/base/atlassert.h" // Redefines ATLASSERT. | |
32 | |
33 // C4061: enumerate is not explicitly handled by a case label | |
34 // C4265: class has virtual functions, but destructor is not virtual | |
35 // C4510: default constructor could not be generated | |
36 // C4548: expression before comma has no effect | |
37 // C4610: struct can never be instantiated - user defined constructor required | |
38 // C4826: conversion from 'type1 ' to 'type_2' is sign-extended | |
39 #pragma warning(disable : 4061 4265 4510 4610 4548 4826) | |
40 #include <atlbase.h> | |
41 #include <atlstr.h> | |
42 #include <atlcoll.h> | |
43 #include <atlcom.h> | |
44 #include <atlhost.h> | |
45 #include <atlrx.h> | |
46 #include <atlsecurity.h> | |
47 #include <atltypes.h> | |
48 #include <atlwin.h> | |
49 #include <algorithm> | |
50 #include <cstdlib> | |
51 #include <list> | |
52 #include <map> | |
53 #include <queue> | |
54 #include <string> | |
55 #include <vector> | |
56 #pragma warning(pop) | |
57 | |
58 #if (_MSC_VER < 1400) | |
59 // TODO(omaha): fix the atlconv for VC8. | |
60 #include "omaha/base/atlconvfix.h" | |
61 #endif | |
62 | |
63 #pragma warning(push) | |
64 // C4310: cast truncates constant value | |
65 #pragma warning(disable : 4310) | |
66 #include "base/basictypes.h" | |
67 #pragma warning(pop) | |
68 | |
69 #include "omaha/third_party/gtest/include/gtest/gtest.h" | |
70 | |
71 #endif // OMAHA_PRECOMPILE_PRECOMPILE_H__ | |
OLD | NEW |