Hi,

i'm porting an app which uses:
static gdouble line_speed = NAN;
static gdouble line_course = NAN;

which yields:
gpspoint.c:84: error: initializer element is not constant
gpspoint.c:85: error: initializer element is not constant

Kirill Bychkov pointed out
(http://marc.info/?l=openbsd-ports&m=128645629406557&w=2)
to me that netbsd had the following related pr which affects us too:
http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=40695

Can we consider using the same libc fix ?

is the initialization using:
static gdouble line_speed = __builtin_nanf("");
static gdouble line_course = __builtin_nanf("");

a valid temporary fix for the port ?

Thx,
Landry

Reply via email to