mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-4436 Allow RTTI to work when /OPT:ICF (COMDAT folding) is used.
X-SVN-Rev: 17333
This commit is contained in:
parent
fb1fce11f4
commit
7e191502de
8 changed files with 14 additions and 5 deletions
icu4c/source
common
i18n
io
layout
layoutex
tools
|
@ -42,6 +42,7 @@
|
|||
LinkIncremental="1"
|
||||
SuppressStartupBanner="TRUE"
|
||||
ProgramDatabaseFile=".\..\..\lib\icuuc33.pdb"
|
||||
EnableCOMDATFolding="2"
|
||||
BaseAddress="0x4a800000"
|
||||
ImportLibrary="..\..\lib\icuuc.lib"/>
|
||||
<Tool
|
||||
|
@ -485,14 +486,16 @@
|
|||
Name="Release|Win32">
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
CommandLine="copy "$(InputPath)" ..\..\include\unicode"
|
||||
CommandLine="copy "$(InputPath)" ..\..\include\unicode
|
||||
"
|
||||
Outputs="..\..\include\unicode\$(InputFileName)"/>
|
||||
</FileConfiguration>
|
||||
<FileConfiguration
|
||||
Name="Debug|Win32">
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
CommandLine="copy "$(InputPath)" ..\..\include\unicode"
|
||||
CommandLine="copy "$(InputPath)" ..\..\include\unicode
|
||||
"
|
||||
Outputs="..\..\include\unicode\$(InputFileName)"/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
******************************************************************************
|
||||
*
|
||||
* Copyright (C) 2002-2004, International Business Machines
|
||||
* Copyright (C) 2002-2005, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
*
|
||||
******************************************************************************
|
||||
|
@ -237,7 +237,7 @@ protected:
|
|||
*/
|
||||
#define UOBJECT_DEFINE_RTTI_IMPLEMENTATION(myClass) \
|
||||
UClassID U_EXPORT2 myClass::getStaticClassID() { \
|
||||
static const char classID = 0; \
|
||||
static char classID = 0; \
|
||||
return (UClassID)&classID; \
|
||||
} \
|
||||
UClassID myClass::getDynamicClassID() const \
|
||||
|
@ -254,7 +254,7 @@ protected:
|
|||
*/
|
||||
#define UOBJECT_DEFINE_ABSTRACT_RTTI_IMPLEMENTATION(myClass) \
|
||||
UClassID U_EXPORT2 myClass::getStaticClassID() { \
|
||||
static const char classID = 0; \
|
||||
static char classID = 0; \
|
||||
return (UClassID)&classID; \
|
||||
}
|
||||
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
LinkIncremental="1"
|
||||
SuppressStartupBanner="TRUE"
|
||||
ProgramDatabaseFile=".\..\..\lib\icuin33.pdb"
|
||||
EnableCOMDATFolding="2"
|
||||
BaseAddress="0x4a900000"
|
||||
ImportLibrary="..\..\lib\icuin.lib"/>
|
||||
<Tool
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
LinkIncremental="1"
|
||||
SuppressStartupBanner="TRUE"
|
||||
ProgramDatabaseFile=".\..\..\lib\icuio33.pdb"
|
||||
EnableCOMDATFolding="2"
|
||||
BaseAddress="0x4ab00000"
|
||||
ImportLibrary="..\..\lib\icuio.lib"/>
|
||||
<Tool
|
||||
|
|
|
@ -109,6 +109,7 @@
|
|||
LinkIncremental="1"
|
||||
SuppressStartupBanner="TRUE"
|
||||
ProgramDatabaseFile=".\..\..\lib\icule33.pdb"
|
||||
EnableCOMDATFolding="2"
|
||||
BaseAddress="0x4ac00000"
|
||||
ImportLibrary="..\..\lib\icule.lib"/>
|
||||
<Tool
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
LinkIncremental="1"
|
||||
SuppressStartupBanner="TRUE"
|
||||
ProgramDatabaseFile=".\..\..\lib\iculx33.pdb"
|
||||
EnableCOMDATFolding="2"
|
||||
BaseAddress="0x4ac80000"
|
||||
ImportLibrary="..\..\lib\iculx.lib"/>
|
||||
<Tool
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
LinkIncremental="1"
|
||||
SuppressStartupBanner="TRUE"
|
||||
ProgramDatabaseFile=".\..\..\..\lib\icutest.pdb"
|
||||
EnableCOMDATFolding="2"
|
||||
ImportLibrary=".\..\..\..\lib\icutest.lib"/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
SuppressStartupBanner="TRUE"
|
||||
AdditionalLibraryDirectories="..\..\..\lib"
|
||||
ProgramDatabaseFile=".\..\..\..\lib\icutu33.pdb"
|
||||
EnableCOMDATFolding="2"
|
||||
BaseAddress="0x4ac00000"
|
||||
ImportLibrary="..\..\..\lib\icutu.lib"/>
|
||||
<Tool
|
||||
|
|
Loading…
Add table
Reference in a new issue