libtool-patches
[Top][All Lists]
Advanced

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

Re: build check in AIX 5.2 / 5.3 / 6.1


From: Ralf Wildenhues
Subject: Re: build check in AIX 5.2 / 5.3 / 6.1
Date: Wed, 9 Jan 2008 20:54:28 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

* Rainer Tammer wrote on Wed, Jan 09, 2008 at 12:25:03PM CET:
[ branch-1.5-20080108-cvs/check.log ]
> creating libmlib.la (cd .libs && rm -f libmlib.la && ln -s ../libmlib.la 
> libmlib.la) cc_r -qlanglvl=extc89 -DPACKAGE_NAME=\"mdemo\" 
> -DPACKAGE_TARNAME=\"mdemo\" -DPACKAGE_VERSION=\"0.1\" 
> -DPACKAGE_STRING=\"mdemo\ 0.1\" -DPACKAGE_BUGREPORT=\"address@hidden" 
> -DPACKAGE=\"mdemo\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
> -DHAVE_DLFCN_H=1 -DHAVE_MATH_H=1 -I. -I./../libltdl    -g -c main.c
> "main.c", line 195.7: 1506-068 (W) Operation between types "char*" and "int" 
> is not allowed.

While we're at it, let's fix that buglet, and a couple of other ones I
found.  Applied to branch-1-5 (HEAD is fixed already).

Cheers,
Ralf

2008-01-09  Ralf Wildenhues  <address@hidden>

        * mdemo/main.c: Include string.h, for strrchr.
        Report by Rainer Tammer.
        * f77demo/cprogram.c: Include stdio.h, for printf.
        * f77demo/fooc.c: Likewise.

Index: f77demo/cprogram.c
===================================================================
RCS file: /cvsroot/libtool/libtool/f77demo/Attic/cprogram.c,v
retrieving revision 1.1.2.1
diff -u -r1.1.2.1 cprogram.c
--- f77demo/cprogram.c  22 Apr 2005 09:05:43 -0000      1.1.2.1
+++ f77demo/cprogram.c  9 Jan 2008 19:53:22 -0000
@@ -15,6 +15,7 @@
 USA. */
 
 #include "foo.h"
+#include <stdio.h>
 
 int
 main(int argc, char **argv)
Index: f77demo/fooc.c
===================================================================
RCS file: /cvsroot/libtool/libtool/f77demo/Attic/fooc.c,v
retrieving revision 1.1
diff -u -r1.1 fooc.c
--- f77demo/fooc.c      31 Jul 2002 20:15:27 -0000      1.1
+++ f77demo/fooc.c      9 Jan 2008 19:53:22 -0000
@@ -1,4 +1,5 @@
 #include "foo.h"
+#include <stdio.h>
 
 
 int csub(int arg)
Index: mdemo/main.c
===================================================================
RCS file: /cvsroot/libtool/libtool/mdemo/Attic/main.c,v
retrieving revision 1.19.4.2
diff -u -r1.19.4.2 main.c
--- mdemo/main.c        24 Jul 2007 05:11:13 -0000      1.19.4.2
+++ mdemo/main.c        9 Jan 2008 19:53:22 -0000
@@ -1,5 +1,5 @@
 /* main.c -- mdemo test program
-   Copyright (C) 1998-2000, 2007 Free Software Foundation, Inc.
+   Copyright (C) 1998-2000, 2007, 2008 Free Software Foundation, Inc.
    Originally by Thomas Tanner <address@hidden>
    This file is part of GNU Libtool.
 
@@ -21,10 +21,12 @@
 #include "foo.h"
 #include "ltdl.h"
 #include <stdio.h>
+#include <string.h>
 
 int
 test_dl (filename, test_ext)
   char *filename;
+  int test_ext;
 {
   lt_dlhandle handle;  
   const lt_dlinfo *info;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]