Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
VTK
VTK
Commits
868c787a
Commit
868c787a
authored
Apr 18, 2016
by
Sean McBride
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed HDF + UBSan hack to work with old clang
parent
2b53fb28
Pipeline
#12784
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
ThirdParty/hdf5/vtkhdf5/src/H5detect.c
ThirdParty/hdf5/vtkhdf5/src/H5detect.c
+6
-2
No files found.
ThirdParty/hdf5/vtkhdf5/src/H5detect.c
View file @
868c787a
...
@@ -62,9 +62,13 @@ static const char *FileHeader = "\n\
...
@@ -62,9 +62,13 @@ static const char *FileHeader = "\n\
* Behavior Sanitizer (UBSan) from warning.
* Behavior Sanitizer (UBSan) from warning.
*/
*/
#if defined(__clang__)
#if defined(__clang__)
#define HDF_NO_UBSAN __attribute__((no_sanitize("undefined")))
#if __has_attribute(no_sanitize)
#define HDF_NO_UBSAN __attribute__((no_sanitize("undefined")))
#else
#define HDF_NO_UBSAN
#endif
#else
#else
#define HDF_NO_UBSAN
#define HDF_NO_UBSAN
#endif
#endif
...
...
Sean McBride
@seanm
mentioned in commit
e85477f0
·
Apr 18, 2016
mentioned in commit
e85477f0
mentioned in commit e85477f0cd3d3002396bd45ddead749f46ef21d3
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment