These nasty warnings are enabled by default in the current gcc, and I cannot find which parameter to disable. They generate warning spam and prevent compilation with -Werrorin code, where gcc behavior warns about this intentionally (and comes from general-purpose macros that cannot easily avoid creating such constants).
-Werror
After digging the GCC source code, I found that the warnings you described were part of the option -Woverflow. So just turn off this warning.
-Woverflow
, :
C ++ ... , .
GCC 4.8 , :
floating constant exceeds range of 'double' [-Woverflow]
, GCC.
Source: https://habr.com/ru/post/1794869/More articles:Drupal: creating polls in the voting API via code - apiRails 3 guidelines for good javascript tutorials - ruby-on-rails-3Automated parsing library in objective-c - [Automated conversion of XML / JSON to Object Conversion] - xmlHow to Publish Orchard List as Custom XML or JSON - .netManaging Events from WinHttpRequest - eventsРазность jsf между неявными объектами cc и компонентом - javaWScript.CreateObject unloads the Windows Scripting host when an event handler prefix is specified for WinHTTPRequest - vbscriptscala type of problems: SoftReference, ReferenceQueues, SoftHashMap - referenceDownload / install Windows updates from Python - pythonESS and rpy2 sharing R in Emacs - rAll Articles