From b094324948291ee3fbd2ce17969157cdeab18592 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 4 Jun 2021 10:56:43 -0400 Subject: Tests/IncludeDirectories: Include system headers via angle brackets This is typically how projects include them, and cl's `-external:{I,W}` flags suppress warnings only when included through angle brackets. --- Tests/IncludeDirectories/SystemIncludeDirectories/consumer.cpp | 3 ++- .../IncludeDirectories/SystemIncludeDirectories/imported_consumer.cpp | 2 +- Tests/IncludeDirectories/SystemIncludeDirectories/upstream.h | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Tests/IncludeDirectories/SystemIncludeDirectories/consumer.cpp b/Tests/IncludeDirectories/SystemIncludeDirectories/consumer.cpp index a13f08f..3da308d 100644 --- a/Tests/IncludeDirectories/SystemIncludeDirectories/consumer.cpp +++ b/Tests/IncludeDirectories/SystemIncludeDirectories/consumer.cpp @@ -1,5 +1,6 @@ -#include "config_iface.h" +#include + #include "upstream.h" int consumer() diff --git a/Tests/IncludeDirectories/SystemIncludeDirectories/imported_consumer.cpp b/Tests/IncludeDirectories/SystemIncludeDirectories/imported_consumer.cpp index 1dbe819..53759b1 100644 --- a/Tests/IncludeDirectories/SystemIncludeDirectories/imported_consumer.cpp +++ b/Tests/IncludeDirectories/SystemIncludeDirectories/imported_consumer.cpp @@ -1,5 +1,5 @@ -#include "systemlib.h" +#include int main() { diff --git a/Tests/IncludeDirectories/SystemIncludeDirectories/upstream.h b/Tests/IncludeDirectories/SystemIncludeDirectories/upstream.h index a670c2a..3daf69e 100644 --- a/Tests/IncludeDirectories/SystemIncludeDirectories/upstream.h +++ b/Tests/IncludeDirectories/SystemIncludeDirectories/upstream.h @@ -2,7 +2,7 @@ #ifndef UPSTREAM_H #define UPSTREAM_H -#include "systemlib.h" +#include #ifdef _WIN32 __declspec(dllexport) -- cgit v0.12