Skip to content
Snippets Groups Projects
Commit 2213a560 authored by Marc-Olivier Andrez's avatar Marc-Olivier Andrez
Browse files

build: fix GCC compilation error because of call of deprecated function `siginterrupt`

Error message:

> main_eventmon.cpp:109:17: error: ‘int siginterrupt(int, int)’ is deprecated: Use sigaction with SA_RESTART instead [-Werror=deprecated-declarations]

The migration from deprecated `siginterrupt(SIGINT, 1)` to `sigaction` is
inspired by the migration done in CPython, see
https://github.com/python/cpython/commit/f9c5e3f5f61cd380f8a17c814766fc3730b7fbdf
parent 8b873b1a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment