In src/uipp/dxuilib, netyacc.c and other files refuses to build
because they include C++ source but are built with the C compiler. It/they
include Parse.h which includes ../base.defines.h which includes iostream.h
unconditionally.
The attached patch seems to fix it.
(Not sure why this never popped up before, but I swapped compile flags
around a bit this morning and it appeared.)
Randy
--
Randall Hopper (mailto:[EMAIL PROTECTED])
Lockheed Martin Operation Support
EPA Scientific Visualization Center
US EPA MD/24 ERC-1A; RTP, NC 27711
--- src/uipp/base/ORIG/defines.h Wed Jan 17 11:22:12 2001
+++ src/uipp/base/defines.h Fri Mar 23 08:49:40 2001
@@ -45,6 +45,8 @@
#define MAX(a,b) ((a)>(b)?(a):(b))
#endif
+#if defined(__cplusplus) || defined(c_plusplus)
+
#if defined(HAVE_IOSTREAM_H)
#include <iostream.h>
#endif
@@ -51,6 +53,8 @@
#if defined(HAVE_STREAM_H)
#include <stream.h>
+#endif
+
#endif
#ifdef intelnt