Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
master-1.15-93 | ||
master-1.15-94 |
32b687d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this really essential? It is a violation of C99 (unless all callers ensure that no system header is included after libxsmm), which says (§7.1.2.4):
Note that the size and behavior of
_Bool
as defined here is different from C99.32b687d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only solution is to not use _Bool anywhere in our ABI. I will just check and perhaps remove it entirely.
32b687d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this issue hitting you with some real case? If so, I may need to issue an updated release.
32b687d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, found it (libCEED). I have fixed this on our side as well (143409c). Let me know if you need a new release.
32b687d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. We can just pin our CI to the commit; no need to make a special release.
Note that it's more typical to
#include <stdbool.h>
, which definesbool
,true
, andfalse
. This definition should be compatible with that in C++2003, andstdbool.h
makes it work (as a GNU extension) in older C++ dialects. Or just useint
as you've done.32b687d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Version 1.16.1 (due today) will fix this issue.