0.3.4b doesn't finish build on HP-UX 10.20 with gcc: it
gives a syntax error before ; on line 17 of
tests/Clock.hh
I presume it is related to the int64_t type.
If I substitute it with a long long it I get a warning
Clock.hh:17: warning: ANSI C++ does not support `long
long'
Clock.cpp:21: warning: ANSI C++ forbids long long
integer constants.
looking in sys/types.h I see the int64_t type used
though.
I tried including sys/types.h.
So I ended using long int and so it compiles happily.
If it works it has to be proved.
Logged In: YES
user_id=9049
I have this same problem under Gentoo version 2.6.5-gentoo-
r1. I'm using gcc (GCC) 3.3.3 20040412 (Gentoo Linux 3.3.3-
r6, ssp-3.3.2-2, pie-8.7.6).
I changed
typedef long long int usec_t;
to
typedef int64_t usec_t;
and it compiles now.
Logged In: YES
user_id=9049
Forgot to add I'm using log4cpp version 0.2.8