[test] Warnings and EDG compiler error patch.

Geniydi, I hope you don't mind, but I'm about to apply the attached trivial patch to Boost.Test in Trunk to: 1) Quieten a minor blizzard of msvc warnings. 2) Get the code compiling with Intel C++. Regards, John.

John Maddock wrote:
2) Get the code compiling with Intel C++.
Thank you for this patch, as this fixes compilation for Tru64/CXX as well. BTW, HP's ACC is EDG based, so you could simplify #if defined(__GNUC__) || defined(__HP_aCC) || defined(__EDG__) to #if defined(__GNUC__) || defined(__EDG__) Markus

2) Get the code compiling with Intel C++.
Thank you for this patch, as this fixes compilation for Tru64/CXX as well.
Good.
BTW, HP's ACC is EDG based, so you could simplify
#if defined(__GNUC__) || defined(__HP_aCC) || defined(__EDG__)
to
#if defined(__GNUC__) || defined(__EDG__)
Nod, in fact I suspect that the first branch is the std-conforming one, and the second should be removed or at least only used as a workaround as required, but I'm no language lawyer so I'll leave that to Boost.Test's author. John.
participants (2)
-
John Maddock
-
Markus Schöpflin