Skip to content

Commit d1bcaed

Browse files
authored
Merge pull request #1 from jtrmal/compilation-fixes
Fixing a couple of compilation issues
2 parents 092e04f + 9cc4a0d commit d1bcaed

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

MSVC12/algo_test/algo_test.vcxproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@
168168
</PrecompiledHeader>
169169
<WarningLevel>Level3</WarningLevel>
170170
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
171+
<AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions>
171172
</ClCompile>
172173
<Link>
173174
<GenerateDebugInformation>true</GenerateDebugInformation>

MSVC12/openfstwinlib/OpenfstWinLib.vcxproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@
169169
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
170170
<MultiProcessorCompilation>true</MultiProcessorCompilation>
171171
<DisableLanguageExtensions>false</DisableLanguageExtensions>
172+
<AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions>
172173
</ClCompile>
173174
<Link>
174175
<ModuleDefinitionFile>openfst.def</ModuleDefinitionFile>

src/include/fst/generic-register.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class GenericRegister {
7676
virtual EntryType LoadEntryFromSharedObject(const KeyType &key) const {
7777
#ifdef FST_NO_DYNAMIC_LINKING
7878
return EntryType();
79-
#elif //Added PD
79+
#else //Added PD
8080
string so_filename = ConvertKeyToSoFilename(key);
8181
void *handle = dlopen(so_filename.c_str(), RTLD_LAZY);
8282
if (handle == 0) {

0 commit comments

Comments
 (0)