Skip to content

Commit f9f667d

Browse files
authored
Suppress clang error because of deprecation (#199)
* Suppress clang error because of deprecation Signed-off-by: Alejandro Hernández Cordero <[email protected]> * feedback Signed-off-by: Alejandro Hernández Cordero <[email protected]> --------- Signed-off-by: Alejandro Hernández Cordero <[email protected]>
1 parent 111542d commit f9f667d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/test_filesystem_helper.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ static constexpr const bool is_win32 = false;
2828
#if !defined(_WIN32)
2929
# pragma GCC diagnostic push
3030
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
31+
# ifdef __clang__
32+
# pragma clang diagnostic push
33+
# pragma clang diagnostic ignored "-Wdeprecated-declarations"
34+
# endif
3135
#else // !defined(_WIN32)
3236
# pragma warning(push)
3337
# pragma warning(disable: 4996)

0 commit comments

Comments
 (0)