Opened 10 years ago

#7732 new Bugs

Spirit Karma calls compile unqualified, which causes it to use compile functions found by ADL

Reported by: felipe.m.almeida@… Owned by: Joel de Guzman
Milestone: To Be Determined Component: spirit
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

In boost/spirit/home/karma/generate.hpp, the function generate and generate_delimited calls compile without qualification. Which allows finding compile functions by ADL if the expression contains terminals not defined in the spirit namespace.

The call should be qualified.

Attachments (1)

adl-issues.patch (2.4 KB ) - added by felipe.m.almeida@… 10 years ago.
Patch for correction of ADL issues with the compile function called in generante and parse functions

Download all attachments as: .zip

Change History (1)

by felipe.m.almeida@…, 10 years ago

Attachment: adl-issues.patch added

Patch for correction of ADL issues with the compile function called in generante and parse functions

Note: See TracTickets for help on using tickets.