From: Gehua Yang <yanggehua@gm...> - 2010-04-20 16:02:13
vcl_assert.h re-defines assert(x) macro on Windows, which seems
rather unnecessary to me. I do not remember what it was like with
MSVC 6.0, but MSVC 8.0 (2005) and above has a working stock macro,
whose behavior is similar to the custom macro in vcl_assert.h.
I did a SVN annotation with the header and it seems the macro was
ported from TargetJr, which was at least a decade ago.
My first intention was to remove this custom macro, which is how vcl
should become if compilers conform with the standard. However, to
play safe, I propose to restrict the use of custom assert(x) macro
*only* to MSVC 6.0 and use the stock version for higher versions of
MSVC. If nobody objects, I will make the commit tomorrow.
Get latest updates about Open Source Projects, Conferences and News.