Subject: RE: example/direct_tcpip.c missing header

RE: example/direct_tcpip.c missing header

From: Mark Smith <>
Date: Wed, 2 Jun 2010 11:19:16 +0100

Guenter wrote:

> so where end we then? With an ugly list of platform-specific ifdefs

Would it be better to create a new file, such as example.h, in order to keep
the example code clean and hide the actual build requirements in a header
that's common to all the examples and can contain whatever #ifdefs are
needed, be they application-like or library-like?

Also, to cope with unmet requirements, isn't #error designed for that?


Mark Smith
Received on 2010-06-02