Opened 13 years ago

Closed 12 years ago

#4143 closed Bugs (fixed)

Phoenix v1 name clash with Phoenix v2

Reported by: anonymous Owned by: Joel de Guzman
Milestone: Boost 1.44.0 Component: spirit
Version: Boost 1.43.0 Severity: Problem
Keywords: Cc: braden@…

Description

A simple code like

#include <boost/spirit/include/phoenix_core.hpp>
#include <boost/spirit/include/classic.hpp>
int main()
{
}

Creates a lot of compile errors due to phoenix:: usage being misinterpreted by the compiler.

The main offensive header is <boost/spirit/home/classic/attribute/closure.hpp>, replacing all occurence of phoenix:: by ::phoenix:: made my particular problem go away.

Attachments (1)

4143.patch (71.0 KB ) - added by Braden McDaniel <braden@…> 12 years ago.
Patch

Download all attachments as: .zip

Change History (3)

by Braden McDaniel <braden@…>, 12 years ago

Attachment: 4143.patch added

Patch

comment:1 by Braden McDaniel <braden@…>, 12 years ago

Cc: braden@… added
Milestone: Boost 1.43.0Boost 1.44.0
Version: Boost 1.42.0Boost 1.43.0

comment:2 by anonymous, 12 years ago

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