Hi, > with g++-2.95, this gives no prototypes for round(). > > So it appears that -std=c99 does not work. Is there some way to achieve > this for 2.95? (This is now academic, since I have written my own > version for this application.) you could use the "features" header. Start your source files with #define _ISOC99_SOURCE #include <features.h> This will toggle the appropriate __USE_* macros (__USE_ISOC99, in this case) that aren't set by the compiler. There are a few other macros you might want to set (_POSIX_SOURCE, or even _GNU_SOURCE), so perhaps you should have a closer look at <features.h> if you plan to use it directly. Regards, Jan -- Jan C. Nordholz <jckn At gmx net>
Attachment:
signature.asc
Description: Digital signature