Boost logo

Boost Users :

From: Eike Petersen (yg-boost-users_at_[hidden])
Date: 2003-03-26 05:16:00


Hi,

to whomever it may concern:

I just downloaded boost 1.30 and tried to recompile my libraries and
applications. Now just including the header "linear_congruential.hpp"
from the random library produces an internal compiler error:

"[C++ Fatal Error] linear_congruential.hpp(113): F1004 Internal compiler
error at 0xc4c367 with base 0xc10000"

[...]
#ifndef BOOST_NO_MEMBER_TEMPLATE_FRIENDS
   template<class CharT, class Traits>
   friend std::basic_ostream<CharT,Traits>&
   operator<<(std::basic_ostream<CharT,Traits>& os,
              const linear_congruential& lcg)
   { os << lcg._x; return os; }

   template<class CharT, class Traits>
   friend std::basic_istream<CharT,Traits>&
   operator>>(std::basic_istream<CharT,Traits>& is, linear_congruential&
lcg)
   { is >> lcg._x; return is; }
#endif
[...]

As I do not require the streaming facilities I just commented that
section out and everything works fine. Maybe not really a solution.

Regards
Eike

P.S: BCB6 with UPD4 was used (BCC32 5.6.4)


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net