abseil / abseil/abseil-cpp

Allow Bazel users to include Abseil headers with angle brackets.

Aperta
#740 2 commenti 3 reazioni 1 assegnatario Rivendicata da @EricWF Vedi su GitHub
Lingua principale
C++
Stelle
18.1k
Fork
3.2k
Merge medio
20h 36m
PR unite (30g)
1

Descrizione

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 .

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.