Skip to content

Instantly share code, notes, and snippets.

@krofna
Created June 1, 2013 21:35
Show Gist options
  • Save krofna/5691800 to your computer and use it in GitHub Desktop.
Save krofna/5691800 to your computer and use it in GitHub Desktop.
In file included from Client/BroadcastListener.cpp:3:0:
./Shared/Log.hpp:28:5: error: 'mutex' in namespace 'std' does not name a type
std::mutex LogMutex;
^
In file included from Client/Main.cpp:2:0:
./Shared/Log.hpp:28:5: error: 'mutex' in namespace 'std' does not name a type
std::mutex LogMutex;
^
In file included from Client/RAT.cpp:3:0:
./Shared/Log.hpp:28:5: error: 'mutex' in namespace 'std' does not name a type
std::mutex LogMutex;
^
In file included from Client/Session.cpp:3:0:
./Shared/Log.hpp:28:5: error: 'mutex' in namespace 'std' does not name a type
std::mutex LogMutex;
^
In file included from Shared/Log.cpp:1:0:
Shared/Log.hpp:28:5: error: 'mutex' in namespace 'std' does not name a type
std::mutex LogMutex;
^
Shared/Log.cpp: In member function 'void Log::Write(int, const char*, ...)':
Shared/Log.cpp:21:21: error: 'mutex' is not a member of 'std'
std::lock_guard<std::mutex> lock(LogMutex);
^
Shared/Log.cpp:21:21: error: 'mutex' is not a member of 'std'
Shared/Log.cpp:21:31: error: template argument 1 is invalid
std::lock_guard<std::mutex> lock(LogMutex);
^
Shared/Log.cpp:21:37: error: invalid type in declaration before '(' token
std::lock_guard<std::mutex> lock(LogMutex);
^
Shared/Log.cpp:21:38: error: 'LogMutex' was not declared in this scope
std::lock_guard<std::mutex> lock(LogMutex);
^
Shared/Log.cpp: In member function 'void Log::Flush()':
Shared/Log.cpp:38:21: error: 'mutex' is not a member of 'std'
std::lock_guard<std::mutex> lock(LogMutex);
^
Shared/Log.cpp:38:21: error: 'mutex' is not a member of 'std'
Shared/Log.cpp:38:31: error: template argument 1 is invalid
std::lock_guard<std::mutex> lock(LogMutex);
^
Shared/Log.cpp:38:37: error: invalid type in declaration before '(' token
std::lock_guard<std::mutex> lock(LogMutex);
^
Shared/Log.cpp:38:38: error: 'LogMutex' was not declared in this scope
std::lock_guard<std::mutex> lock(LogMutex);
^
In file included from Shared/SharedUtilities.cpp:3:0:
./Shared/Log.hpp:28:5: error: 'mutex' in namespace 'std' does not name a type
std::mutex LogMutex;
^
In file included from Shared/TCPSession.cpp:4:0:
./Shared/Log.hpp:28:5: error: 'mutex' in namespace 'std' does not name a type
std::mutex LogMutex;
^
In file included from /home/krofna/Development/mxe/usr/lib/gcc/i686-pc-mingw32/4.8.1/include/c++/mutex:35:0,
from ../Shared/Log.hpp:5,
from Main.cpp:1:
/home/krofna/Development/mxe/usr/lib/gcc/i686-pc-mingw32/4.8.1/include/c++/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support for the \
^
In file included from Main.cpp:1:0:
../Shared/Log.hpp:28:5: error: 'mutex' in namespace 'std' does not name a type
std::mutex LogMutex;
^
In file included from Main.cpp:2:0:
../Shared/Defines.hpp:12:7: error: expected nested-name-specifier before 'String'
using String = std::string;
^
../Shared/Defines.hpp:12:7: error: 'String' has not been declared
../Shared/Defines.hpp:12:14: error: expected ';' before '=' token
using String = std::string;
^
../Shared/Defines.hpp:12:14: error: expected unqualified-id before '=' token
In file included from /home/krofna/Development/mxe/usr/lib/gcc/i686-pc-mingw32/4.8.1/include/c++/mutex:35:0,
from ../Shared/Log.hpp:5,
from ../Shared/Log.cpp:1:
/home/krofna/Development/mxe/usr/lib/gcc/i686-pc-mingw32/4.8.1/include/c++/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
#error This file requires compiler and library support for the \
^
In file included from ../Shared/Log.cpp:1:0:
../Shared/Log.hpp:28:5: error: 'mutex' in namespace 'std' does not name a type
std::mutex LogMutex;
^
../Shared/Log.cpp: In member function 'void Log::Write(int, const char*, ...)':
../Shared/Log.cpp:21:5: error: 'lock_guard' is not a member of 'std'
std::lock_guard<std::mutex> lock(LogMutex);
^
../Shared/Log.cpp:21:21: error: 'mutex' is not a member of 'std'
std::lock_guard<std::mutex> lock(LogMutex);
^
../Shared/Log.cpp:21:38: error: 'LogMutex' was not declared in this scope
std::lock_guard<std::mutex> lock(LogMutex);
^
../Shared/Log.cpp:21:46: error: 'lock' was not declared in this scope
std::lock_guard<std::mutex> lock(LogMutex);
^
../Shared/Log.cpp: In member function 'void Log::Flush()':
../Shared/Log.cpp:38:5: error: 'lock_guard' is not a member of 'std'
std::lock_guard<std::mutex> lock(LogMutex);
^
../Shared/Log.cpp:38:21: error: 'mutex' is not a member of 'std'
std::lock_guard<std::mutex> lock(LogMutex);
^
../Shared/Log.cpp:38:38: error: 'LogMutex' was not declared in this scope
std::lock_guard<std::mutex> lock(LogMutex);
^
../Shared/Log.cpp:38:46: error: 'lock' was not declared in this scope
std::lock_guard<std::mutex> lock(LogMutex);
^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment