Opened 4 years ago

Closed 4 years ago

#61728 closed defect (fixed)

jpeg2ps: asc85ec.c:59:5: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'

Reported by: layeredqueuing (Layered Queueing Network Solvers) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur catalina Cc:
Port: jpeg2ps

Description (last modified by ryandesign (Ryan Carsten Schmidt))

debug:build CC_PRINT_OPTIONS='YES'
:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jpeg2ps/jpeg2ps/work/.CC_PRINT_OPTIONS'
:debug:build CPATH='/opt/local/include'
:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
:debug:build LIBRARY_PATH='/opt/local/lib'
:debug:build MACOSX_DEPLOYMENT_TARGET='11.0'
:debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX11.0.sdk'
/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_jpeg2ps/jpeg2ps/work/jpeg2ps-1.9'
:info:build cc -c -DA4 asc85ec.c
:info:build asc85ec.c:59:5: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
:info:build     exit(1);
:info:build     ^
:info:build asc85ec.c:59:5: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
:info:build 1 error generated.

Change History (2)

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: catalina added

comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In 34c0e329c31998b8d63be40b98ee0c781f6ea36c/macports-ports (master):

jpeg2ps: Fix implicit declaration of function exit

Closes: #61728

And modernize checksums.

Note: See TracTickets for help on using tickets.