From bug-request at octave dot org Sat Dec 18 09:04:31 2004 Subject: Re: signbit on linux/gcc 3.2+ From: "John W. Eaton" To: Orion Poplawski Cc: bug at octave dot org Date: Sat, 18 Dec 2004 10:06:26 -0500 On 17-Dec-2004, Orion Poplawski wrote: | Enabling C99 mode sounds good to me. I define _GNU_SOURCE in my builds | which has the same effect on the headers. OK, I wasn't sure how best to do this, but now I see that there is an AC_GNU_SOURCE macro for autoconf that can be used near the top of the configure script and that will ensure that _GNU_SOURCE is defined when running the tests, so I've added that. If it causes trouble, we can remove it later. | _ISOC99_SOURCE might be more | portable. Don't know if you want to mess with using c99 or "gcc | -std=c99" or the like because of problems finding compilers on different | platforms. Right, I don't think we want to try this route, because it means we have to know too much about the switches accepted by various compilers. Thanks, jwe ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------