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

MacPorts noreply at macports.org
Wed Dec 2 20:33:37 UTC 2020


#61728: jpeg2ps:  asc85ec.c:59:5: error: implicitly declaring library function
'exit' with type 'void (int) __attribute__((noreturn))'
----------------------------+---------------------
 Reporter:  layeredqueuing  |      Owner:  (none)
     Type:  defect          |     Status:  new
 Priority:  Normal          |  Milestone:
Component:  ports           |    Version:  2.6.4
 Keywords:  bigsur          |       Port:  jpeg2ps
----------------------------+---------------------
 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/61728>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list