Opened 4 years ago

#61047 assigned defect

libVLC @3.0.11: error: unexpected '@' in program

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: RJVB (René Bertin)
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc:
Port: libVLC

Description

libVLC fails to build:

https://build.macports.org/builders/ports-10.11_x86_64-builder/builds/120166/steps/install-port/logs/stdio

video_output/caopengllayer.m:164:9: error: unexpected '@' in program
    if (@available(macOS 10.8, *)) {
        ^
video_output/caopengllayer.m:291:13: error: unexpected '@' in program
        if (@available(macOS 10.14, *)) {
            ^
2 errors generated.

This @available syntax is relatively new and requires a relatively new version of clang.

Change History (0)

Note: See TracTickets for help on using tickets.