Added C++ Builder 6 binary compatibilty fixes,

Updated gcc makefiles to build archive index.


[SVN r14088]
This commit is contained in:
John Maddock
2002-06-06 11:33:46 +00:00
parent 293b945785
commit b856079e74
5 changed files with 24 additions and 4 deletions

View File

@ -664,7 +664,9 @@ void BOOST_REGEX_CALL c_regex_traits<char>::m_free()
re_free_classes();
re_free_collate();
--entry_count;
if(entry_count == 0)
// add reference to static member here to ensure
// that the linker includes it in the .exe:
if((entry_count == 0) && (0 != &c_regex_traits<char>::i))
{
delete ctype_name;
delete collate_name;
@ -888,7 +890,9 @@ void BOOST_REGEX_CALL c_regex_traits<wchar_t>::m_free()
re_message_free();
re_free_classes();
re_free_collate();
if(nlsw_count == 0)
// add reference to static member here to ensure
// that the linker includes it in the .exe:
if((nlsw_count == 0) && (0 != &c_regex_traits<wchar_t>::init_))
{
// cleanup:
delete wlocale_name;