[Bug c++/37111] Link error with a no effect lefthand operand of comma on a very small code

maxime dot fiandino at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Aug 13 11:51:00 GMT 2008



------- Comment #3 from maxime dot fiandino at gmail dot com  2008-08-13 11:50 -------
Yes, with the static constant define it solve the link problem.

I still doesn't understand why this issue is for:
if (i,++i,1,value<1>::is)
   {++i;}

but not:
value<1>::is;
alone

But it should not be the right place to ask for explanations.

Thanks for your time and sorry for inconvenience.


-- 

maxime dot fiandino at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list