wxCHECK and semicolon required

Vadim Zeitlin vadim at wxwindows.org
Tue Apr 3 04:51:01 PDT 2007


On Tue, 03 Apr 2007 13:46:11 +0200 Grzegorz Adam Hankiewicz <ghankiewicz at rastertech.es> wrote:

GAH> The macro could use a do { }while(0) block 

 Some compilers (Watcom? CodeWarrior?) give warnings about it. At least
there are workarounds for Watcom in wx/ptr_scpd.h and I seem to remember
that some compiler(s) still didn't like this even so. There was a rather
long thread on wx-dev about this.

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/





More information about the wx-users mailing list