public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/53995] New: [4.7/4.8 Regression] Overload resolution fails with enum argument, says <anonymous enum>
@ 2012-07-17 11:53 rguenth at gcc dot gnu.org
  2012-07-17 11:56 ` [Bug c++/53995] " rguenth at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-07-17 11:53 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53995

             Bug #: 53995
           Summary: [4.7/4.8 Regression] Overload resolution fails with
                    enum argument, says <anonymous enum>
    Classification: Unclassified
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: rguenth@gcc.gnu.org
            Target: x86_64-*-*


Created attachment 27812
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27812
testcase

wt fails to build on the GCC 4.7 branch now with

 /usr/lib64/gcc/x86_64-suse-linux/4.7/cc1plus -fpreprocessed
WChart2DRenderer.ii -quiet -dumpbase WChart2DRenderer.C -mtune=generic
-march=x86-64 -auxbase-strip CMakeFiles/wt.dir/Wt/Chart/WChart2DRenderer.o -g
-g -O2 -O2 -Wall -version -fmessage-length=0 -fstack-protector -funwind-tables
-fasynchronous-unwind-tables -fPIC -o WChart2DRenderer.s
GNU C++ (SUSE Linux) version 4.7.1 20120713 [gcc-4_7-branch revision 189457]
(x86_64-suse-linux)
        compiled by GNU C version 4.7.1 20120713 [gcc-4_7-branch revision
189457], GMP version 5.0.5, MPFR version 3.1.1, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C++ (SUSE Linux) version 4.7.1 20120713 [gcc-4_7-branch revision 189457]
(x86_64-suse-linux)
        compiled by GNU C version 4.7.1 20120713 [gcc-4_7-branch revision
189457], GMP version 5.0.5, MPFR version 3.1.1, MPC version 0.8.2
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 90ee474bd1a40375316ad24ac9499226
/home/abuild/rpmbuild/BUILD/wt-3.2.0/src/Wt/Chart/WChart2DRenderer.C: In member
function 'virtual void Wt::Chart::WChart2DRenderer::renderLegend()':
/home/abuild/rpmbuild/BUILD/wt-3.2.0/src/Wt/Chart/WChart2DRenderer.C:1395:34:
error: no matching function for call to
'Wt::Chart::WCartesianChart::plotAreaPadding(Wt::Chart::WChart2DRenderer::renderAxis(const
Wt::Chart::WAxis&,
Wt::WFlags<Wt::Chart::WChart2DRenderer::AxisProperty>)::<anonymous enum>)'
/home/abuild/rpmbuild/BUILD/wt-3.2.0/src/Wt/Chart/WChart2DRenderer.C:1395:34:
note: candidate is:
In file included from
/home/abuild/rpmbuild/BUILD/wt-3.2.0/src/Wt/Chart/WCartesianChart:10:0,
                 from
/home/abuild/rpmbuild/BUILD/wt-3.2.0/src/Wt/Chart/WChart2DRenderer.C:10:
/home/abuild/rpmbuild/BUILD/wt-3.2.0/src/Wt/Chart/WAbstractChart:129:7: note:
int Wt::Chart::WAbstractChart::plotAreaPadding(Wt::Side) const
/home/abuild/rpmbuild/BUILD/wt-3.2.0/src/Wt/Chart/WAbstractChart:129:7: note:  
no known conversion for argument 1 from
'Wt::Chart::WChart2DRenderer::renderAxis(const Wt::Chart::WAxis&,
Wt::WFlags<Wt::Chart::WChart2DRenderer::AxisProperty>)::<anonymous enum>' to
'Wt::Side'
...


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

end of thread, other threads:[~2012-07-18  2:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-17 11:53 [Bug c++/53995] New: [4.7/4.8 Regression] Overload resolution fails with enum argument, says <anonymous enum> rguenth at gcc dot gnu.org
2012-07-17 11:56 ` [Bug c++/53995] " rguenth at gcc dot gnu.org
2012-07-17 12:11 ` rguenth at gcc dot gnu.org
2012-07-18  2:48 ` jason at gcc dot gnu.org
2012-07-18  2:48 ` jason at gcc dot gnu.org
2012-07-18  2:49 ` jason at gcc dot gnu.org
2012-07-18  2:49 ` jason at gcc dot gnu.org
2012-07-18  2:49 ` jason 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).