1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/astro/wmsolar
Tobias Kortkamp 470444e802 astro/wmsolar: Fix build with Clang 6
In file included from wmSolar.c:15:
./wmSolar_mask.xbm:6:12: error: constant expression evaluates to 240 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
 0x00,0x00,0xf0,0xff,0xff,0xff,0xff,0xff,0xff,0x0f,0xf0,0xff,0xff,0xff,0xff,
           ^~~~

http://beefy12.nyi.freebsd.org/data/head-amd64-default/p479076_s338486/logs/errors/wmsolar-1.1.log

In file included from wmSolar.c:18:
./Lunar.h:66:23: error: in-class initializer for static data member of type
      'const double' requires 'constexpr' specifier [-Wstatic-float-init]
  static const double SYNODIC_MONTH = 29.530588861;
                      ^

PR:		230880
Approved by:	tkuiper@inxsoft.net (maintainer timeout, 2 weeks)
2018-09-09 07:04:54 +00:00
..
files
distinfo
Makefile astro/wmsolar: Fix build with Clang 6 2018-09-09 07:04:54 +00:00
pkg-descr