[rtems commit] nfsclient: Avoid __FILE__ and __LINE__
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Dec 5 13:56:43 UTC 2014
On 05/12/14 14:49, Gedare Bloom wrote:
> Should we avoid these macros in general, and say so in coding conventions?
Yes, I think we should ban __FILE__, __LINE__ and __DATE__. The only
exception should be _Assert().
If we do this, then assert() must be replaced with _Assert(). We should
also think about adding an rtems_assert().
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list