Recognize MSVC 10 in wx/platform.h.
Define __VISUALC10__ for it and avoid a warning when building wx using it. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -169,7 +169,7 @@ compiler used.
|
|||||||
@c 1020 for @c 4.2 (the first supported version), @c 1100 for
|
@c 1020 for @c 4.2 (the first supported version), @c 1100 for
|
||||||
@c 5.0, @c 1200 for @c 6.0 and so on. For convenience, the symbols
|
@c 5.0, @c 1200 for @c 6.0 and so on. For convenience, the symbols
|
||||||
__VISUALCn__ are also defined for each major compiler version from
|
__VISUALCn__ are also defined for each major compiler version from
|
||||||
5 to 9, i.e. you can use tests such @ifdef_ __VISUALC7__ to test
|
5 to 10, i.e. you can use tests such @ifdef_ __VISUALC7__ to test
|
||||||
for compiler version being precisely 7.}
|
for compiler version being precisely 7.}
|
||||||
@itemdef{__XLC__, AIX compiler}
|
@itemdef{__XLC__, AIX compiler}
|
||||||
@itemdef{__WATCOMC__, Watcom C++. The value of this macro corresponds to
|
@itemdef{__WATCOMC__, Watcom C++. The value of this macro corresponds to
|
||||||
|
@@ -544,8 +544,10 @@
|
|||||||
# define __VISUALC8__
|
# define __VISUALC8__
|
||||||
# elif __VISUALC__ < 1600
|
# elif __VISUALC__ < 1600
|
||||||
# define __VISUALC9__
|
# define __VISUALC9__
|
||||||
|
# elif __VISUALC__ < 1700
|
||||||
|
# define __VISUALC10__
|
||||||
# else
|
# else
|
||||||
# pragma message("Please update this code for the next VC++ version")
|
# pragma message("Please update wx/platform.h to recognize this VC++ version")
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
# elif defined(__BCPLUSPLUS__) && !defined(__BORLANDC__)
|
# elif defined(__BCPLUSPLUS__) && !defined(__BORLANDC__)
|
||||||
|
Reference in New Issue
Block a user