1 diff -uNr OpenCASCADE6.3.0-old/ros/configure.in OpenCASCADE6.3.0/ros/configure.in
2 --- OpenCASCADE6.3.0-old/ros/configure.in 2008-10-02 23:27:17.000000000 +0200
3 +++ OpenCASCADE6.3.0/ros/configure.in 2008-10-02 23:36:00.000000000 +0200
7 AC_TRY_COMPILE([#include <stream.h>
8 -static const int input = (ios::in) | (ios::nocreate);
9 -static const int output= (ios::out);],
10 +static const int input = (std::ios::in) | (std::ios::nocreate);
11 +static const int output= (std::ios::out);],
13 def_ios_ok=yes, def_ios_ok=no)
18 AC_TRY_COMPILE([#include <iostream.h>],
19 -[cout << cout.form("%9.3e", 3.14159627e-4) << endl;
20 +[std::cout << std::cout.form("%9.3e", 3.14159627e-4) << std::endl;
22 ostream_form_ok=yes, ostream_form_ok=no)
24 diff -uNr OpenCASCADE6.3.0-old/ros/inc/Standard_Stream.hxx OpenCASCADE6.3.0/ros/inc/Standard_Stream.hxx
25 --- OpenCASCADE6.3.0-old/ros/inc/Standard_Stream.hxx 2007-10-09 16:04:46.000000000 +0200
26 +++ OpenCASCADE6.3.0/ros/inc/Standard_Stream.hxx 2008-10-02 23:36:00.000000000 +0200
33 #define USE_STL_STREAM
34 -#elif defined (HAVE_IOSTREAM_H)
35 - #include <iostream.h>
37 - #error "check config.h file or compilation options: either HAVE_IOSTREAM or HAVE_IOSTREAM_H should be defined"
42 -#elif defined (HAVE_IOMANIP_H)
43 - #include <iomanip.h>
48 -#elif defined (HAVE_FSTREAM_H)
49 - #include <fstream.h>
54 diff -uNr OpenCASCADE6.3.0-old/ros/inc/Standard_values.h OpenCASCADE6.3.0/ros/inc/Standard_values.h
55 --- OpenCASCADE6.3.0-old/ros/inc/Standard_values.h 2005-04-21 16:32:46.000000000 +0200
56 +++ OpenCASCADE6.3.0/ros/inc/Standard_values.h 2008-10-02 23:36:00.000000000 +0200
67 -#elif defined (HAVE_LIMITS_H)
70 -#error "check config.h file or compilation options: either HAVE_LIMITS or HAVE_LIMITS_H should be defined"