[Top][All Lists]

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

Re: regex.c value out of range on Solaris compiler

From: Gavin Smith
Subject: Re: regex.c value out of range on Solaris compiler
Date: Sun, 16 Apr 2017 09:15:06 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

On Sat, Apr 15, 2017 at 02:40:49PM -0700, Paul Eggert wrote:
> Sorry, I don't understand how this could be. regex_internal.h's "#define
> gettext(msgid) msgid" line is in the else-part of the #if that #includes
> libintl.h in its then-part, so how can libintl.h's #define for gettext be
> active when regex_internal's #define is processed?

libintl.h is being included via a system header, /usr/include/locale.h.  
The system header is included from gnulib's locale.h.  locale.h is 
included at the beginning of regex_internal.h.  locale.h is generated 
from locale.in.h.  There's a chance there is something wrong with the 
way I am compiling because headers under /opt/csw/include are being 
checked as well as /usr/share/include.  The log at


doesn't have the same warning, and that is more likely to have been done 
with a correct environment for compiling.  The other logs at 
don't have the warning either, so it is probably okay.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]