tedr56 / oscpack

Automatically exported from code.google.com/p/oscpack
Other
0 stars 0 forks source link

Can't compile with VS2010 Sp1 x86_64 #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

the current revision r60 doesn't compile with VS2010 Sp1 x86_64.
The problem can be fixed as it was done in r54.

--- a/osc/OscOutboundPacketStream.h Mon Aug 15 15:57:18 2011 +0200
+++ b/osc/OscOutboundPacketStream.h Mon Aug 15 16:05:28 2011 +0200
@@ -96,7 +96,7 @@
     OutboundPacketStream& operator<<( const InfinitumType& rhs );
     OutboundPacketStream& operator<<( int32 rhs );

-#ifndef __x86_64__
+#if !(defined(__x86_64__) || defined(_M_X64))
     OutboundPacketStream& operator<<( int rhs )
             { *this << (int32)rhs; return *this; }
 #endif

Original issue reported on code.google.com by bernd.am...@gmail.com on 15 Aug 2011 at 2:24

GoogleCodeExporter commented 8 years ago
Thanks Bernd. Fix committed in r63. Can confirm that cmake generated projects 
build in VS2010 Sp1 x86_64 now.

Original comment by ross.bencina on 23 Jan 2013 at 5:25