help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compile error with concept_check.h


From: Ulrich Eckhardt
Subject: Re: Compile error with concept_check.h
Date: Sun, 08 Jan 2006 18:24:29 +0100
User-agent: KNode/0.9.2

ikinal wrote:
> We're seeing this error when building:
> ++ -DHAVE_CONFIG_H -I. -I. -I../include/log4cxx -I../include
> -I/usr/local/include/libxml2 
> -I/usr/local/gcc-3.3/include/c++/3.3 
> -I/usr/local/gcc-3.3/include/c++/3.3/sparc-sun-solaris2.8 

These latter two are weird. Normally, g++ knows where to finds its own
headers, so you shouldn't need these. In fact they might be wrong because
if you're using 3.4 and redirect it to 3.3 headers anything might happen.

> /usr/local/gcc-3.3/include/c++/3.3/bits/concept_check.h:52: warning:
> invalid character in macro parameter name
> /usr/local/gcc-3.3/include/c++/3.3/bits/concept_check.h:52: badly
> punctuated parameter list in `#define'

> The relevant code reads:
> 00050 #ifndef _GLIBCXX_CONCEPT_CHECKS
> 00051
> 00052 #define __glibcxx_function_requires(...)
> 00053 #define __glibcxx_class_requires(_a,_b)

What I also wonder here is why _GLIBCXX_CONCEPT_CHECKS isn't defined, I
thought it was on by default. I could be wrong however.

Uli

-- 
http://gcc.gnu.org/faq.html
http://parashift.com/c++-faq-lite/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]