Re: warning in last night's build

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Sat, 21 Aug 2010 11:14:49 -0500


  Hi Robert,

Thanks for reporting this issue. It is fixed in revision 34927.

Cheers,
Philippe.

On 8/21/10 9:59 AM, Robert W. Hatcher wrote:
> 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 <mailto: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 - 18:14:56 CEST

This archive was generated by hypermail 2.2.0 : Mon Aug 23 2010 - 17:50:02 CEST