Opened 15 years ago

Closed 12 years ago

#1079 closed Bugs (fixed)

boost-1.34.0 fails to compile. concept checks not satisfied.

Reported by: pluto@… Owned by: Hartmut Kaiser
Milestone: Component: spirit
Version: Boost 1.39.0 Severity: Problem
Keywords: Cc: joel@…, bdawes@…, mmocny@…

Description

please build the gcc-4.1/4.2 with --enable-concept-checks or #define _GLIBCXX_CONCEPT_CHECKS 1 in /usr/include/c++/$ver/$target/bits/c++config.h and try to build boost. there're few gnu_cxx::_SGIAssignableConcept failures.

(...) ...failed updating 6 targets... ...skipped 6 targets... ...updated 451 targets...

Attachments (2)

boost.log.bz2 (8.9 KB ) - added by anonymous 15 years ago.
compile.fail.log.txt (16.6 KB ) - added by mmocny@… 13 years ago.
compile error messages

Download all attachments as: .zip

Change History (14)

comment:1 by Thomas Witt, 15 years ago

Milestone: Boost 1.34.1Boost 1.35.0

comment:2 by René Rivera, 15 years ago

Severity: ShowstopperProblem

Could you please provide a list of the errors? That way we can assign this to the appropriate person.

comment:3 by Vladimir Prus, 15 years ago

Ping? Without a list of the errors, there's not much we can do, and we'll have to close this issue.

by anonymous, 15 years ago

Attachment: boost.log.bz2 added

comment:4 by Dave Abrahams, 15 years ago

Owner: set to Hartmut Kaiser

These appear to be bugs in Wave

comment:5 by Hartmut Kaiser, 15 years ago

Cc: joel@… added
Component: Building Boostspirit
Milestone: Boost 1.35.0To Be Determined

That's not a bug in Wave, but in the Spirit parse tree generation code. The concept checking complains about an incomplete type (and therefor not satisfying the assignable concept):

spirit/tree/common.hpp:+52 template <typename T> struct tree_node { ...

here: tree_node<T> is incomplete (self recursive)

typedef std::vector<tree_node<T>, allocator_type> children_t; children_t children;

... };

comment:6 by Hartmut Kaiser, 15 years ago

Resolution: wontfix
Status: newclosed

in reply to:  6 ; comment:7 by pluto@…, 15 years ago

Replying to hkaiser:

wontfix? why?

in reply to:  7 ; comment:8 by Hartmut Kaiser, 15 years ago

Replying to pluto@pld-linux.org:

Replying to hkaiser:

wontfix? why?

Won't fix at least in 1.35.0. The aim is to have SpiritV2 in Boost for 1.36. This will solve the problem. If not, let's get back to this issue then.

in reply to:  8 comment:9 by Dave Abrahams, 15 years ago

Cc: bdawes@… added
Milestone: To Be DeterminedBoost 1.36.0

Replying to hkaiser:

Replying to pluto@pld-linux.org:

Replying to hkaiser:

wontfix? why?

Won't fix at least in 1.35.0. The aim is to have SpiritV2 in Boost for 1.36. This will solve the problem. If not, let's get back to this issue then.

The proper thing to do with such a ticket is not to close it, which essentially removes it from consideration, but to assign it to a later milestone, which I have done. See also #1497

comment:10 by Dave Abrahams, 15 years ago

Resolution: wontfix
Status: closedreopened

Forgot to reopen

comment:11 by mmocny@…, 13 years ago

Cc: mmocny@… added
Milestone: Boost 1.36.0
Version: Boost 1.34.0Boost 1.39.0

I am running into this exact issue with boost 1.39 - only on MinGW g++ 4.3 and 4.4 (linux and solaris build fine).

However, this bug is appearing when we compile our application, not when we try to compile boost::spirit.

by mmocny@…, 13 years ago

Attachment: compile.fail.log.txt added

compile error messages

comment:12 by Hartmut Kaiser, 12 years ago

Resolution: fixed
Status: reopenedclosed

This issue is related to an older version of Spirit and does not persist in the newest versions anymore (V2.x). It's finally time to put the ticket to its deserved rest.

Note: See TracTickets for help on using tickets.