apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From генерал Пурпоз <kb2...@gmail.com>
Subject Re: Porting APR to QNX4: portability problems.
Date Thu, 08 Feb 2007 14:19:11 GMT
Hello dev,

The APR is really cool stuff - it has it's own implementation of the
apr_snprintf() so that it almost works even without the underlaying
int64-aware printf()|scanf().

Of the four failing tests here in the ./test/testfmt.c, three were
actually from the QNX4's native snprintf(). The fourth failure is
credited to the apr_snprintf() which handles well any unsigned value
and breaks on the signed decimal one larger or equal to (hexadecimal)
0x80000000. May be it is not even the apr_snprintf()'s fault again but
my toolchain's...

I cannot negotiate with these declarations:
#define APR_INT64_C(val) (val##LL)
#define APR_UINT64_C(val) (val##ULL)
They seems, do not change anything in the OpenWATCOM v1.6RC1...

The size of "long long" is detected to be == 8.
The formatters chosen by ./configure are:
"lld"
"llu"
respectively...

Please comment!
Thank you in advance.

-- 
Best regards,
 Anthony                   mailto:kb2wjw@gmail.com


Mime
View raw message