Boost logo

Boost Users :

From: Marcio Paim de Aquino (marcio.paim_at_[hidden])
Date: 2006-02-09 08:50:50


Hi,

I'm trying to compile this example http://www.boost.org/libs/graph/example/johnson-eg.cpp.
I have the following error from VC++ 6 SP2:

--------------------Configuration: johnson-eg - Win32 Debug--------------------
Compiling...
johnson-eg.cpp
c:\arquivos de programas\microsoft visual studio\vc98\include\boost\graph\graph_concepts.hpp(479) : error C2664: 'const_constraints' : cannot convert parameter 1 from 'int [5][5]' to 'const int (&)[5][5]'
        Reason: cannot convert from 'int [5][5]' to 'const int [5][5]'
        There is no context in which this conversion is possible
        c:\arquivos de programas\microsoft visual studio\vc98\include\boost\graph\graph_concepts.hpp(477) : while compiling class-template member function 'void __thiscall boost::BasicMatrixConcept<int [5][5],unsigned int,int>::constraints(void)'
Error executing cl.exe.

johnson-eg.exe - 1 error(s), 0 warning(s)

Does anyone know what's wrong?

Regards
Marcio Paim


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net