This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/16605] expected unqualified-id before '(' token in vector.tcc and stl_bvector.h


------- Additional Comments From bangerth at dealii dot org  2004-07-19 13:38 -------
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. 

-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]