mirror of
https://github.com/boostorg/filesystem.git
synced 2026-01-19 04:12:09 +00:00
Disable warnings about unused functions.
Clang triggers -Wunused-function for get_dir_itr_imp_extra_data, which may or may not be used depending on the target platform. Better to disable the warning rather than add macro checks.
This commit is contained in:
@@ -37,6 +37,8 @@
|
||||
#pragma GCC diagnostic push
|
||||
// unused parameter 'arg'
|
||||
#pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||
// unused function 'foo'
|
||||
#pragma GCC diagnostic ignored "-Wunused-function"
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user