|
Boost Users : |
Subject: [Boost-users] Boost.Test + Boost.Spirit fails for *many* enable/disable_if calls
From: Mario Lang (mlang_at_[hidden])
Date: 2012-09-03 02:39:05
Hi.
On trunk with gcc 4.7, the following minimalistic test case fails:
---<snip>---
#define BOOST_TEST_MODULE "broken_enable_if"
#include <boost/test/included/unit_test.hpp>
#include <boost/spirit/include/qi_parse.hpp>
---<snip>---
Compiling this gives me the following error:
./boost/spirit/home/qi/detail/parse.hpp:64:69: error: template argument 2 is invalid
This apparently only happens if I include unit_test before spirit.
And its not the only error, fixing this one by qualifying enable_if with
boost:: reveals a chain of similar errors.
Can someone please take a look at this?
-- CYa, â¡â â â â | Debian Developer <URL:http://debian.org/> .''`. | Get my public key via finger mlang/key_at_[hidden] : :' : | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44 `. `' `- <URL:http://delysid.org/> <URL:http://www.staff.tugraz.at/mlang/>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net