You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ma...@apache.org on 2011/06/10 17:51:51 UTC

[lucy-commits] svn commit: r1134355 - in /incubator/lucy/trunk/core/Lucy: Object/Obj.c Util/Atomic.cfh

Author: marvin
Date: Fri Jun 10 15:51:51 2011
New Revision: 1134355

URL: http://svn.apache.org/viewvc?rev=1134355&view=rev
Log:
LUCY-154 Double-quote #error directives.

Modified:
    incubator/lucy/trunk/core/Lucy/Object/Obj.c
    incubator/lucy/trunk/core/Lucy/Util/Atomic.cfh

Modified: incubator/lucy/trunk/core/Lucy/Object/Obj.c
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Object/Obj.c?rev=1134355&r1=1134354&r2=1134355&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Object/Obj.c (original)
+++ incubator/lucy/trunk/core/Lucy/Object/Obj.c Fri Jun 10 15:51:51 2011
@@ -103,7 +103,7 @@ Obj_to_string(Obj *self) {
     return CB_newf("%o@0x%x32%x32", Obj_Get_Class_Name(self), address_hi,
                    address_lo);
 #else
-  #error Unexpected pointer size.
+  #error "Unexpected pointer size."
 #endif
 }
 

Modified: incubator/lucy/trunk/core/Lucy/Util/Atomic.cfh
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/core/Lucy/Util/Atomic.cfh?rev=1134355&r1=1134354&r2=1134355&view=diff
==============================================================================
--- incubator/lucy/trunk/core/Lucy/Util/Atomic.cfh (original)
+++ incubator/lucy/trunk/core/Lucy/Util/Atomic.cfh Fri Jun 10 15:51:51 2011
@@ -82,7 +82,7 @@ lucy_Atomic_cas_ptr(void *volatile *targ
 /******************** No support for atomics at all. ***********************/
 #else
 
-#error No support for atomic operations.
+#error "No support for atomic operations."
 
 #endif // Big platform if-else chain.