public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/104078] New: Some type determination weirdness
@ 2022-01-17 22:40 linux at carewolf dot com
  2022-01-17 22:41 ` [Bug c++/104078] " pinskia at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: linux at carewolf dot com @ 2022-01-17 22:40 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104078

            Bug ID: 104078
           Summary: Some type determination weirdness
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: linux at carewolf dot com
  Target Milestone: ---

In an attempt to compile Qt and specifically Qt WebEngine with latest gcc 12
from git today, I git the follow weird error, from Skia inside Chromium inside
QtWebengine:

./../../../../../qtwebengine/src/3rdparty/chromium/third_party/skia/src/gpu/GrRefCnt.h:173:73:
error: ‘‘dependent_operator_type’ not supported by dump_type<type error>’ is
not a valid type for a template non-type parameter
  173 |         gr_sp<T, &T::addCommandBufferUsage,
&T::removeCommandBufferUsage>;
      |                                                                        
^
../../../../../../qtwebengine/src/3rdparty/chromium/third_party/skia/src/gpu/GrRefCnt.h:173:73:
error: ‘‘dependent_operator_type’ not supported by dump_type<type error>’ is
not a valid type for a template non-type parameter

The error triggers in C++17 mode only, and the file compiles fine in C++20 mode
(and in c++17 mode on older gccs, and clang and msvc, etc).

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug c++/104078] Some type determination weirdness
  2022-01-17 22:40 [Bug c++/104078] New: Some type determination weirdness linux at carewolf dot com
@ 2022-01-17 22:41 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-01-17 22:41 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104078

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
THis was just reported as PR 104074.

*** This bug has been marked as a duplicate of bug 104074 ***

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-17 22:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-17 22:40 [Bug c++/104078] New: Some type determination weirdness linux at carewolf dot com
2022-01-17 22:41 ` [Bug c++/104078] " 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).