On Wed, May 27, 2009 at 9:56 PM, Mark Tall <mtall....@gmail.com> wrote: > [Sorry, I pasted the wrong compiler output (but for the same bug). > Below is the corrected e-mail. ] > > I've come across a possible issue with GCC's adherence to the C++ > standard for handling template code (gcc version 4.3.2 20081105 from > Fedora 10). > > The following code compiles fine under GCC (using -pedantic and > -std=c++98), but fails under Microsoft's C++ 2008 SP1. > > Microsoft explains this on > http://msdn.microsoft.com/en-us/library/cx7k7hcf(VS.80).aspx > > Is GCC or Microsoft at fault ?
GCC see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24314 . Thanks, Andrew Pinski