[Top][All Lists]

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

Re: lib/regex_internal.h on 1.4.11

From: Jonathan Patschke
Subject: Re: lib/regex_internal.h on 1.4.11
Date: Thu, 31 Jul 2008 04:05:33 -0500

On Jul 31, 2008, at 3:42 AM, Bruno Haible wrote:

Jonathan Patschke wrote:
| The literal constant on line 164 of lib/regex_internal.h needs to be | explicitly declared as an unsigned long. HP-UX's preprocessor (at least | on 10.20) will fail a comparison between 0xffffffff and 0xffffffffUL. | The constant in limits.h is explicitly UL, so BITSET_WORD_MAX doesn't
| get properly defined on HP-UX 10.20.

If you change that line to
 #if BITSET_WORD_MAX == 0xffffffffUL
and recompile, do the compilation and "make check" then succeed?

test-stdint.c doesn't compile:

cc -Ae -Ae -I. -I../lib -I. -I. -I.. -I./.. -I../lib - I./../lib -g -c test-stdint.c cpp: "test-stdint.c", line 249: warning 2012: Unrepresentable preprocessor number 1LL. cpp: "test-stdint.c", line 249: error 4038: Bad syntax for #if condition.

When the #if block starting at line 249 is commented out, the file compiles. Not all the tests pass. Here are the test results:

PASS: test-alloca-opt
PASS: test-array_list
PASS: test-array_oset
PASS: test-avltree_oset
PASS: test-binary-io.sh
PASS: test-c-ctype
PASS: test-closein.sh
PASS: test-fflush
PASS: test-fflush2.sh
PASS: test-fpending.sh
PASS: test-fpurge
PASS: test-freadahead.sh
PASS: test-freading
test-frexp.c:103: assertion failed
sh[9]: 15807 Abort(coredump)
FAIL: test-frexp
test-frexpl.c:114: assertion failed
sh[9]: 15824 Abort(coredump)
FAIL: test-frexpl
FAIL: test-fseeko.sh
test-ftello.c:92: assertion failed
./test-ftello.sh[3]: 15850 Abort(coredump)
FAIL: test-ftello.sh
PASS: test-gettimeofday
PASS: test-isnand
PASS: test-isnanf
PASS: test-isnanl-nolibm
PASS: test-linkedhash_list
PASS: test-lseek.sh
PASS: test-malloca
PASS: test-math
PASS: test-printf-frexp
PASS: test-printf-frexpl
PASS: test-quotearg
test-signbit.c:55: assertion failed
sh[9]: 16478 Abort(coredump)
FAIL: test-signbit
PASS: test-stdbool
PASS: test-stdint
PASS: test-stdio
PASS: test-stdlib
PASS: test-strerror
PASS: test-string
PASS: test-strstr
test-strtod.c:314: assertion failed
test-strtod.c:409: assertion failed
test-strtod.c:903: assertion failed
FAIL: test-strtod
PASS: test-sys_stat
PASS: test-sys_time
PASS: test-unistd
PASS: test-vasnprintf
PASS: test-vasprintf-posix
PASS: test-vasprintf
PASS: test-wchar
PASS: test-wctype
PASS: test-xvasprintf
6 of 47 tests failed
Please report to address@hidden
*** Error exit code 1

Jonathan C. Patschke
Manufacturing Software Support
Centaur Technology

reply via email to

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