Opened 12 years ago

Closed 5 years ago

#5270 closed Bugs (fixed)

spirit/repository/example/qi/calc1_sr fails compile 1+2

Reported by: cppljevans@… Owned by: Joel de Guzman
Milestone: To Be Determined Component: spirit
Version: Boost Development Trunk Severity: Problem
Keywords: spirit repository example Cc:

Description

~/prog_dev/boost-svn/ro/trunk $ svn info Path: . URL: http://svn.boost.org/svn/boost/trunk Repository Root: http://svn.boost.org/svn/boost Repository UUID: b8fc166d-592f-0410-95f2-cb63ce0dd405 Revision: 69610 Node Kind: directory Schedule: normal Last Changed Author: johnmaddock Last Changed Rev: 69608 Last Changed Date: 2011-03-06 11:15:58 -0600 (Sun, 06 Mar 2011)

yet, the calc1_sr.cpp example in repository fails to compile any expression other than uint_:

~/prog_dev/boost-svn/ro/trunk/bin.v2/libs/spirit/repository/example/qi/gcc-4.6n/debug $ ls calc1_sr calc1_sr.o ~/prog_dev/boost-svn/ro/trunk/bin.v2/libs/spirit/repository/example/qi/gcc-4.6n/debug $ ./calc1_sr /

Expression parser...

/

Type an expression...or [q or Q] to quit

1


Parsing succeeded


2


Parsing succeeded


-1


Parsing failed stopped at: ": -1"


1+2


Parsing failed stopped at: ": +2"


Change History (4)

comment:1 by cppljevans@…, 12 years ago

Component: Nonespirit
Owner: set to Joel de Guzman

comment:2 by Bryce Adelstein Lelbach, 11 years ago

Confirmed, this is a problem. Francois Barel is the author of the repository component in question, I'll contact him.

comment:4 by Joel de Guzman, 5 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.