Skip to content

Commit 4414a22

Browse files
fanc999-1kjellahl
authored andcommitted
libxml++/*.h: Remove check for old _MSC_VER stuff
They aren't applicable anymore, since the newer Visual Studio versions addressed the issues.
1 parent 08dce79 commit 4414a22

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

libxml++/keepblanks.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,7 @@ namespace xmlpp
1616
*/
1717
class KeepBlanks {
1818
public:
19-
#if _MSC_VER == 1200 // detect MSVC 6.0
20-
static const bool Default;
21-
#else
2219
static const bool Default = true;
23-
#endif
2420

2521
public:
2622
KeepBlanks(bool value) noexcept;

libxml++/parsers/parser.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
#ifndef __LIBXMLPP_PARSER_H
88
#define __LIBXMLPP_PARSER_H
99

10-
#ifdef _MSC_VER //Ignore warnings about the Visual C++ Bug, where we can not do anything
11-
#pragma warning (disable : 4786)
12-
#endif
13-
1410
#include <libxml++/nodes/element.h>
1511
#include <libxml++/exceptions/validity_error.h>
1612
#include <libxml++/exceptions/internal_error.h>

libxml++/validators/validator.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
88
#ifndef __LIBXMLPP_VALIDATOR_H
99
#define __LIBXMLPP_VALIDATOR_H
1010

11-
#ifdef _MSC_VER //Ignore warnings about the Visual C++ Bug, where we can not do anything
12-
#pragma warning (disable : 4786)
13-
#endif
14-
1511
#include <libxml++/noncopyable.h>
1612
#include <libxml++/exceptions/validity_error.h>
1713
#include <libxml++/exceptions/internal_error.h>

0 commit comments

Comments
 (0)