Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experiment: Lots of small C code fixes #2070

Merged
merged 14 commits into from
Mar 1, 2022

Conversation

olafmersmann
Copy link
Contributor

Lots of small code fixes to catch more edge cases, remove dead code.

@@ -465,7 +465,7 @@ void coco_free_memory(void *data);
/**
* @brief Signals a fatal error.
*/
void coco_error(const char *message, ...);
void coco_error(const char *message, ...) __attribute__((noreturn)) __attribute__((__noreturn__));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be the culprit for the AppVeyor failure

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've hidden the attributes behind macros which are defined based on the used compiler. Let's hope this fixes it.

@nikohansen nikohansen merged commit e1f961f into numbbo:development Mar 1, 2022
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.

3 participants