← Back to team overview

linuxdcpp-team team mailing list archive

[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 3378: clean up

 

------------------------------------------------------------
revno: 3378
committer: poy <poy@xxxxxxxxxx>
branch nick: trunk
timestamp: Fri 2013-12-06 22:02:08 +0100
message:
  clean up
modified:
  dwt/src/Widget.cpp


--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk

Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'dwt/src/Widget.cpp'
--- dwt/src/Widget.cpp	2013-01-18 21:28:38 +0000
+++ dwt/src/Widget.cpp	2013-12-06 21:02:08 +0000
@@ -33,18 +33,6 @@
   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
 
-#ifdef _MSC_VER
-// We don't want the stupid "pointer trunctation" to 64 bit architecture warning.
-// The warnings aren't justified anyway since they are basically a bug in 7.1 release...
-// E.g. the SetWindowLongPtr is defined as SetWindowLong in 32 bits mode but will
-// in 64 bits mode be defined as the 64 bits equivalent version, therefore it will
-// give you a 64 bit compile warning when this file is compiled with warning level
-// 4 (MSVC)
-#pragma warning( disable : 4244 )
-#pragma warning( disable : 4312 )
-#pragma warning( disable : 4311 )
-#endif
-
 #include <dwt/Widget.h>
 
 #include <dwt/DWTException.h>