lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] Forcing linking of the library modules (again)


From: Greg Chicares
Subject: Re: [lmi] Forcing linking of the library modules (again)
Date: Sun, 05 Oct 2014 23:42:46 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 2014-10-04 17:22Z, Greg Chicares wrote:
[...noticed a poorly-written macro...]
>   https://gcc.gnu.org/onlinedocs/cpp/Swallowing-the-Semicolon.html
> and I'll make appropriate modifications soon. If my modifications
> don't cure the problem, I will trust your eagle eye to point it out.

Unit test committed 20141005T2318Z, revision 5961:
  http://svn.savannah.nongnu.org/viewvc?view=rev&root=lmi&revision=5961
Correction committed 20141005T2320Z, revision 5962:
  http://svn.savannah.nongnu.org/viewvc?view=rev&root=lmi&revision=5962

There are other ways to handle this problem:
  http://c-faq.com/cpp/multistmt.html
but 'do{...} while(0)' seems to be the standard idiom.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]