Git Product home page Git Product logo

Comments (3)

mrngm avatar mrngm commented on July 20, 2024

It appears that subprojects/sqlitewriter is a Git repository as well. From a git blame, line 134 in the error message above was added/modified in 51169c8.

I noticed that sqlitewriter @ 51169c8 doesn't compile with the same error (albeit on a different line number). One commit earlier (36ef85b does compile (although it fails on linking psqlwriter due to missing dependencies).

github.com/berthubert/sqlitewriter is taken in as dependency and placed in the subprojects/ folder:

~/scm/simplomon/subprojects/sqlitewriter[main*]$ git lg
* 05b95d9 - (grafted, HEAD -> main, origin/main, origin/HEAD) Make sure we return (ill-advised) nul containing strings correctly, plus add a testcase. Closes #3 Thanks Wander Nauta for spotting this. (2 months ago) <bert hubert>

It seems Github Actions in that repository uses Ubuntu 22.04 as base image.

On Ubuntu 20.04:

$ c++ --version
c++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

(which, eventually, can be found in the package g++-9).

On Ubuntu 22.04, it looks like c++ is sourced from g++-11.

Reading the porting to section in GCC11, a few things come to mind. The underlying standard has been upgraded from gnu++14 to gnu++17 (which is C++14, C++17 with GNU extensions). It seems template parameter matching has changed as well (P0522R0).

Could it be that sqlitewriter uses C++17 specific code that isn't supported in C++14 (or lower)?

from simplomon.

wandernauta avatar wandernauta commented on July 20, 2024

Could it be that sqlitewriter uses C++17 specific code that isn't supported in C++14 (or lower)?

That sounds likely - sqlitewrite claims to require C++17 and simplomon asks for C++20.

from simplomon.

mrngm avatar mrngm commented on July 20, 2024

Could it be that sqlitewriter uses C++17 specific code that isn't supported in C++14 (or lower)?

That sounds likely - sqlitewrite claims to require C++17 and simplomon asks for C++20.

Thanks for the clarification, I'm not too familiar with cmake/meson build systems to have looked in this direction.

from simplomon.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.