Skip to content

Build on FreeBSD: "minor" and "major" in get_dsp.h cause build error #304

Description

@DeimosLabs

When trying to build on FreeBSD, these two identifiers are already defined as macros by sys/types.h, which causes errors on anything that #include's both:

member initializer '__major' does not name a non-static data member or base class

Maybe they should be renamed to something like "minor_version" and "major_version"? Current workaround is to just #undef them in get_dsp.h after the headers.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions