I am trying to use the assert() function from assert.h in my code:
#include <assert.h> // ... char txok; // ... assert(txok);
When I compile, I get this error: incompatible implicit declaration of built-in function 'abort' [enabled by default]
I then searched and found abort() in stdlib.h. If I include that file as well, everything seems hunky dory. Does assert.h really require that you include stdlib.h as well, or is there something else wrong?
Atmel Studio 6.0
AVR GCC 184.108.40.206