Avoid unnecessary warnings about extra ";"

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@393 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Mike Kremer
2011-05-24 10:22:17 +00:00
parent eded9f648a
commit 0b1206adca
4 changed files with 23 additions and 23 deletions

View File

@@ -200,11 +200,11 @@ SIMPLE_BINARY(unsigned long);
VECTORT_BINARY( Vec##N##f ); \
VECTORT_BINARY( Vec##N##d );
VECTORTS_BINARY( 1 );
VECTORTS_BINARY( 2 );
VECTORTS_BINARY( 3 );
VECTORTS_BINARY( 4 );
VECTORTS_BINARY( 6 );
VECTORTS_BINARY( 1 )
VECTORTS_BINARY( 2 )
VECTORTS_BINARY( 3 )
VECTORTS_BINARY( 4 )
VECTORTS_BINARY( 6 )
#undef VECTORTS_BINARY
#undef VECTORT_BINARY

View File

@@ -95,7 +95,7 @@ void _reverse_byte_order_N(uint8_t* _val)
template <> inline
void _reverse_byte_order_N<1>(uint8_t* /*_val*/) { };
void _reverse_byte_order_N<1>(uint8_t* /*_val*/) { }
template <> inline
@@ -189,22 +189,22 @@ template <> inline uchar& reverse_byte_order(uchar& _t) { return _t; }
return _t; \
}
// REVERSE_FUNDAMENTAL_TYPE(bool);
// REVERSE_FUNDAMENTAL_TYPE(char);
// REVERSE_FUNDAMENTAL_TYPE(uchar);
REVERSE_FUNDAMENTAL_TYPE(int16_t);
REVERSE_FUNDAMENTAL_TYPE(uint16_t);
// REVERSE_FUNDAMENTAL_TYPE(int);
// REVERSE_FUNDAMENTAL_TYPE(uint);
// REVERSE_FUNDAMENTAL_TYPE(bool)
// REVERSE_FUNDAMENTAL_TYPE(char)
// REVERSE_FUNDAMENTAL_TYPE(uchar)
REVERSE_FUNDAMENTAL_TYPE(int16_t)
REVERSE_FUNDAMENTAL_TYPE(uint16_t)
// REVERSE_FUNDAMENTAL_TYPE(int)
// REVERSE_FUNDAMENTAL_TYPE(uint)
REVERSE_FUNDAMENTAL_TYPE(unsigned long);
REVERSE_FUNDAMENTAL_TYPE(int32_t);
REVERSE_FUNDAMENTAL_TYPE(uint32_t);
REVERSE_FUNDAMENTAL_TYPE(int64_t);
REVERSE_FUNDAMENTAL_TYPE(uint64_t);
REVERSE_FUNDAMENTAL_TYPE(float);
REVERSE_FUNDAMENTAL_TYPE(double);
REVERSE_FUNDAMENTAL_TYPE(long double);
REVERSE_FUNDAMENTAL_TYPE(unsigned long)
REVERSE_FUNDAMENTAL_TYPE(int32_t)
REVERSE_FUNDAMENTAL_TYPE(uint32_t)
REVERSE_FUNDAMENTAL_TYPE(int64_t)
REVERSE_FUNDAMENTAL_TYPE(uint64_t)
REVERSE_FUNDAMENTAL_TYPE(float)
REVERSE_FUNDAMENTAL_TYPE(double)
REVERSE_FUNDAMENTAL_TYPE(long double)
#undef REVERSE_FUNDAMENTAL_TYPE