This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: mprec.c:104: error: static declaration of 'calloc' follows non-static declaration
- From: Tom Tromey <tromey at redhat dot com>
- To: "Christian Joensson" <christian dot joensson at gmail dot com>
- Cc: GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: 25 Sep 2006 12:22:00 -0600
- Subject: Re: mprec.c:104: error: static declaration of 'calloc' follows non-static declaration
- References: <5460e3330608310518u688d48e9k78c339255b23ce1a@mail.gmail.com>
- Reply-to: tromey at redhat dot com
>>>>> "ChJ" == Christian Joensson <christian.joensson@gmail.com> writes:
ChJ> again, on cygwin/winxp, I get an error
ChJ> ../../../../../../gcc/libjava/classpath/native/fdlibm/mprec.c:104:
ChJ> error: static declaration of 'calloc' follows non-static declaration
ChJ> am I doing something seriously wrong here?
Nope, there was a build bug on cygwin.
I've checked in a fix. It also fixes the other error you were seeing.
Tom