Johan Lundqvist

Make chc12 ignore a specific pragma

Discussion created by Johan Lundqvist on Sep 21, 2011
Latest reply on Sep 22, 2011 by kef

Hi,

I have some code that is both built using chc12 for target but also using gcc for unit testing purposes. I need to add some pragmas to the code for the unit testing instrumenter function but then I got a warning when building with chc12 that this specific pragma wasn't handled. Is there a way to tell chc12 to ignore a specific pragma? I don't want to disable the warning since it might be useful to know if a pragma meant for chc12 is misspelled etc.

 

Regards,

Outcomes