
5 Feb
2008
5 Feb
'08
7:49 p.m.
shunsuke <pstade.mb <at> gmail.com> writes:
BTW, what is the warning good for? I've found an iteresting quote from ATL:
#pragma warning(disable: 4512)//can't generate assignment operator(so what?)
If utterly useless, why not globally turn off?
Several of the ATL/MFC headers in VC9 disable that warning (amongst others) - and a couple of them do appear to disable it globally (no pragma warning push/pop). I've actually got it disabled in the precompiled header in several projects (so it's turned off for everything) - i just get too many instances of the warning otherwise :(