microsoft / microsoft/vcpkg

[libodb] Build error

Open
#28,307 11 comments 0 reactions 1 assignee View on GitHub

@LilyWangLL is already working on this.

Since Dec 13, 2022.

category:port-bug category:port-update Stale
Dominant language
CMake
Stars
27.5k
Forks
7.7k
Avg merge
2d 19h
Merged PRs (30d)
321

Description

Host Environment

  • OS: Linux Ubuntu 20.04 LTS
  • Compiler:
    vcpkg-tool version: 2022-11-10-5fdee72bc1fceca198fb1ab7589837206a8b81ba
    vcpkg-scripts version: cf1fda544 2022-12-09 (2 days ago)
  • Lobodb version : libodb-2.4.0.tar.gz

To Reproduce

Steps to reproduce the behavior:

git clone https://github.com/Microsoft/vcpkg
cd vcpkg
git pull
./bootstrap-vcpkg.sh
./vcpkg update
./vcpkg integrate install
./vcpkg install libodb-sqlite

Failure logs
For example :

vcpkg/buildtrees/libodb/src/libodb-2-59eaf93c2b.clean/odb/details/shared-ptr/base.hxx:38:49: 
error: ISO C++17 does not allow dynamic exception specifications
   38 | operator new (std::size_t, odb::details::share) throw (std::bad_alloc);

Additional context

Libodb max c++ version is : C++14 version, because of dynamic exception

i haven’t found in documentation a CLI argument to select C++ standard version

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.