stl_bvector.h expected unqualified-id before ‘(‘ token

解决方案参考:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16605

Your code defines min/max as macros. The preprocessor expands this, which 
leaves what used to be std::max(x1, x2) as something that doesn't make 
much sense to the compiler any more. 

Since the standard says that the names min/max are reserved, simply 
remove these #defines from your sources. 

W.
发表评论?

0 条评论。

发表评论


注意 - 你可以用以下 HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>