Marco> /cygdrive/d/marco/GCC/source/libjava/classpath/native/fdlibm/mprec.c:104:
Marco> error: static declaration of 'calloc' follows non-static declaration
I'd guess that cygwin declares _calloc_r in a header somewhere.
I don't think we need to call this function '_calloc_r' in
mprec... try the appended patch. If it works for you I will check it in.
Marco> /cygdrive/d/marco/GCC/source/libjava/classpath/native/fdlibm/mprec.c:105:
Marco> error: expected identifier or '(' before '{' token
Marco> I can fix the static error by remove the static specifier, but I have
Marco> no idea what the second error could mean... Any ideas?
A mysterious error like this usually means that there is some #define
that makes the output look weird... I usually look at the 'gcc -E'
output to see what the code looks like after preprocessing.