[Bug 196913] news/nget fails to build with GCC 4.9 (and other modern C++ compilers)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jan 19 23:55:13 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196913
Bug ID: 196913
Summary: news/nget fails to build with GCC 4.9 (and other
modern C++ compilers)
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: gerald at FreeBSD.org
Blocks: 196712
This really prevents (proper) usage of USE_GCC=yes or clang, for that
matter.
g++49 -O2 -pipe -fstack-protector -Wl,-rpath=/usr/local/lib/gcc49
-fno-strict-aliasing -Wl,-rpath=/usr/local/lib/gcc49 -Wall -MMD -MP
-DHAVE_CONFIG_H -Iuulib -c -o etree.o etree.cc
In file included from /usr/local/lib/gcc49/include/c++/backward/hash_map:60:0,
from _hash_map.h:28,
from cache.h:28,
from etree.cc:20:
/usr/local/lib/gcc49/include/c++/backward/backward_warning.h:32:2: warning:
#warning This file includes at least one deprecated or antiquated header which
may be removed without further notice at a future date. Please use a
non-deprecated interface with equivalent functionality instead. For a listing
of replacement headers and interfaces, consult the file backward_warning.h. To
disable this warning use -Wno-deprecated. [-Wcpp]
#warning \
^
etree.cc: In instantiation of 'pred<ClassType>* comparison(const string&,
getterT, T2) [with ClassType = const c_nntp_file; getterT = long unsigned int
(c_nntp_file::*)() const; T2 = long unsigned int; std::string =
std::basic_string<char>]':
etree.cc:200:81: required from here
etree.cc:87:80: error: no matching function for call to 'new_comparison(long
unsigned int (c_nntp_file::*&)() const, long unsigned int&)'
if (opstr.compare("==")==0) return new_comparison<Op_eq,ClassType>(get,
v);
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list