Subject: Warning compiling libg++
To: Stephen J. Roznowski <>
From: J.T. Conklin <>
List: current-users
Date: 03/14/1994 11:34:14
Stephen> I'm in the process of rebuilding src/gnu/lib/libg++ from
Stephen> today's sources (supped this morning). I keep getting
Stephen> warnings about MAXFLOAT being redefined. Sample warning
Stephen> below:

Stephen>    /usr/include/math.h:44: warning: `MAXFLOAT' redefined
Stephen>    /usr/local/src/NetBSD-current/gnu/lib/libg++/libg++/../g++-include/values.h:156: warning: this is the location of the previous definition

Stephen> Could someone look into this?

I'll look into it.  

The most likely short-term fix will be changing MAXFLOAT in values.h
to match math.h.  Libg++-2.5 has removed values.h, I'll likely do the
same when I upgrade our libg++.