Skip to content

Use stdnoreturn.h for c11 and [[ noreturn ]] for c++11. Fixes #563#564

Merged
mvandervoord merged 1 commit intoThrowTheSwitch:masterfrom
BAUR-GmbH:master
Jun 2, 2021
Merged

Use stdnoreturn.h for c11 and [[ noreturn ]] for c++11. Fixes #563#564
mvandervoord merged 1 commit intoThrowTheSwitch:masterfrom
BAUR-GmbH:master

Conversation

@bernhardbreuss
Copy link
Contributor

This should fix #563 by using noreturn from stdnoreturn.h when compiling with c11.
I have also tried to make the same change for c++11.

@mvandervoord mvandervoord merged commit 1a68134 into ThrowTheSwitch:master Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

compilation error when stdnoreturn.h is included

2 participants