[graph] Include conflict when using spirit classic and graph libraries together

Hello, boost/graph/depth_first_search.hpp includes boost/spirit/home/phoenix.hpp. This include points to Phoenix2, what finally leads to conflicts if the spirit classic library (using Phoenix1) is used together with the Boost graph library. Is the spirit include in boost/graph/depth_first_search.hpp needed at all? I cannot see where something from phoenix is used in that header and in our code everything seems to work fine if I simply remove this include. Sincerely ok -- ---------------------------------------------------- Oliver Koenig EVEN - Evolutionary Engineering AG WWW : www.even-ag.ch ---------------------------------------------------- -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.

On Thu, 15 Oct 2009, Oliver Koenig wrote:
Hello,
boost/graph/depth_first_search.hpp includes boost/spirit/home/phoenix.hpp. This include points to Phoenix2, what finally leads to conflicts if the spirit classic library (using Phoenix1) is used together with the Boost graph library.
Is the spirit include in boost/graph/depth_first_search.hpp needed at all? I cannot see where something from phoenix is used in that header and in our code everything seems to work fine if I simply remove this include.
It was indeed unnecessary and was removed in r56868. Thank you for reporting this issue. -- Jeremiah Willcock
participants (2)
-
Jeremiah Willcock
-
Oliver Koenig