Cannot use BGL & boost::format together under VS2003
Hi all!
The following simple sample doesn't compile on VC++ .NET 2003:
#include <iostream>
#include
it compiles & links for me both with and without the graph include I get this output withOUT the line: 5, some text and this with it: 5, some text I'm using the libraries built from the CVS sources (about 10 hours ago) At Monday 2004-03-22 04:07, you wrote:
Hi all! The following simple sample doesn't compile on VC++ .NET 2003:
#include <iostream> #include
// without the following line everything's ok #include
int main(){ std::cout << boost::format("%d, %s") % 5 % "some text"; return 0; }
-- Best regards, Alexeev Gleb mailto:alexeev_gleb@hotbox.ru
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Victor A. Wagner Jr. http://rudbek.com The five most dangerous words in the English language: "There oughta be a law"
Hello Victor, Tuesday, March 23, 2004, 10:34:20 PM, you wrote: VAWJ> it compiles & links for me both with and without the graph include VAWJ> I'm using the libraries built from the CVS sources (about 10 hours ago) Thanks for your reply, I'll try CVS sources when possible, but with the release version 1.31 it doesn't compile, giving a bunch of error messages like d:\libs\boost_1_31_0\boost\graph\detail\adjacency_list.hpp(1278): error C2146: syntax error : missing ';' before identifier 'vertex_descriptor' d:\libs\boost_1_31_0\boost\graph\detail\adjacency_list.hpp(1279): error C2825: 'Config::edge_descriptor': cannot form a qualified name d:\libs\boost_1_31_0\boost\graph\detail\adjacency_list.hpp(1279): error C2039: 'edge_descriptor' : is not a member of 'operator``global namespace''' ... Maybe I'm missing something or has anyone experienced similar problems?
participants (2)
-
Alexeev Gleb
-
Victor A. Wagner Jr.