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.hu...@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG. _______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel