This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

when #ifdeffing a testsnippet

when #ifdeffing a testsnippet it is, often, desirable to be able to do this:

code ....
code ....
#ifdef DOIT
BOOL flag
if (flag)
....

Keil does not allow definitions in the middle of a routine, IAR does.

is IAR wrong or is Keil "overly critical"?

since nobody here has a copy of the standard (gotcha sardine) I ask on the forum.

if, indeed, Keil is "overly critical", I'll put in a request.

Erik

Parents
  • You do have control over your own toolbox, though.

    I've heard a few people talk about a system called the World Wide Internet Web Thingy or something like that. Looks really cool. Apparently you can do searches and get documents and look at reference manuals and do all sort of other clever things on it. A bit like a souped up library.

    Might be worth a gander?

Reply
  • You do have control over your own toolbox, though.

    I've heard a few people talk about a system called the World Wide Internet Web Thingy or something like that. Looks really cool. Apparently you can do searches and get documents and look at reference manuals and do all sort of other clever things on it. A bit like a souped up library.

    Might be worth a gander?

Children