[Bug c++/15179] Bad error message

igodard at pacbell dot net gcc-bugzilla@gcc.gnu.org
Tue Apr 27 22:26:00 GMT 2004


------- Additional Comments From igodard at pacbell dot net  2004-04-27 22:11 -------
Come on! The error message is certainly *true*, but *correct* means that it diagnoses the actual error that is present and helps the user toward a correction. This message certainly does neither. The actual error is a missing "typename". Taken at face value, the message suggests that 'Powerset<E> should be derived from its local type "Powerset<E>::iterator", but it is impossible for a class to derive from one of its own local types. 

You may argue that the problem is low priority, but "correct" it ain't. Take it up with your associates.

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


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



More information about the Gcc-bugs mailing list