This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11506] SFINAE fails sometimes
- From: "dave at boost-consulting dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Aug 2003 00:45:32 -0000
- Subject: [Bug c++/11506] SFINAE fails sometimes
- References: <20030712032254.11506.dave@boost-consulting.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11506
------- Additional Comments From dave at boost-consulting dot com 2003-08-25 00:45 -------
Subject: Re: SFINAE fails sometimes
"dhazeghi at yahoo dot com" <gcc-bugzilla@gcc.gnu.org> writes:
> PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11506
>
>
>
> ------- Additional Comments From dhazeghi at yahoo dot com 2003-08-25 00:34 -------
> Here's what I've done:
>
> grabbed boost cvs.
> cd boost
> g++ -fmessage-length=0 -c -Wall -ftemplate-depth-100 -g -O0 -fno-inline -I. libs/iterator/
> test/transform_iterator_test.cpp
>
> Test compiles with both g++ 3.3 branch and mainline. OTOH, the preprocessed source you sent
> does exhibits the error you report (on 3.3, doesn't compile on 3.4). I'll look at the other boost links
> you sent in a minute, but I must admit I'm puzzled by these results.
Another way to get a clearer picture is to preprocess the Boost CVS
with g++ 3.3 and diff it with the preprocessed source I sent to see
what changed.