Andy Melnikov (nponeccop) wrote,
Andy Melnikov

Пуш реквест :)

Решил я тут в очередной раз починить HNC. Но что-то не чинится.
git clone git://
cd HNC/hn_tests/
gcc -I../cpplib/include test_io.cpp
Ошибка такова:
In file included from ../cpplib/include/hn/lib.hpp:9:0,
                 from test_io.cpp:1:
../cpplib/include/hn/ffi.hpp: In instantiation of ‘ff::IO<void> ff::print(T) [with T = int]’:
test_io.cpp:5:20:   required from here
../cpplib/include/hn/ffi.hpp:89:39: error: could not convert 
‘boost::bind<void, int, int>(ff::print_impl<int>, t)’ from 
‘boost::_bi::bind_t<void, void (*)(int), boost::_bi::list1<boost::_bi::value<int> > >’ 
to ‘ff::IO<void>’
Поможите, люди добрые! В MSVC почему-то работает.

  • Post a new comment


    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.