The Samba-Bugzilla – Bug 187
snprintf compile problem on HPUX
Last modified: 2005-11-14 09:30:49 UTC
Because the HPUX 11 snprintf function isn't C99 compliant, we attempt to replace
it. Unfortunately the vendor prototype differs from ours (^#*$&*$ const) so the
lib/snprintf.c:832: conflicting types for `snprintf'
previous declaration of `snprintf'
make: *** [lib/snprintf.o] Error 1
I thought I had fixed this but I think the build farm took too long to start
another compile and it slipped my mind.
assigning to me
I've pushed a stupid preprocessor trick in to the tree for testing on the
hpntc9I build farm machine to try out.
It seems to compile at sporadic intervals so it may be a day or so before a
result comes in.
Seems to be fixed now, although the HPUX machine is crashing for a different reason.
originally reported against 3.0.0beta1. CLeaning out
non-production release versions.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.