Skip to content

Conversation

@giomasce
Copy link

In C++ functions returning non-void must finish with a "return"
statement. Otherwise this brings to undefined behaviour, which in
my particular case (GCC 9.3.0 on Debian unstable) causes a segmentation
fault.

In C++ functions returning non-void must finish with a "return"
statement. Otherwise this brings to undefined behaviour, which in
my particular case (GCC 9.3.0 on Debian unstable) causes a segmentation
fault.
@dbekaert dbekaert requested a review from earahoo April 23, 2020 14:08
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.

1 participant