Source Compile Fehler Gcc48

02/25/2015 13:54 *~*TeacheR*~*#1
Hey,

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
gmakeWarningFile 'Makefile' has modification time 6.3 s in the future
compile Config
.cpp
Config
.cpp:154:2warningidentifier 'decltype' is a keyword in C++11 [-Wc++0x-compat]
  
itertype(m_valueMapm_valueMap.find(key);
  ^
In file included from stdafx.h:17:0,
                 
from Config.cpp:1:
Config.cppIn member function 'std::string* CConfig::Search(const char*)':
../../
common/stl.h:16:41error'decltype' was not declared in this scope
 
#define itertype(v) decltype((v).begin())
                                         
^
Config.cpp:154:2notein expansion of macro 'itertype'
  
itertype(m_valueMapm_valueMap.find(key);
  ^
Config.cpp:154:23errorexpected ';' before 'i'
  
itertype(m_valueMapm_valueMap.find(key);
                       ^
Config.cpp:156:6error'i' was not declared in this scope
  
if (== m_valueMap.end())
      ^
Config.cpp:160:1warningcontrol reaches end of non-void function [-Wreturn-type]
 }
 ^
Makefile:58recipe for target '.obj/Config.o' failed
gmake
: *** [.obj/Config.oError 1