pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/37555: textproc/gsed



The following reply was made to PR pkg/37555; it has been noted by GNATS.

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: Gilles Dauphin <Gilles.Dauphin%enst.fr@localhost>
Cc: solaris-pkg-people%NetBSD.org@localhost, gnats-admin%NetBSD.org@localhost,
        pkgsrc-bugs%NetBSD.org@localhost, dauphin%enst.fr@localhost, 
gnats-bugs%NetBSD.org@localhost
Subject: Re: pkg/37555: textproc/gsed
Date: Tue, 8 Apr 2008 21:35:49 +0000

 On Mon, Apr 07, 2008 at 10:37:05AM +0200, Gilles Dauphin wrote:
  > >  > regcomp.c:566:7: missing binary operator before token "("
  > >  
  > >  regcomp.c:566:#elif BITSET_WORD_MAX == 0xffffffffffffffffULL
  > >  regex_internal.h:138:#define BITSET_WORD_MAX ULONG_MAX
  > >  
  > >  How is ULONG_MAX defined?
  > 
  > [bi 203] grep ULONG_MAX /usr/include/*/*
  > /usr/include/iso/limits_iso.h:#define   ULONG_MAX       
18446744073709551615UL
  > /usr/include/iso/limits_iso.h:#define   ULONG_MAX       4294967295UL    /* 
max 
  > value of "unsigned long int" */
  > /usr/include/sys/types.h:#define        ULONG_MAX       
18446744073709551615UL
  > /usr/include/sys/types.h:#define        ULONG_MAX       4294967295UL    /* 
max 
  > of "unsigned long int" */
 
 It must be getting something from somewhere else, because there aren't
 any parentheses in that.
 
 Maybe try compiling this with the same gcc and exact same options that
 fail for regcomp.c, except use -E instead of -c to run just the
 preprocessor, so you can see what exactly comes out:
 
    --- test.c ---
 unsigned long x = ULONG_MAX;
    --- end ---
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index