dragonbox.h:206:48: error: declaration of ‘u’ shadows a member of ‘jkj::dragonbox::ieee754_bits’ [-Werror=shadow]
dragonbox.h:701:57: error: conversion from ‘long unsigned int’ to ‘int’ may change value [-Werror=conversion]
dragonbox.h:660:19: error: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Werror=sign-compare]
Hi Here are a few changes that would silence some compiler diagnostics which are common when warnings are elevated. Thanks John
g++ 10.2.0 (settings):
clang 11.0.0 (settings):