cancel
Showing results for 
Search instead for 
Did you mean: 

STVD And Cosmic And assert() Macro

Workalot
Associate III
Posted on May 05, 2014 at 08:50

If I get...

  #error cpstm8 pins_stm8s.c:28(4) missing prototype

on an...

  assert( pPin->pPio == GPIOA );

even though the file contains...

  #include <assert.h>

what have I missed/messed?

Thank you.
1 REPLY 1
Workalot
Associate III
Posted on May 05, 2014 at 12:31

So, Workalot discovers...

 STVD->Project->Settings->C Compiler->General->C Language->Default

gets him to where he wants to be.