Boost logo

Boost :

Subject: [boost] [asio] windows compilation error
From: Vinnie Falco (vinnie.falco_at_[hidden])
Date: 2019-02-19 20:58:27


This program fails to compile under msvc.latest:

    #include <boost/asio.hpp>
    int main { return 0; }

This program does compile:

    #define BOOST_ASIO_DISABLE_WINDOWS_RANDOM_ACCESS_HANDLE 1
    #define BOOST_ASIO_DISABLE_WINDOWS_STREAM_HANDLE 1

    #include <boost/asio.hpp>
    int main { return 0; }

Thanks


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk