You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
------------------------------------------------------------------------
r65318 | jhunold | 2010-09-06 10:43:06 +0200 (Mo, 06 Sep 2010) | 3 lines
Suppress msvc warning 4251 about templates as base classes not having a dll-interface.
Suppress msvc warning 4275 about base class std::logic_error not having a dll-interface.
------------------------------------------------------------------------
r65319 | jhunold | 2010-09-06 16:14:09 +0200 (Mo, 06 Sep 2010) | 2 lines
Fix: windows does not have wait(), use own macros instead.
------------------------------------------------------------------------
[SVN r65326]
Copy file name to clipboardExpand all lines: include/boost/program_options/detail/cmdline.hpp
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,11 @@
22
22
#include<string>
23
23
#include<vector>
24
24
25
+
#if defined(BOOST_MSVC)
26
+
# pragma warning (push)
27
+
# pragma warning (disable:4251) // class 'std::vector<_Ty>' needs to have dll-interface to be used by clients of class 'boost::program_options::positional_options_description'
Copy file name to clipboardExpand all lines: include/boost/program_options/errors.hpp
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,11 @@
13
13
#include<stdexcept>
14
14
#include<vector>
15
15
16
-
16
+
#if defined(BOOST_MSVC)
17
+
# pragma warning (push)
18
+
# pragma warning (disable:4275) // non dll-interface class 'std::logic_error' used as base for dll-interface class 'boost::program_options::error'
19
+
# pragma warning (disable:4251) // class 'std::vector<_Ty>' needs to have dll-interface to be used by clients of class 'boost::program_options::ambiguous_option'
Copy file name to clipboardExpand all lines: include/boost/program_options/options_description.hpp
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,12 @@
25
25
26
26
#include<iosfwd>
27
27
28
+
#if defined(BOOST_MSVC)
29
+
# pragma warning (push)
30
+
# pragma warning (disable:4251) // class 'boost::shared_ptr<T>' needs to have dll-interface to be used by clients of class 'boost::program_options::option_description'
Copy file name to clipboardExpand all lines: include/boost/program_options/parsers.hpp
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,11 @@
17
17
#include<vector>
18
18
#include<utility>
19
19
20
+
#if defined(BOOST_MSVC)
21
+
# pragma warning (push)
22
+
# pragma warning (disable:4251) // class 'std::vector<_Ty>' needs to have dll-interface to be used by clients of class 'boost::program_options::basic_parsed_options<wchar_t>'
Copy file name to clipboardExpand all lines: include/boost/program_options/positional_options.hpp
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,11 @@
11
11
#include<vector>
12
12
#include<string>
13
13
14
+
#if defined(BOOST_MSVC)
15
+
# pragma warning (push)
16
+
# pragma warning (disable:4251) // class 'std::vector<_Ty>' needs to have dll-interface to be used by clients of class 'boost::program_options::positional_options_description'
Copy file name to clipboardExpand all lines: include/boost/program_options/variables_map.hpp
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,11 @@
16
16
#include<map>
17
17
#include<set>
18
18
19
+
#if defined(BOOST_MSVC)
20
+
# pragma warning (push)
21
+
# pragma warning (disable:4251) // 'boost::program_options::variable_value::v' : class 'boost::any' needs to have dll-interface to be used by clients of class 'boost::program_options::variable_value
0 commit comments