Skip to main content
Visitor II
May 5, 2014
Question

STVD And Cosmic And assert() Macro

  • May 5, 2014
  • 1 reply
  • 517 views
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.
    This topic has been closed for replies.

    1 reply

    WorkalotAuthor
    Visitor II
    May 5, 2014
    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.