Skip to content

Build failures on MSVC #772

@reid-p

Description

@reid-p

With the pattern change from
#if WITH_USB_BACKEND
..
#endif
to
if (WITH_USB_BACKEND) {
....
}

I'm getting linker errors related to usb_context_scan() etc.

MSVC compiler is not smart enough to do dead code removal, or I haven't found the right switches.
Been some other reports in for different libraries of the same issue with MSVC.

Thoughts?

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