Modify

Opened 8 years ago

Closed 8 years ago

#3096 closed Bugs (fixed)

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 (0)

Change History (3)

comment:1 Changed 8 years ago by danieljames

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

comment:2 Changed 8 years ago by anonymous

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

comment:3 Changed 8 years ago by anonymous

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

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

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain danieljames.
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.