[omniORB] Visual Studio 2008 level 4 compiler warnings

Duncan Grisby duncan at grisby.org
Fri May 4 14:50:37 BST 2012


On Fri, 2012-05-04 at 08:52 -0400, William Bauder wrote:

> Any reason for the do..while?  The braces alone should suffice.

The do..while is essential to avoid errors if a macro is used in an
if..else. See http://c-faq.com/cpp/multistmt.html for example.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --





More information about the omniORB-list mailing list