Revision: 42232
http://brlcad.svn.sourceforge.net/brlcad/?rev=42232&view=rev
Author: brlcad
Date: 2011-01-13 13:54:40 +0000 (Thu, 13 Jan 2011)
Log Message:
-----------
error: macro bu_strcmp passed 2 arguments, but takes just 1. now it takes 2.
Modified Paths:
--------------
brlcad/trunk/include/bu.h
Modified: brlcad/trunk/include/bu.h
===================================================================
--- brlcad/trunk/include/bu.h 2011-01-13 13:49:05 UTC (rev 42231)
+++ brlcad/trunk/include/bu.h 2011-01-13 13:54:40 UTC (rev 42232)
@@ -5077,13 +5077,13 @@
*
*/
BU_EXPORT BU_EXTERN(int bu_strcmpm, (const char *string1, const char *string2,
const char *label));
-#define bu_strcmp(s) bu_strcmpm(s, BU_FLSTR)
+#define bu_strcmp(s1, s2) bu_strcmpm((s1), (s2), BU_FLSTR)
/**
* BU_STR_EMPTY() is a convenience macro that tests a string for
* emptiness, i.e. "" or NULL.
*/
-#define BU_STR_EMPTY(s) (bu_strcmpm(s, "", BU_FLSTR) == 0)
+#define BU_STR_EMPTY(s) (bu_strcmpm((s), "", BU_FLSTR) == 0)
/**
* BU_STR_EQUAL() is a convenience macro for testing two
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits