header.hpp:
#pragma once
#include <path/to/file.h>
#include <algorithm>
#include <chrono>
#include <memory>
#include <optional>
#include <string>
#include <vector>
When I run cpplint.py, I get Found C system header after C++ system header. Should be: helpers.h, c system, c++ system, other. [build/include_order] [4], pointing to <optional>.
Is it possible to prevent cpplint.py from doing that, without disabling build/include_order?
Note: <optional> is c++17, which is not supported by cpplint afaik.
You can download my version of cpplint here: https://raw.githubusercontent.com/google/styleguide/305ac87/cpplint/cpplint.py
Issue submitted to GitHub Cpplint: https://github.com/cpplint/cpplint/issues/138