[Bug 225299] graphics/libfpx: error: 'register' storage class specifier is deprecated and incompatible with C++17
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Jan 18 13:47:44 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225299
Bug ID: 225299
Summary: graphics/libfpx: error: 'register' storage class
specifier is deprecated and incompatible with C++17
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: ohartmann at walstatt.org
CC: mi at ALDAN.algebra.com
CC: mi at ALDAN.algebra.com
Flags: maintainer-feedback?(mi at ALDAN.algebra.com)
On recent CURRENT (FreeBSD 12.0-CURRENT #14 r328101: Wed Jan 17 23:57:27 CET
2018, WITH_LLD_IS_LD=YES, CLANG 6), updating/installing or packaing via
poudriere of port graphics/libfpx fails with the error shown below:
[...]
c++ -O2 -pipe -DHAVE_WCHAR_H -DHAVE_DLFCN_H -DHAVE_SYS_TIME_H
-DHAVE_SYS_PARAM_H -DHAVE_SYS_MOUNT_H -fstack-protector-strong -Werror -Wall
-Wno-format-y2k -W -Wno-unused-parameter -Wpointer-arith -Wno-uninitialized
-Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable
-Wno-error=tautological-constant-compare -Wno-tautological-compare
-Wno-unused-value -Wno-parentheses-equality -Wno-unused-function
-Wno-enum-conversion -Wno-unused-local-typedef -Wno-address-of-packed-member
-Qunused-arguments -fno-rtti -fno-exceptions -fno-strict-aliasing
-DHAVE_WCHAR_H -DHAVE_DLFCN_H -DHAVE_SYS_TIME_H -DHAVE_SYS_PARAM_H
-DHAVE_SYS_MOUNT_H
-I/wrkdirs/usr/ports/graphics/libfpx/work/libfpx-1.3.1-4/oless/h
-I/wrkdirs/usr/ports/graphics/libfpx/work/libfpx-1.3.1-4/jpeg
-I/wrkdirs/usr/ports/graphics/libfpx/work/libfpx-1.3.1-4/ole
-I/wrkdirs/usr/ports/graphics/libfpx/work/libfpx-1.3.1-4/basics
-I/wrkdirs/usr/ports/graphics/libfpx/work/libfpx-1.3.1-4/ri_image
-I/wrkdirs/usr/ports/graphics/libfpx/work/libfpx-1.3.1-4/oless
-I/wrkdirs/usr/ports/graphics/libfpx/work/libfpx-1.3.1-4/fpx
-I/wrkdirs/usr/ports/graphics/libfpx/work/libfpx-1.3.1-4/. -I/usr/local/include
-D_UNIX -Wno-c++11-extensions -c
/wrkdirs/usr/ports/graphics/libfpx/work/libfpx-1.3.1-4/fpx/fpxlib.cpp -o
fpxlib.o
--- filter.o ---
In file included from
/wrkdirs/usr/ports/graphics/libfpx/work/libfpx-1.3.1-4/fpx/filter.cpp:37:
In file included from
/wrkdirs/usr/ports/graphics/libfpx/work/libfpx-1.3.1-4/ri_image/ph_image.h:25:
In file included from
/wrkdirs/usr/ports/graphics/libfpx/work/libfpx-1.3.1-4/ri_image/priimage.h:33:
In file included from
/wrkdirs/usr/ports/graphics/libfpx/work/libfpx-1.3.1-4/ri_image/matrix.h:25:
/wrkdirs/usr/ports/graphics/libfpx/work/libfpx-1.3.1-4/basics/npixel.h:107:5:
error: 'register' storage class specifier is deprecated and incompatible with
C++17 [-Werror,-Wdeprecated-register]
register unsigned32 newColor = *((unsigned32 *)(&pix));
^~~~~~~~~
--- coltwist.o ---
/wrkdirs/usr/ports/graphics/libfpx/work/libfpx-1.3.1-4/fpx/coltwist.cpp:287:3:
error: 'register' storage class specifier is deprecated and incompatible with
C++17 [-Werror,-Wdeprecated-register]
register int c1, c2, c3;
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list