This is the mail archive of the gcc-patches@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]

Re: [patch] Fix PR c++/29363


On 10/19/06, Mark Mitchell <mark@codesourcery.com> wrote:

Unfortunately, I think this will not work correctly in the case of -fpermissive, since in that case the code above this point will have issued a pedwarn, but that will just be a warning, not an error. So, I bet this case:

   template <typename>
   void f() {
     return g();
   }

would be mishandled by your patch, when compiled with -fpermissive.

So, sadly, I think we need to find some other solution...

Ok. Back to the drawing board.....


Cheers,
Lee.


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