diff --git a/source/mijin/virtual_filesystem/stacked.cpp b/source/mijin/virtual_filesystem/stacked.cpp index 2c2eae8..9f97729 100644 --- a/source/mijin/virtual_filesystem/stacked.cpp +++ b/source/mijin/virtual_filesystem/stacked.cpp @@ -39,10 +39,15 @@ fs::path StackedFileSystemAdapter::getHomeFolder() #if MIJIN_COMPILER == MIJIN_COMPILER_MSVC #pragma warning(push) #pragma warning(disable : 4996) // yeah, we're using a deprecated function here, in order to implement another deprecated function ¯\_(ツ)_/¯ +#elif MIJIN_COMPILER == MIJIN_COMPILER_GCC +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" #endif return adapters_.front()->getHomeFolder(); #if MIJIN_COMPILER == MIJIN_COMPILER_MSVC #pragma warning(pop) +#elif MIJIN_COMPILER == MIJIN_COMPILER_GCC +#pragma GCC diagnostic pop #endif }