Opened 15 years ago

Closed 15 years ago

#1450 closed Bugs (fixed)

VC++ 2008 not fooled by null_type

Reported by: John Pavel <jrp@…> Owned by: Joel de Guzman
Milestone: Boost 1.35.0 Component: tuple
Version: Boost Development Trunk Severity: Showstopper
Keywords: Cc:

Description

resulting in errors like

Test output: jrp-msvc9.0 - python - defaults / msvc-9.0
Rev 41111 / Thu, 15 Nov 2007 18:20:31 +0000
Report Time: Fri, 16 Nov 2007 01:59:13 +0000

Compile [2007-11-15 23:36:33 UTC]: fail 

    call "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86 >nul
cl /Zm800 -nologo @"C:\temp\regression-run\results\boost\bin.v2\libs\python\test\defaults.test\msvc-9.0\debug\threading-multi\defaults.obj.rsp" 

defaults.cpp
..\libs\python\test\defaults.cpp(133) : error C2668: 'boost::python::make_tuple' : ambiguous call to overloaded function
        C:\temp\regression-run\boost\boost/python/detail/make_tuple.hpp(22): could be 'boost::python::tuple boost::python::make_tuple<boost::python::list,boost::python::list,int>(const A0 &,const A1 &,const A2 &)'
        with
        [
            A0=boost::python::list,
            A1=boost::python::list,
            A2=int
        ]
        C:\temp\regression-run\boost\boost/tuple/detail/tuple_basic.hpp(800): or       'boost::tuples::tuple<T0,T1,T2,T3,T4,T5,T6,T7,T8,T9> boost::tuples::make_tuple<boost::python::list,boost::python::list,int>(const T0 &,const T1 &,const T2 &)' [found using argument-dependent lookup]
        with
        [
            T0=boost::python::list,
            T1=boost::python::list,
            T2=int,
            T3=boost::tuples::null_type,
            T4=boost::tuples::null_type,
            T5=boost::tuples::null_type,
            T6=boost::tuples::null_type,
            T7=boost::tuples::null_type,
            T8=boost::tuples::null_type,
            T9=boost::tuples::null_type
        ]
        while trying to match the argument list '(boost::python::list, boost::python::list, int)'


Change History (1)

comment:1 by Joel de Guzman, 15 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.