[pcre-dev] PCRE 7.6 and HPUX -- no strtoll function

Top Page
Delete this message
Author: Zachary Miller
Date:  
To: pcre-dev
Subject: [pcre-dev] PCRE 7.6 and HPUX -- no strtoll function

hello,

i just wanted to let you know that the latest, pcre-7.6, doesn't compile on
HPUX 11.11 due to the fact that 'long long' and 'unsigned long long' integer
types DO exist, but none of these functions exist:

strtoq
strtoll
_strtoi64


this ultimately ends up triggering these:
pcrecpp.cc:780:2: #error parse_longlong_radix: cannot convert input to a long-long
and
pcrecpp.cc:810:2: #error parse_ulonglong_radix: cannot convert input to a long-long


from what i can tell, there is no suitable function replacement, either, other
than writing your own.

perhaps an acceptable workaround is to have the functions parse_longlong_radix
and parse_ulonglong_radix return false instead of a compile-time #error?


i'm not sure what the full implications are, but just wanted to let you know.


thanks!


cheers,
-zach