ÈçºÎ°ÑsgiµÄstlÌí¼Óµ½linuxÏÂ
°ÑsgiµÄstl½âѹËõµ½Ò»¸öĿ¼£¬È»ºóʹÓà '-I' Ö¸Ïòµ½Õâ¸öĿ¼£¬±àÒëµÄʱºò³öÏÖ´íÎó£¬ÈçºÎ²ÅÄÜÕý³£Ê¹ÓÃsgiµÄstl£¬ÎÒÐèҪʹÓà hash_mapºÍ hash_set¡£±ê×¼µÄ¿âÀïÃæÃ»ÓÐÕâЩ¡£In file included from
/usr/include/c++/3.2.2/backward/new.h:33,
from stl/stl_algobase.h:52,
from stl/memory:18,
from stl/string:23,
from DictManager.h:12,
/usr/include/c++/3.2.2/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one
deprecated or antiquated header. Please consider using
one of the 32 headers found in section 17.4.1.2 of the
C++ standard. Examples include substituting the <X>
header for the <X.h> header for C++ includes, or
<sstream> instead of the deprecated header
<strstream.h>. To disable this warning use
-Wno-deprecated.
In file included from
/usr/include/c++/3.2.2/bits/basic_ios.h:40,
from /usr/include/c++/3.2.2/ios:51,
from
/usr/include/c++/3.2.2/ostream:45,
from
/usr/include/c++/3.2.2/iostream:45,
from
/usr/include/c++/3.2.2/backward/iostream.h:32,
from stl/stl_algobase.h:57,
from stl/memory:18,
from stl/string:23,
from BSC/Dict/JElusDictManager.h:12,
from BSC/Dict/JElusDictManager.cpp:1:
/usr/include/c++/3.2.2/bits/streambuf_iterator.h: At
global scope:
/usr/include/c++/3.2.2/bits/streambuf_iterator.h:48:
parse error before `<'
token
/usr/include/c++/3.2.2/bits/streambuf_iterator.h:54:
syntax error before `;'
token
/usr/include/c++/3.2.2/bits/streambuf_iterator.h:55:
`_Traits' is not a class
or namespace ÎÊÌâ½â¾öÁËûô
Ò³:
[1]