/[ports]
ViewVC logotype

Revision 505788


Jump to revision: Previous Next
Author: adridg
Date: Wed Jul 3 20:14:07 2019 UTC (5 years ago)
Changed paths: 2
Log Message:
Fix devel/ddd after fallout from libXt update.

Stricter type rules mean that you can't pass a non-noreturn function
as a parameter to a function expecting a noreturn-function. Error
reported by Antoine was

exit.C:815:12: error: no matching function for call to 'XtAppSetErrorHandler'
    (void) XtAppSetErrorHandler(app_context, ddd_xt_error);

because ddd_xt_error had the wrong attribute (non-noreturn). So add
that in, and add it to goto_main_loop() as well, where it makes sense
because that uses longjmp() and doesn't return.

Reported by:	antoine
Reviewed by:	zeising


Changed paths

Path Details
Directoryhead/devel/ddd/files/patch-ddd_exit.C added
Directoryhead/devel/ddd/files/patch-ddd_mainloop.C added

  ViewVC Help
Powered by ViewVC 1.1.27