Seems clang-tidy is configured in C++14 rather than C++17 mode

Open
#10 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cmake, cpp
Domain
build-system

Research direction

Start by inspecting the repository's CMake and clang-tidy configuration and reproduce the diagnostic from include/aws/store/filesystem/posixFileSystem.hpp:56 using the Ubuntu 22.04 packages listed. Done means clang-tidy analyzes the project in C++17 mode and no longer reports that std::filesystem is unavailable.

Written by the indexing model from the issue text.

Description

While trying to build the device-storelibrary-cpp received an error :

#9 329.6 /tmp/deps-native/device-storelibrary-cpp/include/aws/store/filesystem/posixFileSystem.hpp:56:5: error: no member named 'filesystem' in namespace 'std'; did you mean simply 'filesystem'? [clang-diagnostic-error]
#9 329.6     std::filesystem::path _path;
#9 329.6     ^~~~~~~~~~~~~~~

I used a base image of Ubuntu 22.04 and installed following packages:

  • cmake
  • build-essential
  • clang-tidy-12
Dominant language
C++
Stars
5
Forks
2
PR merge metrics
No merged PRs in 30d

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.

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.