Re: Excessive Warnings from CVS build

From: Peter Kirchgessner (peter@kirchgessner.net)
Date: Tue Nov 21 2000 - 00:29:28 PST

  • Next message: Steve Underwood: "Re: [snapscan] More USB Updates"

    Hi,

    Henning Meier-Geinitz wrote:
    >
    > Hi,
    >
    > On Mon, Nov 20, 2000 at 09:26:48AM +0100, Peter Kirchgessner wrote:
    > > I am using gcc 2.95.2 on a Suse 6.4 distribution. Most of the 6500
    > > warnings "warning: pointer of type `void *' used in arithmetic" are
    > > generated by the inline functions that replace a memset() or something
    > > else. One memset() generates 13 warnings for the same line of source
    > > code. Therefore I dont care about them.
    >
    > Interesting. But what is the difference to my system where I can't
    > find these warnings? Maybe a different libc? Mine is glibc 2.1.3.
    > Different gcc settings?

    how do I get the version ? I found a file /usr/glib/include/glibconfig.h
    that has

    #define GLIB_MAJOR_VERSION 1
    #define GLIB_MINOR_VERSION 2
    #define GLIB_MICRO_VERSION 8

    This looks like Version 1.2.8 ??
    The settings are the standard settings created by configure without any
    additional arguments. A file is compiled with

    gcc -c -g -O2 -W -Wall -Wstrict-prototypes -Wreturn-type -Wcast-align
    -Wpointer-arith -Wcast-qual -ansi -pedantic -DSCSIBUFFERSIZE=131072
    -DHAVE_CONFIG_H -I. -I. -I../include -I../include -D_GNU_SOURCE
    -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d
    -DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1 -DV_MINOR=0
    -DBACKEND_NAME=hp-device -DLIBDIR=/usr/local/lib/sane hp-device.c -fPIC
    -DPIC -o .libs/hp-device.lo

    --Peter

    >
    > Bye,
    > Henning
    >
    > --
    > Source code, list archive, and docs: http://www.mostang.com/sane/
    > To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com

    -- 
    Peter Kirchgessner
    http://www.kirchgessner.net
    mailto:peter@kirchgessner.net
    

    -- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com



    This archive was generated by hypermail 2b29 : Tue Nov 21 2000 - 00:17:06 PST