I tried compiling OCC 5.0 on Linux using OCC.COMP and could not get everything right. After digging through the process I found that the fault started while executing Draw.comp. And the error I got is as follows:
/opt/OCC-50/ros/src/Draw/Draw_VariableCommands.cxx: In function `void
numsave(const Handle_Draw_Drawable3D&, std::ostream&)':
/opt/OCC-50/ros/src/Draw/Draw_VariableCommands.cxx:135: invalid conversion from
`long int' to `std::_Ios_Fmtflags'
/opt/OCC-50/ros/src/Draw/Draw_VariableCommands.cxx:135: initializing argument
1 of `std::_Ios_Fmtflags std::ios_base::setf(std::_Ios_Fmtflags)'
Please kindly give me advice to solve this problem.
I am using gcc-c++-3.2-7 on Linux kernel 2.4.18.