Skip to content

Commit

Permalink
Merge pull request #1103 from AntelopeIO/fix_gcc_10_link_issue
Browse files Browse the repository at this point in the history
Fix g++-10 link issue when building with -std=c++20.
  • Loading branch information
greg7mdp authored Apr 28, 2023
2 parents 1bb997d + e714536 commit b8be739
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions libraries/wasm-jit/Source/IR/DisassemblyNames.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

using namespace Serialization;

namespace WASM
{
bool check_limits = true;
}
namespace IR
{
void getDisassemblyNames(const Module& module,DisassemblyNames& outNames)
Expand Down
2 changes: 1 addition & 1 deletion libraries/wasm-jit/Source/WASM/WASMSerialization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ namespace WASM
using namespace IR;
using namespace Serialization;

bool check_limits = true;
extern bool check_limits;

enum
{
Expand Down

0 comments on commit b8be739

Please sign in to comment.