evolution-data-server r9463 - trunk



Author: mbarnes
Date: Mon Sep  1 13:26:17 2008
New Revision: 9463
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9463&view=rev

Log:
2008-09-01  Matthew Barnes  <mbarnes redhat com>

	* configure.in:
	Fix compiler warnings in a couple of the test programs.



Modified:
   trunk/ChangeLog
   trunk/configure.in

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Mon Sep  1 13:26:17 2008
@@ -349,8 +349,8 @@
 
 int main (int argc, char **argv)
 {
-	const char *from = "Some Text \xA4";
-	const char *utf8 = "Some Text \xC2\xA4";
+	char *from = "Some Text \xA4";
+	char *utf8 = "Some Text \xC2\xA4";
 	char *transbuf = malloc (20), *trans = transbuf;
 	iconv_t cd;
 	size_t from_len = strlen (from), utf8_len = 20;
@@ -417,6 +417,7 @@
 
 AC_MSG_CHECKING(for %l and %k support in strftime)
 AC_TRY_RUN([
+#include <stdlib.h>
 #include <string.h>
 #include <time.h>
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]