public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/14971] New: error message is correct, but could be more helpful
@ 2004-04-15 23:19 tjic_gccbugs at tjic dot com
  2004-04-15 23:26 ` [Bug c++/14971] better error message for partial specialization of function templates requested bangerth at dealii dot org
                   ` (15 more replies)
  0 siblings, 16 replies; 19+ messages in thread
From: tjic_gccbugs at tjic dot com @ 2004-04-15 23:19 UTC (permalink / raw)
  To: gcc-bugs

when attempting to partially specialize a function template, the error message 
is generated:

   partial specialization `....` of function template

this is absolutely accurate, yet for someone stuck in a certain frame of mind, 
it's not maximally helpful.  Specifically: if it just doesn't occur to a block-
headed user (i.e. me) that a partial specialization of a function template is 
illegal, the response is likely to be "yes, I know, that's exactly what I want 
to do...so why is the compiler complaining?".

I suggest a change of the message to 

    partial specialization `....` of function template; illegal C++

or somesuch.

Thanks for considering this,

TJIC

-- 
           Summary: error message is correct, but could be more helpful
           Product: gcc
           Version: 3.2.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tjic_gccbugs at tjic dot com
                CC: gcc-bugs at gcc dot gnu dot org


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


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

end of thread, other threads:[~2004-07-03  2:06 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-15 23:19 [Bug debug/14971] New: error message is correct, but could be more helpful tjic_gccbugs at tjic dot com
2004-04-15 23:26 ` [Bug c++/14971] better error message for partial specialization of function templates requested bangerth at dealii dot org
2004-04-15 23:32 ` pinskia at gcc dot gnu dot org
2004-04-15 23:34 ` tjic at tjic dot com
2004-04-16  0:28 ` gdr at integrable-solutions dot net
2004-04-16 14:03 ` bangerth at dealii dot org
2004-04-16 17:30 ` gdr at integrable-solutions dot net
2004-04-16 21:46   ` Zack Weinberg
2004-04-16 17:43 ` bangerth at dealii dot org
2004-04-16 21:46 ` zack at codesourcery dot com
2004-04-17  3:06 ` bangerth at dealii dot org
2004-04-17 17:52 ` gdr at integrable-solutions dot net
2004-04-18 18:02 ` bangerth at dealii dot org
2004-04-18 18:08 ` gdr at integrable-solutions dot net
2004-04-18 18:28 ` bangerth at dealii dot org
2004-04-18 18:43   ` Gabriel Dos Reis
2004-04-18 18:45 ` gdr at integrable-solutions dot net
2004-07-03  2:05 ` cvs-commit at gcc dot gnu dot org
2004-07-03  2:06 ` giovannibajo at libero dot it

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).