Fix compilation with g++ 4.7 (prerelease).
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 8 Aug 2011 08:33:19 +0000 (08:33 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 8 Aug 2011 08:33:19 +0000 (08:33 +0000)
commit8a625e0bb9e7db0eb7e685f15680a6f5997ddcd1
tree7d4032c5bea0693d6d5a4f1e2803164d44f4d711
parent5d0152c2b9c04a2822c9f3acf65819b02c43909e
Fix compilation with g++ 4.7 (prerelease).

The workaround for a bug in g++ 3.5 breaks compilation with 4.7 which
implements two-phase lookup correctly, so disable this workaround for 4.7 and
later. We could probably even only enable it for 3.x but this doesn't really
matter as previous 4.x releases don't have problems with this anyhow.

Closes #13385.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/wxcrt.h