﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	revision
350	min_cost_flow_test does not build with VS2008	Alpar Juttner	Peter Kovacs	"The compiler says

{{{
[ 79%] Building CXX object test/CMakeFiles/min_cost_flow_test.dir/min_cost_flow_
test.cc.obj
min_cost_flow_test.cc
L:\projects\LEMON\hg\win\lemon/cost_scaling.h(947) : error C2668: 'sqrt' : ambig
uous call to overloaded function
        C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\math.h(581): cou
ld be 'long double sqrt(long double)'
        C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\math.h(533): or
      'float sqrt(float)'
        C:\Program Files\Microsoft Visual Studio 9.0\VC\INCLUDE\math.h(128): or
      'double sqrt(double)'
        while trying to match the argument list '(int)'
        L:\projects\LEMON\hg\win\lemon/cost_scaling.h(920) : while compiling cla
ss template member function 'void lemon::CostScaling<GR>::startAugment(int)'
        with
        [
            GR=Digraph
        ]
        L:\projects\LEMON\hg\win\test\min_cost_flow_test.cc(528) : see reference
 to class template instantiation 'lemon::CostScaling<GR>' being compiled
        with
        [
            GR=Digraph
        ]
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~1.0\VC\bin\cl.exe' : return code
'0x2'
Stop.
NMAKE : fatal error U1077: '""C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\nmake.exe""' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '""C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN
\nmake.exe""' : return code '0x2'
Stop.
}}}"	defect	closed	critical	LEMON 1.2 release	core	hg main	fixed		Geleji János	2c35bef44dd1
