[Cppunit-devel] VC++ warning
Brought to you by:
blep
From: <mat...@fr...> - 2002-11-05 15:47:49
|
Hi! I just downloaded the latest cppunit (1.9.10), and read the FAQ supplied with it. One VC++-related question was about the warning 4786, and since I'm an avid hater of this message, and have worked out what to do about it, I thought I'd give you some info. The warning is due to a template type becoming too long (> 255 characters), which happens all the time with nested templates in e.g. STL. There is a way to get rid of the warning, and that's to add the following line somewhere early in the compilation (like in the win32-specific part of portability.h). #pragma warning(disable:4786) Cheers, / Mats K |