On Fri, Feb 15, 2013 at 3:38 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
> > Heh, I thought I remembered that duplicate typedefs were invalid in C, but > gcc happily compiled it without a warning. In fact, they _are_ allowed in > C11, but not in our old, crusty version of C. > >From the looks of it, the C forum never explicitly intended for it to be invalid, but as a consequence of the classification of typedef in C (typedef is classified differently in C++), it would have needed to be explicitly allowed. C11 added that clause. http://stackoverflow.com/a/8595191/33208 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130215/02971b06/attachment-0001.html>
