On Wed, 14 Aug 2019 22:21:56 -0700, sisyphus359@gmail.com wrote: > Hi, > > The Inline::C demo script: > > ##################### > use warnings; > use Devel::Peek; > use Inline C => Config => > BUILD_NOISY => 1, > USING => 'ParseRegExp', > ; > use Inline C => <<'EOC'; > void foo(NV val) { > printf("%.15" NVgf, val); > } > EOC > foo(sqrt(3)); > ##################### > > On my -Dusequadmath build of perl-5.30.0 I get the following warning during > the compilation stage: > > try_pl_0ea3.xs: In function ‘foo’: > try_pl_0ea3.xs:7:10: warning: unknown conversion type character ‘Q’ in > format [-Wformat=] > printf("%.15" NVgf, val); > ^~~~~~ > try_pl_0ea3.xs:7:10: warning: too many arguments for format > [-Wformat-extra-arg ] > > Upon compilation the script then runs successfully. > > I noticed the same warning building Scalar-List-Utils-1.51 on the same > build of perl. > In that instance it was triggered by identical formatting in ListUtil.xs > > The same code compiles without warning on non-quadmath builds of perl-5.30.0 Which operating system? Which compiler? Please include perl -V output when you report issues. Tony --- via perlbug: queue: perl5 status: open https://rt.perl.org/Ticket/Display.html?id=134363Thread Next