habe folgendes Problem beim compilen in Visual Studio 2012 läuft es ohne Probleme und bevor ich mein Server neu Installiert habe konnte ich darauf auch noch Compilen.
PHP Code:
/usr/home/mt2/server/src/db/src # gmake
gmake: Warning: File 'Makefile' has modification time 6.3 s in the future
compile Config.cpp
Config.cpp:154:2: warning: identifier 'decltype' is a keyword in C++11 [-Wc++0x-compat]
itertype(m_valueMap) i = m_valueMap.find(key);
^
In file included from stdafx.h:17:0,
from Config.cpp:1:
Config.cpp: In member function 'std::string* CConfig::Search(const char*)':
../../common/stl.h:16:41: error: 'decltype' was not declared in this scope
#define itertype(v) decltype((v).begin())
^
Config.cpp:154:2: note: in expansion of macro 'itertype'
itertype(m_valueMap) i = m_valueMap.find(key);
^
Config.cpp:154:23: error: expected ';' before 'i'
itertype(m_valueMap) i = m_valueMap.find(key);
^
Config.cpp:156:6: error: 'i' was not declared in this scope
if (i == m_valueMap.end())
^
Config.cpp:160:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Makefile:58: recipe for target '.obj/Config.o' failed
gmake: *** [.obj/Config.o] Error 1






