it would improve the error reporting output for deprecated types, variables and
functions if it could be possible to define the deprecated attribute with an
optional message, e.g.:

  int f1 (void) __attribute__ ((deprecated ("Use f2() instead")));
  int f2 (void);

which would print:

  warning: ‘f1’ is deprecated: Use f2() instead


-- 
           Summary: Add optional message to the deprecated attribute
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ebassi at gmail dot com


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

Reply via email to