Opened 18 years ago

Closed 16 years ago

#345 closed Support Requests (Wont Fix)

Boost 1.32.0: Compiler erros for msvc-stlport toolset

Reported by: meroth Owned by: az_sw_dude
Milestone: Component: None
Version: None Severity:
Keywords: Cc:

Description

I try to build boost libraries v1.32.0 on VC++ 6.0 using 
toolset msvc-stlport. INTERNAL COMPILER ERROR when 
trying to build greg_month.obj in boost_date_time.dll. 
Obviously more errors after that (see attached file for 
complete output of command line session).

Change History (4)

comment:1 by meroth, 18 years ago

Summary: Boost 1.31.0: Compiler erros for msvc-stlport toolsetBoost 1.32.0: Compiler erros for msvc-stlport toolset

comment:2 by az_sw_dude, 18 years ago

Logged In: YES 
user_id=579686

Hi meroth -

I'm afraid I'm not going to be of much help on this one. 
Since you won't get support from MS on the compiler, the
only thing I know to do is by trial and error comment things
out and see if you can find the offending code.  Long ago we
had to do this with date_parsing.hpp becasue of some
perfectly reasonable code that makes VC6 ICE (search for
'internal' in boost/date_time/date_parsing.hpp).

From the regression tests I'm pretty confident that
date-time will work with VC6 and the MS/Dinkumware std
library.  So I'm thinking it is something about combining
with STLPORT -- but that really doesn't help much.

Sorry....I know that's not too helpful.

Jeff

comment:3 by nobody, 18 years ago

Logged In: NO 

This patch solves the problem for me.

********
    class month_formatter
    {
    public:
30a31,32
>     typedef std::basic_ostream<charT> stream_type;
> 
      //! Formats a month as as string into an ostream
      /*! This function demands that month_type provide
       *  functions for converting to short and long strings
       *  if that capability is used.
       */
36,37c38,39
<     static std::basic_ostream<charT>& format_month(const 
month_type& month,
<                                       std::basic_ostream<charT>& os)
---
>     static stream_type& format_month(const month_type& 
month,
>                                       stream_type& os)
      {
        switch (format_type::month_format()) 
        {
********

comment:4 by az_sw_dude, 16 years ago

Status: assignedclosed
Logged In: YES 
user_id=579686

I'm going to close this old support request since the
submitter has found a workaround and date-time no longer
provides vc6 support in 1.33 and beyond.

Jeff
Note: See TracTickets for help on using tickets.