AnsweredAssumed Answered

SRU macro allways generates warning "Suggested parenthesis..."

Question asked by harders@khtronik.de on Apr 2, 2013
Latest reply on Apr 3, 2013 by CraigG

Hi,

in a cces project i have the following code as sru-setup function (or see attached complete file):

 

#include "sru.h"

 

void SRU_init(void)

{

    SRU(LOW, PBEN20_I);

// some more lines with the same structure and problem

}

 

When compiling this code no warning is indicated. In the editor  and the problems view all lines of this kind are marked as warnings with "Suggested parenthesis around expression SRU(LOW, PBEN20_I)" seven times.

 

Any explanation for this behaviour?

 

Regards, Kurt

Attachments

Outcomes