On Tue, Sep 21, 2010 at 02:09:57PM -0700, Ben Greear wrote: > On 09/21/2010 12:49 PM, Andreas Schwab wrote: > >Ben Greear<greearb-my8/4N5VtI7c+919tysfdA@xxxxxxxxxxxxxxxx> writes: > > > >>I need this in order to get iw to build on Fedora 8. > >> ... > >>+#define __USE_ISOC99 > > > >This is wrong. You must never define internal glibc macros. > > How about this then? ... > - tmpf = strtof(argv[i], &end); > + tmpf = strtod(argv[i], &end); ... > Seems you don't have to do anything clever to get strtod to work, > and I assume it should cast just fine. I think to use C99 features like strtof() you need to either add -std=c99 to CFLAGS, or #define _ISOC99_SOURCE (see /usr/include/features.h). HTH, Johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html