Opened 9 years ago

Closed 9 years ago

#9636 closed Bugs (fixed)

Quickbook doesn't build for Win64

Reported by: John Maddock Owned by: Joel de Guzman
Milestone: To Be Determined Component: quickbook
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

Trying to build quickbook with:

bjam msvc-12.0 address-model=64

results in:

compile-c-c++ ..\..\bin.v2\tools\quickbook\src\msvc-12.0\release\address-model-6
4\link-static\actions.obj
actions.cpp
src\actions.cpp(1522) : error C2593: 'operator <<' is ambiguous
        m:\data\boost\boost\tools\quickbook\src\native_text.hpp(112): could be 'quickbook::detail::ostream &quickbook::detail::ostream::operator <<(quickbook::detail::ostream::base_ios &(__cdecl *)(quickbook::detail::ostream::base_ios &))'
        m:\data\boost\boost\tools\quickbook\src\native_text.hpp(111): or       'quickbook::detail::ostream &quickbook::detail::ostream::operator <<(quickbook::detail::ostream::base_ostream &(__cdecl *)(quickbook::detail::ostream::base_ostream &))'
        m:\data\boost\boost\tools\quickbook\src\native_text.hpp(108): or       'quickbook::detail::ostream &quickbook::detail::ostream::operator <<(const boost::filesystem::path &)'
        m:\data\boost\boost\tools\quickbook\src\native_text.hpp(107): or       'quickbook::detail::ostream &quickbook::detail::ostream::operator <<(unsigned long)'
        m:\data\boost\boost\tools\quickbook\src\native_text.hpp(106): or       'quickbook::detail::ostream &quickbook::detail::ostream::operator <<(long)'
        m:\data\boost\boost\tools\quickbook\src\native_text.hpp(105): or       'quickbook::detail::ostream &quickbook::detail::ostream::operator <<(unsigned int)'
quickbook::detail::ostream &quickbook::detail::ostream::operator <<(int)'
        m:\data\boost\boost\tools\quickbook\src\native_text.hpp(101): or       'quickbook::detail::ostream &quickbook::detail::ostream::operator <<(boost::string_ref)'
        m:\data\boost\boost\tools\quickbook\src\native_text.hpp(100): or       'quickbook::detail::ostream &quickbook::detail::ostream::operator <<(const std::string &)'
        m:\data\boost\boost\tools\quickbook\src\native_text.hpp(97): or       'quickbook::detail::ostream &quickbook::detail::ostream::operator <<(const char *)'
        m:\data\boost\boost\tools\quickbook\src\native_text.hpp(96): or       'quickbook::detail::ostream &quickbook::detail::ostream::operator <<(char)'
        m:\data\boost\boost\tools\quickbook\src\collector.hpp(115): or       'quickbook::collector &quickbook::operator <<(quickbook::collector &,const std::string &)'
        m:\data\boost\boost\tools\quickbook\src\files.hpp(42): or       'std::ostream &quickbook::operator <<(std::ostream &,const quickbook::file_position &)'
        m:\data\boost\boost\tools\quickbook\src\markups.hpp(27): or       'std::ostream &quickbook::detail::operator <<(std::ostream &,const quickbook::detail::markup &)' [found using argument-dependent lookup]
        m:\data\boost\boost\tools\quickbook\src\collector.hpp(108): or       'quickbook::collector &quickbook::operator <<<unsigned __int64>(quickbook::collector &,const T &)'
        with
        [
            T=unsigned __int64
        ]
        while trying to match the argument list '(quickbook::detail::ostream, unsigned __int64)'

    call "C:\Program Files (x86)\microsoft visual studio 12.0\vc\vcvarsall.bat" x86_amd64 >nul
cl /Zm800 -nologo @"..\..\bin.v2\tools\quickbook\src\msvc-12.0\release\address-model-64\link-static\actions.obj.rsp"

...failed compile-c-c++ ..\..\bin.v2\tools\quickbook\src\msvc-12.0\release\address-model-64\link-static\actions.obj...

Change History (3)

comment:1 by Daniel James, 9 years ago

Should be fixed on develop now. Although I can't test it as I don't have 64-bit Visual C++, so if it isn't fixed, someone else will need to deal with it.

comment:2 by John Maddock, 9 years ago

That gets it - thanks!

comment:3 by Joel de Guzman, 9 years ago

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