Skip to content

Commit

Permalink
Merge pull request #1 from jtrmal/compilation-fixes
Browse files Browse the repository at this point in the history
Fixing a couple of compilation issues
  • Loading branch information
jtrmal authored Apr 26, 2017
2 parents 092e04f + 9cc4a0d commit d1bcaed
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions MSVC12/algo_test/algo_test.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
Expand Down
1 change: 1 addition & 0 deletions MSVC12/openfstwinlib/OpenfstWinLib.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<DisableLanguageExtensions>false</DisableLanguageExtensions>
<AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions>
</ClCompile>
<Link>
<ModuleDefinitionFile>openfst.def</ModuleDefinitionFile>
Expand Down
2 changes: 1 addition & 1 deletion src/include/fst/generic-register.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class GenericRegister {
virtual EntryType LoadEntryFromSharedObject(const KeyType &key) const {
#ifdef FST_NO_DYNAMIC_LINKING
return EntryType();
#elif //Added PD
#else //Added PD
string so_filename = ConvertKeyToSoFilename(key);
void *handle = dlopen(so_filename.c_str(), RTLD_LAZY);
if (handle == 0) {
Expand Down

0 comments on commit d1bcaed

Please sign in to comment.