gcc 2.96 from CVS and glibc 2.1.2 compilation dies with

<stuff snipped>
math_defs.h:145: syntax error before `&'
math_defs.h:234: `ostream' undeclared in namespace `std'
math_defs.h:234: parse error before `,'
math_defs.h:332: `ostream' undeclared in namespace `std'
math_defs.h:332: parse error before `,'
math_defs.h:491: `ostream' undeclared in namespace `std'
math_defs.h:491: parse error before `,'
math_defs.h:538: type specifier omitted for parameter
math_defs.h:538: parse error before `&'
math_defs.h:542: `istream' undeclared in namespace `std'
math_defs.h:542: parse error before `,'
In file included from math_cursor.h:27,
                 from formula.C:31:
math_inset.h:49: `ostream' undeclared in namespace `std'
math_inset.h:49: parse error before `,'
math_inset.h:78: `ostream' undeclared in namespace `std'
math_inset.h:78: parse error before `,'
math_inset.h:108: `ostream' undeclared in namespace `std'
math_inset.h:108: parse error before `,'
math_inset.h:127: `ostream' undeclared in namespace `std'
math_inset.h:127: parse error before `,'
math_inset.h:150: `ostream' undeclared in namespace `std'
math_inset.h:150: parse error before `,'
math_inset.h:177: `ostream' undeclared in namespace `std'
math_inset.h:177: parse error before `,'
math_inset.h:200: `ostream' undeclared in namespace `std'
math_inset.h:200: parse error before `,'
math_inset.h:246: `ostream' undeclared in namespace `std'
math_inset.h:246: parse error before `,'
math_inset.h:267: `ostream' undeclared in namespace `std'
math_inset.h:267: parse error before `,'
math_inset.h:300: `ostream' undeclared in namespace `std'
math_inset.h:300: `os' was not declared in this scope
math_inset.h:300: parse error before `)'
math_inset.h:301: `MathFuncInset::Write' declared as an `inline'
math_inset.h:301: variable
math_inset.h:301: `void MathFuncInset::Write' is not a static member of
math_inset.h:301: `class MathFuncInset'
math_inset.h:301: variable `void MathFuncInset::Write' has initializer
math_inset.h:301: but incomplete type
<lots more consequences snipped>

I know the standadr may say this behaviour is borken but in the real world I 
am not just about to fix it---is there a configure option to turn of name 
spaces to avoid this problem? EVen ebtter would be a check in configure that 
detects this is going to happen and aviods the problem automagically.

-- 
Duncan (-:
"software industry, the: unique industry where selling substandard goods is
legal and you can charge extra for fixing the problems."


Reply via email to