[Bug c++/20478] New: poor diagnostic

igodard at pacbell dot net gcc-bugzilla@gcc.gnu.org
Tue Mar 15 04:13:00 GMT 2005


The actual error is a missing right paren on line 137 of opApi.cc, which should 
read:
                        vec<flow>()))),

but the compiler gives:
opApi.cc:134: error: expected primary-expression before '(' token
opApi.cc:157: error: expected `)' before '}' token
opApi.cc:157: error: no matching function for call to `opApi< flow>::opApi()'

Ivan

-- 
           Summary: poor diagnostic
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: igodard at pacbell dot net
                CC: gcc-bugs at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list