Browse Source

* src/real/input/cl_R_read.cc, src/complex/input/cl_N_read.cc:

#undef stderr, if it's defined so cln::stderr isn't confused.
        * src/base/input/cl_read_globals.cc: stdin should not be extern.
master
Richard Kreckel 24 years ago
parent
commit
1897760a44
  1. 6
      ChangeLog
  2. 2
      src/base/input/cl_read_globals.cc
  3. 5
      src/complex/input/cl_N_read.cc
  4. 5
      src/real/input/cl_R_read.cc

6
ChangeLog

@ -1,3 +1,9 @@
2000-10-29 Richard Kreckel <kreckel@ginac.de>
* src/real/input/cl_R_read.cc, src/complex/input/cl_N_read.cc:
#undef stderr, if it's defined so cln::stderr isn't confused.
* src/base/input/cl_read_globals.cc: stdin should not be extern.
2000-09-05 Richard Kreckel <kreckel@ginac.de>
* include/cln/number.h (As): Fix it in namespace by suffixing `_As'

2
src/base/input/cl_read_globals.cc

@ -7,6 +7,6 @@
namespace cln {
extern cl_istream stdin = std::cin;
cl_istream stdin = std::cin;
} // namespace cln

5
src/complex/input/cl_N_read.cc

@ -24,6 +24,11 @@
#undef floor
#include <cmath>
#define floor cln_floor
// Ugh, some compilers #define stderr, confusing cln::stderr
#ifdef stderr
#undef stderr
#endif
namespace cln {

5
src/real/input/cl_R_read.cc

@ -24,6 +24,11 @@
#undef floor
#include <cmath>
#define floor cln_floor
// Ugh, some compilers #define stderr, confusing cln::stderr
#ifdef stderr
#undef stderr
#endif
namespace cln {

Loading…
Cancel
Save