Revision: 41165
http://brlcad.svn.sourceforge.net/brlcad/?rev=41165&view=rev
Author: brlcad
Date: 2010-10-29 06:32:14 +0000 (Fri, 29 Oct 2010)
Log Message:
-----------
compiler is not happy with line statements merely calling sizeof(). remove the
sizeof wrapping on ERROR to quell warnings about useless statements.
Modified Paths:
--------------
brlcad/trunk/src/conv/step/STEPWrapper.h
Modified: brlcad/trunk/src/conv/step/STEPWrapper.h
===================================================================
--- brlcad/trunk/src/conv/step/STEPWrapper.h 2010-10-29 06:16:57 UTC (rev
41164)
+++ brlcad/trunk/src/conv/step/STEPWrapper.h 2010-10-29 06:32:14 UTC (rev
41165)
@@ -29,14 +29,14 @@
#if 0
#ifdef DEBUG
-#define TRACE(arg) sizeof(std::cerr << arg << std::endl)
+#define TRACE(arg) std::cerr << arg << std::endl
#else
#define TRACE(arg)
#endif
#endif
#ifdef DEBUG
-#define ERROR(arg) sizeof(std::cerr << __FILE__ << ":" << __LINE__ << ":" <<
__func__ << ":" << arg << std::endl)
+#define ERROR(arg) std::cerr << __FILE__ << ":" << __LINE__ << ":" << __func__
<< ":" << arg << std::endl
#else
#define ERROR(arg)
#endif
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits