Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[boost-math] build failure x64-linux-dynamic #38725

Open
winterz opened this issue May 14, 2024 · 0 comments · May be fixed by #38728
Open

[boost-math] build failure x64-linux-dynamic #38725

winterz opened this issue May 14, 2024 · 0 comments · May be fixed by #38728
Assignees
Labels
category:port-bug The issue is with a library, which is something the port should already support

Comments

@winterz
Copy link
Contributor

winterz commented May 14, 2024

Operating system

linux

Compiler

gcc-13

Steps to reproduce the behavior

I have lots of boost packages listed in a vcpkg.json and using that to build a project in manifest-mode

        "boost-asio",
        "boost-container",
        "boost-system",
        "boost-thread",
        "boost-filesystem",
        "boost-graph",
        "boost-geometry",
        {
            "name": "boost-iostreams",
            "default-features": false,
            "features": [
                "bzip2",
                "zlib",
                "zstd"
            ]
        },
        "boost-multi-array",
        "boost-polygon",
        "boost-unordered",
        "boost-uuid",
        "boost-interprocess",
        {
            "name": "curl",
            "platform": "windows"
        },

Failure logs

the compile fails with

/home/build/vcpkg/buildtrees/boost-math/src/ost-1.85.0-7b137ed96b.clean/libs/math/include/boost/math/special_functions/next.hpp:697:56: error: expected ‘;’ before ‘{’ token
  697 |    BOOST_MATH_IF_CONSTEXPR (!std::is_same<T, U>::value)
      |                                                        ^
      |                                                        ;
  698 |    {
      |    ~                                                    
/home/build/cpkg/buildtrees/boost-math/src/ost-1.85.0-7b137ed96b.clean/libs/math/include/boost/math/special_functions/next.hpp:708:4: error: ‘else’ without a previous ‘if’
  708 |    else
      |    ^~~~
ninja: build stopped: subcommand failed.



### Additional context

yesterday I was trying with version 1.84 and had the same compile error.  I also tried with gcc-9 and same problem```
@winterz winterz added the category:port-bug The issue is with a library, which is something the port should already support label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-bug The issue is with a library, which is something the port should already support
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants