AnsweredAssumed Answered

heaptab with MISRA

Question asked by mshearer123 on Mar 11, 2010
Latest reply on Sep 23, 2010 by CraigG

Hi,

 

My project is build for the black bf561 compiler.  I am currently trying to comply to MISRA using logicscope (IBM)

 

I am recieving the following error from the autogenerated heaptab.

 

"Error:  syntax error before string constant"

 

from this code

 

extern "asm" int ldf_heap_space;
extern "asm" int ldf_heap_length;

 

I presume from the "asm" part,

 

does anyone know how I can work around this?

 

thanks for any help,

 

Matt

Outcomes