warning in last night's build

From: Robert W. Hatcher <rhatcher_at_fnal.gov>
Date: Sat, 21 Aug 2010 09:59:19 -0500


include/G__ci.h: line 1261

struct G__input_file {

    FILE *fp;
    int line_number;
    short filenum;
    char name[G__MAXFILENAME];
#ifndef G__OLDIMPLEMENTATION1649

    char *str;
    unsigned long pos;
    int vindex;
#endif
#ifdef __cplusplus

    G__input_file() : fp(0),line_number(-1),filenum(-1),str(0),pos (-1),vindex(0) { ; }

The initialization of "pos" w/ -1 is inconsistent w/ the type "unsigned long". All the dictionary files got:

<**compiling**> CalibratorCint.cc
In file included from MyLibCint.h:18,

                  from MyLibCint.cc:16:

$ROOTSYS/include/G__ci.h: In constructor `G__input_file::G__input_file ()':
$ROOTSYS/include/G__ci.h:1261: warning: converting of negative value `-0x000000001' to `long unsigned int'

When compiling w/ -Wall and -pedantic

-robert

Robert W. Hatcher | rhatcher_at_fnal.gov 630-840-3102 FNAL CD/REX (MINOS) | MS 220, PO Box 500, Batavia IL 60510 Received on Sat Aug 21 2010 - 16:59:38 CEST

This archive was generated by hypermail 2.2.0 : Sat Aug 21 2010 - 23:50:01 CEST