← Back to team overview

leaningtech-dev team mailing list archive

[Bug 1475397] Re: cannot build cheerp-llvm from source (git clone 16-JUL-2015)

 

std::map::emplace is a standard library method

http://en.cppreference.com/w/cpp/container/map/emplace

Make sure you are building cheerp using a modern compiler. Recent
versions of gcc, clang and msvc should work.

-- 
You received this bug notification because you are a member of
Leaningtech Team, which is subscribed to Cheerp.
https://bugs.launchpad.net/bugs/1475397

Title:
  cannot build cheerp-llvm from source (git clone 16-JUL-2015)

Status in Cheerp:
  New

Bug description:
  Cloned today, with cheerp-clang cloned into tools/clang
  CMake per instrctions.

  /usr/local/src/cheerp/cheerp-llvm/lib/CheerpUtils/Registerize.cpp: In member function ‘uint32_t cheerp::Registerize::dfsLiveRangeInBlock(cheerp::Registerize::BlocksState&, cheerp::Registerize::LiveRangesTy&, const InstIdMapTy&, llvm::BasicBlock&, cheerp::PointerAnalyzer&, uint32_t, uint32_t)’:
  /usr/local/src/cheerp/cheerp-llvm/lib/CheerpUtils/Registerize.cpp:291:43: error: ‘cheerp::Registerize::LiveRangesTy’ has no member named ‘emplace’

  Some quick, blind searches can't find a method emplace, googling finds
  an emplace method in llvm::Optional

To manage notifications about this bug go to:
https://bugs.launchpad.net/cheerp/+bug/1475397/+subscriptions


References