-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix compilation in strict C++11/C++14 mode
Hexadecimal floating-point literals is a C99 feature. gcc/icc/clang support hex-float literals in C++ as an extension, and fail to compile such code in strict C++11 or C++14 mode (i.e. -std=c++11) This patch adds a work-around for when modes where hex-float literals are not supported..
- Loading branch information
Marat Dukhan
committed
Sep 23, 2018
1 parent
4b37bd3
commit 5e2bd58
Showing
2 changed files
with
21 additions
and
0 deletions.
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