pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/53098: textproc/libxml2 does not compile on Solaris 11
>Number: 53098
>Category: pkg
>Synopsis: textproc/libxml2 does not compile on Solaris 11
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 14 09:30:00 +0000 2018
>Originator: Joern Clausen
>Release:
>Organization:
University of Bielefeld
>Environment:
>Description:
Compilation of textproc/libxml2 on Solaris 11.3 with GCC 4.9.4 fails with
CC xpath.lo
xpath.c:489:1: error: initializer element is not constant
double xmlXPathPINF = INFINITY;
^
xpath.c:490:1: error: initializer element is not constant
double xmlXPathNINF = -INFINITY;
>How-To-Repeat:
>Fix:
There is a definition for INFINITY in /usr/include/iso/math_c99.h, but it is guarded by
#if defined(_STDC_C99) || _XOPEN_SOURCE - 0 >= 600 || defined(__C99FEATURES__)
Home |
Main Index |
Thread Index |
Old Index