Skip to content

Build support with "-Wundef" #115

Description

@Lev275568

I have tried to compile with compiler option "-Wundef". Build fails:

In file included from src/libs/boost/src/boost/dll.hpp:16:
In file included from src/libs/boost/src/boost/dll/shared_library.hpp:25:
In file included from src/libs/boost/src/boost/dll/detail/posix/shared_library_impl.hpp:13:
src/libs/boost/src/boost/dll/detail/posix/path_from_handle.hpp:65:7: error: 'BOOST_OS_ANDROID' is not defined, evaluates to 0 [-Werror,-Wundef]
   65 | #elif BOOST_OS_ANDROID
      |       ^
In file included from src/libs/boost/src/boost/dll.hpp:17:
src/libs/boost/src/boost/dll/alias.hpp:57:25: error: 'BOOST_OS_ANDROID' is not defined, evaluates to 0 [-Werror,-Wundef]
   57 | #if BOOST_OS_WINDOWS || BOOST_OS_ANDROID || BOOST_COMP_IBM
      |                         ^
src/libs/boost/src/boost/dll/alias.hpp:170:47: error: 'BOOST_OS_ANDROID' is not defined, evaluates to 0 [-Werror,-Wundef]
  170 | #if ((BOOST_COMP_GNUC && BOOST_OS_WINDOWS) || BOOST_OS_ANDROID || BOOST_COMP_IBM || defined(BOOST_DLL_FORCE_NO_WEAK_EXPORTS)) \
      |                                               ^
3 errors generated.

Metadata

Metadata

Assignees

No one assigned

    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