abseil / abseil/abseil-cpp

Allow Bazel users to include Abseil headers with angle brackets.

Offen
#740 2 Kommentare 3 Reaktionen 1 zugewiesene Person Beansprucht von @EricWF Auf GitHub ansehen
Vorherrschende Sprache
C++
Sterne
18.1k
Forks
3.2k
Ø Merge
20 Std. 36 Min.
Gemergte PRs (30 T.)
1

Beschreibung

Because we use Abseil with both CMake and Bazel, and we sometimes use Abseil from `/usr/include` (or `/usr/local/include` or some other $PREFIX) we need to always include Abseil headers with either quotes (`#include "absl/..."`) or angle brackets (`#include `).

We would prefer to include Abseil with angle brackets. In some platforms that allows us to treat warnings as errors (`-Werror -Wall -W...` or `/WX /W3`) even if the Abseil code is not "clean" for some warning. In general Abseil is very very clean, thanks! But there are a few exceptions, e.g. #582 .

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.