#66574 closed defect (fixed)

lenstool @7.1.1 fails to build with recent Xcode

Reported by: jmroot (Joshua Root) Owned by: ejullo
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ejullo
Port: lenstool

Description

Implicit declaration errors:

o_pixsource.c:33:6: error: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Werror,-Wimplicit-function-declaration]
        if( strcmp(M.centerfile, "") )
            ^
o_pixsource.c:33:6: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
o_pixsource.c:161:3: error: implicit declaration of function 'd_rbf' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
                d_rbf(source, ps.nx, ps.ny, 1.);
                ^
2 errors generated.

Change History (3)

comment:1 Changed 16 months ago by jmroot (Joshua Root)

Cc: eric.jullo@… added

comment:2 Changed 16 months ago by ejullo

This should be fixed in the new version 8.0.4

comment:3 Changed 16 months ago by ejullo <ejullo@…>

Resolution: fixed
Status: assignedclosed

In 1c1c669deadefe8044a60c1b8627988b252fbc66/macports-ports (master):

lenstool: update to 8.0.4

Closes: #66574

Note: See TracTickets for help on using tickets.