mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Try the suggested workaround in lexy for older compilers.
This commit is contained in:
4
.github/workflows/ccpp.yml
vendored
4
.github/workflows/ccpp.yml
vendored
@@ -8,7 +8,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
build-linux:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
@@ -20,7 +20,7 @@ jobs:
|
||||
path: 'fluxengine-testdata'
|
||||
- name: apt
|
||||
run: |
|
||||
sudo apt install libudev-dev libsqlite3-dev protobuf-compiler libwxgtk3.2-dev libfmt-dev libprotobuf-dev
|
||||
sudo apt install libudev-dev libsqlite3-dev protobuf-compiler libwxgtk3.0-gtk3-dev libfmt-dev libprotobuf-dev
|
||||
- name: make
|
||||
run: CXXFLAGS="-Wp,-D_GLIBCXX_ASSERTIONS" make -j`nproc` -C fluxengine
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace grammar
|
||||
static constexpr auto rule =
|
||||
dsl::list(dsl::p<member>, dsl::sep(dsl::lit_c<','>));
|
||||
static constexpr auto value = lexy::fold_inplace<std::vector<unsigned>>(
|
||||
{},
|
||||
std::initializer_list<unsigned>{},
|
||||
[](std::vector<unsigned>& result, const Member& item)
|
||||
{
|
||||
if (item.start < 0)
|
||||
@@ -83,7 +83,8 @@ namespace grammar
|
||||
static constexpr auto rule =
|
||||
dsl::list(dsl::p<ch>, dsl::sep(dsl::ascii::space));
|
||||
static constexpr auto value =
|
||||
lexy::fold_inplace<std::vector<CylinderHead>>({},
|
||||
lexy::fold_inplace<std::vector<CylinderHead>>(
|
||||
std::initializer_list<CylinderHead>{},
|
||||
[](std::vector<CylinderHead>& result,
|
||||
const std::vector<CylinderHead>& item)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user