On Mon May 24 16:58:03 2010, toddr@cpanel.net wrote: > I just installed GCC 4.5.0 and am seeing the following warnings during > the build process. I thought someone might want to take a look: > > > `sh cflags "optimize='-Os'" malloc.o` -fPIC malloc.c > CCCMD = gcc.4.5.0 -DPERL_CORE -c -fno-strict-aliasing -pipe > -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -std=c89 -Os -Wall -ansi -W -Wextra > -Wdeclaration-after-statement -Wendif-labels -Wc++-compat > malloc.c:883:7: warning: cast from pointer to integer of different > size > malloc.c: In function 'getpages': > malloc.c:1694:14: warning: comparison between signed and unsigned > integer expressions > > > `sh cflags "optimize='-Os'" pp.o` -fPIC pp.c > CCCMD = gcc.4.5.0 -DPERL_CORE -c -fno-strict-aliasing -pipe > -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -std=c89 -Os -Wall -ansi -W -Wextra > -Wdeclaration-after-statement -Wendif-labels -Wc++-compat > pp.c: In function 'Perl_pp_not': > pp.c:2488:31: warning: identifier "not" is a special operator name in > C++ > pp.c: In function 'Perl_pp_complement': > pp.c:2495:37: warning: identifier "compl" is a special operator name > in C++ > > > `sh cflags "optimize='-Os'" pp_sys.o` -fPIC pp_sys.c > CCCMD = gcc.4.5.0 -DPERL_CORE -c -fno-strict-aliasing -pipe > -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE > -D_FILE_OFFSET_BITS=64 -std=c89 -Os -Wall -ansi -W -Wextra > -Wdeclaration-after-statement -Wendif-labels -Wc++-compat > pp_sys.c: In function 'Perl_pp_getpriority': > pp_sys.c:4412:5: warning: enum conversion when passing argument 1 of > 'getpriority' is invalid in C++ > /usr/include/sys/resource.h:94:12: note: expected '__priority_which_t' > but argument is of type 'int' > pp_sys.c: In function 'Perl_pp_setpriority': > pp_sys.c:4428:5: warning: enum conversion when passing argument 1 of > 'setpriority' is invalid in C++ > /usr/include/sys/resource.h:98:12: note: expected '__priority_which_t' > but argument is of type 'int' > Do you recall what arguments, if any, you supplied to 'Configure' before doing this build? Have you noticed any peculiarities when using the Perl you built in this instance? Thank you very much. Jim Keenan --- via perlbug: queue: perl5 status: new https://rt.perl.org:443/rt3/Ticket/Display.html?id=75340Thread Next