diff --git a/src/gui/fileDialog.cpp b/src/gui/fileDialog.cpp index 54b38739d..60435b016 100644 --- a/src/gui/fileDialog.cpp +++ b/src/gui/fileDialog.cpp @@ -1,5 +1,10 @@ #include "fileDialog.h" #include "ImGuiFileDialog.h" + +#ifdef __GNUC__ +#pragma GCC diagnostic ignored "-Wcast-function-type" +#endif + #include "../../extern/pfd/portable-file-dialogs.h" bool FurnaceGUIFileDialog::openLoad(String header, std::vector filter, String path, double dpiScale) { @@ -106,4 +111,4 @@ String FurnaceGUIFileDialog::getFileName() { } else { return ImGuiFileDialog::Instance()->GetFilePathName(); } -} \ No newline at end of file +}