[PROJ] test failure with 6.3.0 geodtest

Greg Troxel gdt at lexort.com
Sun Jan 5 11:36:26 PST 2020


I did find a warning in the build:

  c++ -DHAVE_CONFIG_H -I.  -DPROJ_LIB=\"/usr/pkg/share/proj\" -DMUTEX_pthread  -I../include  -I/usr/include -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Werror=format\
  -security -Wno-format-nonliteral -Wlogical-op -Wshadow -Werror=vla -Wdate-time -Wfloat-conversion -Wmissing-prototypes -Wmissing-declarations -Wnon-virtual-dtor -Weffc++ -Wov\
  erloaded-virtual -Wdeprecated -Wzero-as-null-pointer-constant  -O2 -D_FORTIFY_SOURCE=2 -I/usr/include -fvisibility=hidden -MT tests/geodtest.o -MD -MP -MF $depbase.Tpo -c -o \
  tests/geodtest.o tests/geodtest.cpp &&\
  mv -f $depbase.Tpo $depbase.Po
  tests/geodtest.cpp: In function 'int checkNaN(double)':
  tests/geodtest.cpp:38:7: warning: conversion to 'float' from 'double' may alter its value [-Wfloat-conversion]
     if (isnan(x))
         ^
and I'll retry with FORTIFY/SSP disabled.


More information about the PROJ mailing list