Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#4284 closed Bugs (fixed)

missing include protection in boost/graph/read_dimacs.hpp

Reported by: Manfred Weis <manfredweis@…> Owned by: Jeremiah Willcock
Milestone: Boost 1.43.0 Component: graph
Version: Boost 1.44.0 Severity: Cosmetic
Keywords: include protection max_flow Cc:

Description

when including <boost/graph/read_dimacs.hpp> multiple times, the compiler complains about duplicate definition of default values. The bug is due to missing include protection.

Change History (4)

comment:1 by Jeremiah Willcock, 12 years ago

Component: Nonegraph
Owner: changed from jsiek to Jeremiah Willcock
Status: newassigned

comment:2 by Jeremiah Willcock, 12 years ago

Resolution: fixed
Status: assignedclosed

(In [62405]) Added include guard; fixes #4284

comment:3 by Jeremiah Willcock, 12 years ago

Is the inclusion of "max_flow" in the keyword list a typo, or are there other files that need include guards as well?

comment:4 by Manfred Weis <manfredweis@…>, 12 years ago

max_flow has been set as a keyword to indicate that the error occured in the context of max flow calculation; does not imply other missing include protection.

Note: See TracTickets for help on using tickets.