On Fri, 20 Oct 2000, Kate Evans-Jones - RSG wrote:
> Hello again,
Hi.

> gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I./../ -I../../src/cheaders
> -I/data/rsdas4/utils/include -isystem /usr/openwin/include -g -O2 -fno-rtti
> -fno-exceptions -c figinset.C -o figinset.o
> ../../src/cheaders/cmath:14: sorry, not implemented: namespace

Wrap it up:

#ifdef CXX_WORKING_NAMESPACES                                                 
namespace std {
        inline float  abs (float  x) { return fabs (x); }
        inline double abs (double x) { return fabs (x); }
}
#endif

If this doesn't work, then cmath is being called from a file which doesn't 
have a 
#include "config.h"
in it. If this happens, please tell! (The simple fix would be to put this 
include in cmath, but don't do this first.)

Angus

Reply via email to