develooper Front page | perl.perl5.porters | Postings from October 2001

Warnings in regexec.c

Thread Next
Michael G Schwern
October 25, 2001 14:49
Warnings in regexec.c
Message ID:
Just did a make miniperl on 12655 and noticed a couple warnings:

`sh  cflags "optimize='-g'" libperl.a regexec.o`  regexec.c
          CCCMD =  cc -DPERL_CORE -c -DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -Wall 
regexec.c: In function `S_regmatch':
regexec.c:2114: warning: field width is not type int (arg 5)
regexec.c:2114: warning: field width is not type int (arg 9)
regexec.c:2114: warning: field width is not type int (arg 14)

Might have something to do with having 64 bit integers on in Linux/PowerPC.

Summary of my perl5 (revision 5.0 version 7 subversion 2 patch 12498) configuration:
    osname=linux, osvers=2.4.11-pre4-ben0, archname=ppc-linux-64int
    uname='linux blackrider 2.4.11-pre4-ben0 #1 sun oct 7 19:16:30 edt 2001 ppc unknown '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=undef uselongdouble=undef
    usemymalloc=y, bincompat5005=define
    cc='cc', ccflags ='-DDEBUGGING -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    cppflags='-DDEBUGGING -fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='2.95.4 20010902 (Debian prerelease)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lgdbm -ldbm -ldb -ldl -lm -lc -lcrypt -lutil
    perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
    libc=/lib/, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Characteristics of this binary (from libperl): 
  Compile-time options: DEBUGGING USE_64_BIT_INT USE_LARGE_FILES
  Locally applied patches:
  Built under linux
  Compiled at Oct 25 2001 17:41:39


Michael G. Schwern   <>
Perl6 Quality Assurance     <>	     Kwalitee Is Job One
I blame myself.  AND SATAN.

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About