GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Including Boost.Asio before cpp-netlib causes compile error · Issue #634 · cpp-netlib/cpp-netlib

Including Boost.Asio before cpp-netlib causes compile error #634

New issue
Copy link
New issue
Copy link
Closed
Closed
Including Boost.Asio before cpp-netlib causes compile error#634
Copy link
Assignees
glynos

Description

@amerry
amerry
opened on Apr 15, 2016
Issue body actions

If I do something like

#include <boost/asio/ip/address.hpp>
#include <boost/network.hpp>

then compilation fails because the references to things like asio::io_service in cpp-netlib resolve to the boost::asio namespace (since the code is in the boost::network namespace).

While I can just reorder the headers, this is still not an ideal situation. Presumably, this could be solved by using absolute references, like ::asio::io_service.

Activity

  1. glynos
    self-assigned this
    on Apr 15, 2016
  2. deanberris commented on Apr 18, 2016

    @deanberris
    deanberris
    on Apr 18, 2016
    Member
    More actions

    Yes, this is bad. I see @glynos has taken this on.

    Do you mind fixing this in the 0.12-release branch too so that we can release a 0.12.1 soon to remedy this?

  3. glynos commented on Apr 20, 2016

    @glynos
    glynos
    on Apr 20, 2016
    Member
    More actions

    @amerry Could you check that the latest changes work for you?

  4. amerry commented on Apr 26, 2016

    @amerry
    amerry
    on Apr 26, 2016
    Author
    More actions

    Yep, 0.12-release now works.

  5. avalchev commented on Apr 29, 2016

    @avalchev
    avalchev
    on Apr 29, 2016
    More actions

    Could you please merge it into master.

  6. glynos commented on Apr 29, 2016

    @glynos
    glynos
    on Apr 29, 2016
    Member
    More actions

    @avalchev These changes were already committed on master in a separate PR:

    f2095b6

  7. glynos
    closed this as completedon Apr 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @glynos
    glynos

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402520 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.