Opened 3 years ago

Last modified 3 years ago

#61728 closed defect

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

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

Description

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 (0)

Note: See TracTickets for help on using tickets.