bad inlining

Steven Parkes parkes@sierravista.com
Wed Jul 15 18:18:00 GMT 1998


Ah, well.  It was a code problem.  The function 

    inline Chained::Element*
    Chained::headOf() const
    {
      (Element*) Linked::headOf();
    }

doesn't return a value so the result is random.

But isn't it a fatal error for a function not to return a value in C++?



More information about the Gcc-bugs mailing list