Modify

Ticket #3096 (closed Bugs: fixed)

Opened 5 years ago

Last modified 5 years ago

compiler error (Borland C++ Builder 4): unordered_map - "value_base"

Reported by: anonymous Owned by: danieljames
Milestone: Boost 1.40.0 Component: unordered
Version: Boost 1.39.0 Severity: Problem
Keywords: Cc:

Description

When trying to compile a program using boost::unordered_map from Version 1.39 with Borland C++ Builder 4 (I have to :( ) I get the following compiler error:

" [C++ Fehler] hash_table_impl.hpp(91): E2401 Ungültige Template-Argumentliste. [C++ Fehler] hash_table_impl.hpp(92): E2040 Deklaration nicht ordnungsgemäß abgeschlossen. [C++ Fehler] hash_table_impl.hpp(91): E2401 Ungültige Template-Argumentliste. [C++ Fehler] hash_table_impl.hpp(92): E2040 Deklaration nicht ordnungsgemäß abgeschlossen. "

I think you can lookup the Error numbers from Borland since I don't know their exact English translations within Borland.

The error is concerning the following declaration:

struct value_base {
                typename boost::aligned_storage<
                    sizeof(value_type),
                    boost::alignment_of<value_type>::value>::type data_;

                void* address() { return this; }
};

Attachments

Change History

comment:1 Changed 5 years ago by danieljames

Can you try the version in trunk? It mostly works on Borland 5.5.

comment:2 Changed 5 years ago by anonymous

I'll give it a try in about 2 weeks after my vacation. :)

comment:3 Changed 5 years ago by anonymous

  • Status changed from new to closed
  • Resolution set to fixed

The version in trunk (10.06.2009 13:17) works well. Thanks.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.