From cac806a6fea9e7a8ff36bb0ef716657046dc60f8 Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Fri, 17 Oct 2014 19:33:33 +0200 Subject: [PATCH] Add note about non-standard GCC feature --- src/libtomahawk/utils/Logger.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libtomahawk/utils/Logger.cpp b/src/libtomahawk/utils/Logger.cpp index f1394fbdf..832ba8340 100644 --- a/src/libtomahawk/utils/Logger.cpp +++ b/src/libtomahawk/utils/Logger.cpp @@ -189,6 +189,9 @@ setupLogfile( QFile& f ) } #ifdef _WIN32 + // this is not supported in upstream libstdc++ as shipped with GCC + // GCC needs the patch from https://gcc.gnu.org/ml/libstdc++/2011-06/msg00066.html applied + // we could create a CMake check like the one for taglib, but I don't care right now :P logStream.open( f.fileName().toStdWString().c_str() ); #else logStream.open( f.fileName().toStdString().c_str() );