Opened 13 years ago
Closed 13 years ago
#3096 closed Bugs (fixed)
compiler error (Borland C++ Builder 4): unordered_map - "value_base"
Reported by: | anonymous | Owned by: | Daniel James |
---|---|---|---|
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; } };
Change History (3)
comment:1 by , 13 years ago
comment:3 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
The version in trunk (10.06.2009 13:17) works well. Thanks.
Can you try the version in trunk? It mostly works on Borland 5.5.