[Tinyos-host-mote-wg] Re: [Tinyos-2.0wg] #ifndef _H_ / #define _H_ ...

David Gay dgay42 at gmail.com
Fri Aug 12 17:06:54 PDT 2005


On 8/12/05, Cory Sharp <cory.sharp at gmail.com> wrote:
> No problem about dropping the leading _.
> 
> I intentionally break the all-uppercase convention because I've been
> bitten before by accidentally having two header filenames that differ
> only in case.  One was a system header file that I wasn't aware was
> being indirectly included, the other was my own.  The all uppercase
> #ifdef on one prevented the other from being included.  It was a long,
> frustrating debug process that vowed never to go through again.

Ouch... Ok :-)

David

_______________________________________________
Tinyos-2.0wg mailing list
Tinyos-2.0wg at Mail.Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-2.0wg


More information about the Tinyos-host-mote-wg mailing list