-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
icc complains conversion from 'long long' to 'float'
when -Wimplicit-const-int-float-conversion is used. ncx.c:2824:12: warning: implicit conversion from 'long long' to 'float' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion] if (xx == LONGLONG_MAX) *ip = LONGLONG_MAX; ~~ ^~~~~~~~~~~~ ncx.c:64:22: note: expanded from macro 'LONGLONG_MAX' #define LONGLONG_MAX LONG_LONG_MAX ^~~~~~~~~~~~~ ncx.c:61:23: note: expanded from macro 'LONG_LONG_MAX' #define LONG_LONG_MAX LLONG_MAX ^~~~~~~~~ /opt/intel/oneapi/compiler/2023.1.0/linux/lib/clang/16/include/limits.h:103:20: note: expanded from macro 'LLONG_MAX' #define LLONG_MAX __LONG_LONG_MAX__ ^~~~~~~~~~~~~~~~~ <built-in>:52:27: note: expanded from here #define __LONG_LONG_MAX__ 9223372036854775807LL ^~~~~~~~~~~~~~~~~~~~~
- Loading branch information
Showing
2 changed files
with
15 additions
and
15 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