Opened 4 years ago

#61617 new defect

p5-sdl @2.548: error: implicit declaration of function '_calc_offset' is invalid in C99

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur catalina Cc:
Port: p5-sdl

Description

https://build.macports.org/builders/ports-11_arm64-builder/builds/1026/steps/install-port/logs/stdio

lib/SDLx/Surface.xs:25:25: error: implicit declaration of function '_calc_offset' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    void* s =  pixels + _calc_offset(surface, x, y); 
                        ^
1 error generated.

Change History (0)

Note: See TracTickets for help on using tickets.