You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucy.apache.org by ka...@apache.org on 2011/05/24 04:03:35 UTC

[lucy-commits] svn commit: r1126821 - /incubator/lucy/trunk/perl/xs/XSBind.h

Author: karpet
Date: Tue May 24 02:03:35 2011
New Revision: 1126821

URL: http://svn.apache.org/viewvc?rev=1126821&view=rev
Log:
quote error strings to quiet compiler warning

Modified:
    incubator/lucy/trunk/perl/xs/XSBind.h

Modified: incubator/lucy/trunk/perl/xs/XSBind.h
URL: http://svn.apache.org/viewvc/incubator/lucy/trunk/perl/xs/XSBind.h?rev=1126821&r1=1126820&r2=1126821&view=diff
==============================================================================
--- incubator/lucy/trunk/perl/xs/XSBind.h (original)
+++ incubator/lucy/trunk/perl/xs/XSBind.h Tue May 24 02:03:35 2011
@@ -223,13 +223,13 @@ cfish_XSBind_allot_params(SV** stack, in
 #if (CHY_SIZEOF_CHAR == 1)
   #define XSBIND_WANT_CHAR XSBIND_WANT_I8
 #else
-  #error Can't build unless sizeof(char) == 1
+  #error "Can't build unless sizeof(char) == 1"
 #endif
 
 #if (CHY_SIZEOF_SHORT == 2)
   #define XSBIND_WANT_SHORT XSBIND_WANT_I16
 #else
-  #error Can't build unless sizeof(short) == 2
+  #error "Can't build unless sizeof(short) == 2"
 #endif
 
 #if (CHY_SIZEOF_INT == 4)