Can't use adjacency_list AND adjacency_matrix in same program
Hi, It seems to me that you can't use adjacency_list AND adjacency_matrix in the same program. When I had both the relevant inludes in the program I got duplicate definition errors from the linker. Is this by design, or a bug? Cheers - Richard Howells (loopylozzydad at yahoo dot com)
That's a bug, probably forgot to label some functions as inline. It may already be fixed, but anyways, which defs are duplicated? P.S. Haven't had time yet to look at your other problem. On Tue, 5 Nov 2002, loopylozzysdad wrote: Richar> Hi, Richar> Richar> It seems to me that you can't use adjacency_list AND adjacency_matrix Richar> in the same program. When I had both the relevant inludes in the Richar> program I got duplicate definition errors from the linker. Is this by Richar> design, or a bug? Richar> Richar> Cheers - Richard Howells (loopylozzydad at yahoo dot com) ---------------------------------------------------------------------- Jeremy Siek http://php.indiana.edu/~jsiek/ Ph.D. Student, Indiana Univ. B'ton email: jsiek@osl.iu.edu C++ Booster (http://www.boost.org) office phone: (812) 855-3608 ----------------------------------------------------------------------
Hi Jeremy,
This is what my linker reports (Visual C++ .NET)
JSPDrawing.obj : error LNK2005: "struct boost::no_property const & __cdecl
boost::detail::get_property(char const &)"
(?get_property@detail@boost@@YAABUno_property@2@ABD@Z) already defined in
JSPBlaster.obj
JSPDrawing.obj : error LNK2005: "struct boost::no_property & __cdecl
boost::detail::get_property(char &)"
(?get_property@detail@boost@@YAAAUno_property@2@AAD@Z) already defined in
JSPBlaster.obj
My other problem I did work out for myself. I'll post that as a reply to the
original question.
Cheers - Richard
----- Original Message -----
From: "Jeremy Siek"
That's a bug, probably forgot to label some functions as inline. It may already be fixed, but anyways, which defs are duplicated?
P.S. Haven't had time yet to look at your other problem.
On Tue, 5 Nov 2002, loopylozzysdad wrote: Richar> Hi, Richar> Richar> It seems to me that you can't use adjacency_list AND
adjacency_matrix
Richar> in the same program. When I had both the relevant inludes in the Richar> program I got duplicate definition errors from the linker. Is this by Richar> design, or a bug? Richar> Richar> Cheers - Richard Howells (loopylozzydad at yahoo dot com)
---------------------------------------------------------------------- Jeremy Siek http://php.indiana.edu/~jsiek/ Ph.D. Student, Indiana Univ. B'ton email: jsiek@osl.iu.edu C++ Booster (http://www.boost.org) office phone: (812) 855-3608 ----------------------------------------------------------------------
Info: http://www.boost.org Wiki: http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl Unsubscribe: mailto:boost-users-unsubscribe@yahoogroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
participants (3)
-
Jeremy Siek
-
loopylozzysdad
-
Richard Howells