1 |
786 |
skrzyp |
// ####ECOSHOSTGPLCOPYRIGHTBEGIN####
|
2 |
|
|
// -------------------------------------------
|
3 |
|
|
// This file is part of the eCos host tools.
|
4 |
|
|
// Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc.
|
5 |
|
|
//
|
6 |
|
|
// This program is free software; you can redistribute it and/or modify
|
7 |
|
|
// it under the terms of the GNU General Public License as published by
|
8 |
|
|
// the Free Software Foundation; either version 2 or (at your option) any
|
9 |
|
|
// later version.
|
10 |
|
|
//
|
11 |
|
|
// This program is distributed in the hope that it will be useful, but
|
12 |
|
|
// WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 |
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
14 |
|
|
// General Public License for more details.
|
15 |
|
|
//
|
16 |
|
|
// You should have received a copy of the GNU General Public License
|
17 |
|
|
// along with this program; if not, write to the
|
18 |
|
|
// Free Software Foundation, Inc., 51 Franklin Street,
|
19 |
|
|
// Fifth Floor, Boston, MA 02110-1301, USA.
|
20 |
|
|
// -------------------------------------------
|
21 |
|
|
// ####ECOSHOSTGPLCOPYRIGHTEND####
|
22 |
|
|
// This include file serves only to include others - usually from the STL -
|
23 |
|
|
// that would otherwise lead to a huge number of warning messages being generated.
|
24 |
|
|
// (because #defines cannot use the # character this cannot be done with macros)
|
25 |
|
|
// So what we do is this:
|
26 |
|
|
// #define INCLUDEFILE file_to_include
|
27 |
|
|
// #include IncludeSTL.h
|
28 |
|
|
// Note that the ".." or <..> must be included in the definition of INCLUDEFILE.
|
29 |
|
|
|
30 |
|
|
#ifndef INCLUDEFILE
|
31 |
|
|
#error Need to define INCLUDEFILE
|
32 |
|
|
#endif
|
33 |
|
|
|
34 |
|
|
#pragma warning (push)
|
35 |
|
|
#pragma warning(disable:4018) // signed/unsigned mismatch
|
36 |
|
|
#pragma warning(disable:4100) // unreferenced formal parameter
|
37 |
|
|
#pragma warning(disable:4146) // unary minus operator applied to unsigned type, result still unsigned
|
38 |
|
|
#pragma warning(disable:4189) // local variable is initialized but not referenced
|
39 |
|
|
#pragma warning(disable:4244) // conversion from 'unsigned int' to 'char', possible loss of data
|
40 |
|
|
#pragma warning(disable:4250) // CdlConfigurationBody' : inherits 'CdlToplevelBody::is_active' via dominance
|
41 |
|
|
#pragma warning(disable:4284) // return type for (ie; not a UDT or reference to a UDT. Will produce errors if applied using infix notation)
|
42 |
|
|
#pragma warning(disable:4290) // C++ Exception Specification ignored
|
43 |
|
|
#pragma warning(disable:4503) // decorated name length exceeded, name was truncated
|
44 |
|
|
#pragma warning(disable:4663) // C++ language change: to explicitly specialize class template...
|
45 |
|
|
|
46 |
|
|
// EXTERN will be (re)defined in tcl.h via cdl.hxx
|
47 |
|
|
#ifdef EXTERN
|
48 |
|
|
#undef EXTERN
|
49 |
|
|
#endif
|
50 |
|
|
#include INCLUDEFILE
|
51 |
|
|
#undef EXTERN
|
52 |
|
|
#pragma warning (pop)
|
53 |
|
|
#undef INCLUDEFILE
|