Boost logo

Boost :

From: Andreas Unterkircher (unterkir_at_[hidden])
Date: 2000-06-22 01:40:24


Hello,

I try use boost with the GGCL library on IRIX 6.5 with the MIPSpro 7.30
compiler and on OSF1 V4.0 with the Compaq C++ V6.2-024 for Digital UNIX
V4.0B (Rev. 564) compiler. On both systems I am having the same problem:

"cstddef" does not exist. So I commented the #include <cstddef> line in
utility.hpp and used the following lines in config.hpp:

#define BOOST_NO_STDC_NAMESPACE
# ifdef BOOST_NO_STDC_NAMESPACE
# include <stddef.h>
    namespace std { using ::ptrdiff_t; using ::size_t; using ::wchar_t; }
# endif

IRIX :

CC -DHAVE_CONFIG_H -I../boost -I.. -LANG:restrict -LANG:std -g -c graph.cpp
cc-1040 CC: ERROR File = ../boost/config.hpp, Line = 244
  An identifier is expected.

      namespace std { using ::ptrdiff_t; using ::size_t; using ::wchar_t; }
                                                                 ^

cc-1065 CC: ERROR File = ../boost/config.hpp, Line = 244
  A semicolon is expected at this point.

      namespace std { using ::ptrdiff_t; using ::size_t; using ::wchar_t; }
                                                                 ^
OSF1:

cxx -DHAVE_CONFIG_H -I../boost -I.. -g -std strict_ansi -c graph.cpp
cxx: Error: ../boost/config.hpp, line 244: expected an identifier
    namespace std { using ::ptrdiff_t; using ::size_t; using ::wchar_t; }
---------------------------------------------------------------^
cxx: Error: ../boost/config.hpp, line 244: expected a ";"
    namespace std { using ::ptrdiff_t; using ::size_t; using ::wchar_t; }
---------------------------------------------------------------^

Does anybody know a solution to this problem ?

Thanks a lot,
Andreas

--
mailto: unterkir_at_[hidden]

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk