Giter Site home page Giter Site logo

Comments (5)

Lastique avatar Lastique commented on August 26, 2024

Boost.Log is always built with hidden visibility. As far as I can tell, the warning says that Boost.Log code uses direct access to its symbols, so they won't be overridden at run time, which is the intention.

My advice would be to use hidden visibility everywhere, including your modules. Mark the symbols you need to export explicitly, with default visibility attributes or pragmas.

from log.

 avatar commented on August 26, 2024

Is there any particular reason I don't need to do this with a package manager-installed binary of Boost.Log? I only started seeing this when I started compiling Boost.Log myself.

from log.

Lastique avatar Lastique commented on August 26, 2024

Sorry, I have no idea. I don't use Mac OS and I don't know how the packages are built there.

The first Boost.Log release which had hidden visibility enabled was 1.59, so if your system packages are older, they were likely compiled with default visibility.

from log.

Lastique avatar Lastique commented on August 26, 2024

Also, you might want to ensure that you're not linking with shared library when you build against the system libraries. In that case you probably won't get the warnings.

from log.

 avatar commented on August 26, 2024

I was using 1.66.0 previously installed through homebrew, so I don't know why that's different given what you've said. I think I've got enough info to sort out how my project needs to build given the visibility requirements, though, and thanks 👍

from log.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.