This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/37619] New: overriding Finalize gives: warning: declaration of "Finalize" hides one at line N


The procedure Finalize is supposed to be overridden to get a constructor for a
type, but doing so gives a warning, eventhough the code explicitly states that
the new Finalize should override the old one. Sample code attached.


-- 
           Summary: overriding Finalize gives: warning: declaration of
                    "Finalize" hides one at line N
           Product: gcc
           Version: 4.2.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: esigra at gmail dot com


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]