runtimeverification / runtimeverification/llvm-backend

Fix for building with later versions of g++

Open Beginner friendly
#1,221 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
43
Forks
22
PR merge metrics
No merged PRs in 30d

Description

The file

https://github.com/runtimeverification/llvm-backend/blob/7ca095a55430e587a444c4dbdbc96ab3ee9d4933/include/kllvm/ast/pattern_matching.h#L4-L15

Needs to include the following:

#include <algorithm>

This is because of usages of all_of and find_if later in the file. Apparently some newer versions of g++ are more strict about transient dependencies.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Open include/kllvm/ast/pattern_matching.h at the referenced lines and inspect the later uses of all_of and find_if. Add the missing standard header, then build the llvm-backend with a later g++ version to confirm the file compiles without relying on transient includes.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system, compilers
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
84/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.