public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/104591] New: Problem with unary_function
@ 2022-02-18 8:39 lukaszcz18 at wp dot pl
2022-02-18 8:42 ` [Bug libstdc++/104591] " pinskia at gcc dot gnu.org
2022-02-18 8:47 ` pinskia at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: lukaszcz18 at wp dot pl @ 2022-02-18 8:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104591
Bug ID: 104591
Summary: Problem with unary_function
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: lukaszcz18 at wp dot pl
Target Milestone: ---
I use library vvenc c++14
https://github.com/fraunhoferhhi/vvenc/commit/69469d7ac5de882d9f5e12b24ee87f376df20262
or jvetvvc c++11
https://vcgit.hhi.fraunhofer.de/jvet/VVCSoftware_VTM/-/commit/ab0bea02235bb876c9d3bd8a9d3b2fca7ad1b8eb
and https://github.com/Jamaika1/mingw_std_threads
and http://msystem.waw.pl/x265/mingw-gcc1201-20220206.7z
In file included from Unit.h:53,
from AdaptiveLoopFilter.h:54:
Common.h:184:41: warning: 'template<class _Arg, class _Result> struct
std::unary_function' is deprecated [-Wdeprecated-declarations]
184 | struct hash<vvenc::Position> : public unary_function<vvenc::Position,
uint64_t>
| ^~~~~~~~~~~~~~
In file included from c:\msys1200\include\c++\12.0.1\string:48,
from c:\msys1200\include\c++\12.0.1\bits\locale_classes.h:40,
from c:\msys1200\include\c++\12.0.1\bits\ios_base.h:41,
from c:\msys1200\include\c++\12.0.1\ios:42,
from c:\msys1200\include\c++\12.0.1\ostream:38,
from c:\msys1200\include\c++\12.0.1\iostream:39,
from CommonDef.h:53:
c:\msys1200\include\c++\12.0.1\bits\stl_function.h:117:12: note: declared here
117 | struct unary_function
| ^~~~~~~~~~~~~~
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libstdc++/104591] Problem with unary_function
2022-02-18 8:39 [Bug c++/104591] New: Problem with unary_function lukaszcz18 at wp dot pl
@ 2022-02-18 8:42 ` pinskia at gcc dot gnu.org
2022-02-18 8:47 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-02-18 8:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104591
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Component|c++ |libstdc++
Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
std::unary_function has been deprecated since C++11 and is also removed in
C++17.
Just GCC before 12 did not warn about the deprecatation.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libstdc++/104591] Problem with unary_function
2022-02-18 8:39 [Bug c++/104591] New: Problem with unary_function lukaszcz18 at wp dot pl
2022-02-18 8:42 ` [Bug libstdc++/104591] " pinskia at gcc dot gnu.org
@ 2022-02-18 8:47 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-02-18 8:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104591
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://gcc.gnu.org/bugzill
| |a/show_bug.cgi?id=91260
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
See PR 91260.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-02-18 8:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-18 8:39 [Bug c++/104591] New: Problem with unary_function lukaszcz18 at wp dot pl
2022-02-18 8:42 ` [Bug libstdc++/104591] " pinskia at gcc dot gnu.org
2022-02-18 8:47 ` pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).