SUMO - Simulation of Urban MObility
windows_config.h
Go to the documentation of this file.
1
/****************************************************************************/
2
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3
// Copyright (C) 2001-2017 German Aerospace Center (DLR) and others.
4
/****************************************************************************/
5
//
6
// This program and the accompanying materials
7
// are made available under the terms of the Eclipse Public License v2.0
8
// which accompanies this distribution, and is available at
9
// http://www.eclipse.org/legal/epl-v20.html
10
//
11
/****************************************************************************/
22
// The general windows configuration file
23
/****************************************************************************/
24
#ifndef config_h
25
#define config_h
26
27
#ifndef _MSC_VER
28
#error This file is for MSVC compilation only. GCC should use configure generated config.h.
29
#endif
30
31
/* Disable "decorated name length exceeded, name was truncated" warnings. */
32
#pragma warning(disable: 4503)
33
/* Disable "identifier truncated in debug info" warnings. */
34
#pragma warning(disable: 4786)
35
/* Disable "C++ Exception Specification ignored" warnings */
36
#pragma warning(disable: 4290)
37
/* Disable DLL-Interface warnings */
38
#pragma warning(disable: 4251)
39
40
/* Disable "unsafe" warnings for crt functions in VC++ 2005. */
41
#if _MSC_VER >= 1400
42
#define _CRT_SECURE_NO_WARNINGS
43
#endif
44
45
#ifndef WIN32
46
#define WIN32
47
#endif
48
49
/* Define for dynamic Fox linkage */
50
#define FOXDLL 1
51
52
/* Temporary workaround to enable cmake compilation with MSVC */
53
#ifndef HAVE_ENABLED
54
#include <
config.h
>
55
#else
56
57
/* defines the epsilon to use on position comparison */
58
#define POSITION_EPS 0.1
59
60
/* defines the epsilon to use on general floating point comparison */
61
#define NUMERICAL_EPS 0.001
62
63
/* Define if auto-generated version.h should be used. */
64
//#define HAVE_VERSION_H 1
65
66
/* Version number of package */
67
#ifndef HAVE_VERSION_H
68
#define VERSION_STRING "0.32.0"
69
#endif
70
71
/* Definition for the character function of Xerces */
72
#define XERCES3_SIZE_t XMLSize_t //Xerces >= 3.0
73
//#define XERCES3_SIZE_t unsigned int //Xerces < 3.0
74
75
#endif // HAVE_ENABLED
76
77
#endif
config.h
src
windows_config.h
Generated on Fri May 25 2018 08:54:34 for SUMO - Simulation of Urban MObility by
1.8.13