ISR function prototype generates error message in QAC

Questions and discussions about MISRA not specific to a particular publication

Moderator: david ward

Post Reply
vignesh081191
Posts: 1
Joined: Mon Sep 07, 2015 8:20 am
Company: HCL

ISR function prototype generates error message in QAC

Post by vignesh081191 » Thu Sep 10, 2015 2:25 pm

In our project, we are using atmel microcontroller attiny24A. We are doing static analysis for our single file source code using QAC version 8.0.

The interrupt header file is include in the source file for interrupt usage and we dont get any issue in that
#include <avr/interrupt.h>

But
We are getting the following error in the declaration of ISR function prototype.
ISR(TIM0_COMPA_vect);
^
Err(9:0926) [S] Expected: ) ,.

Functionality wise the code is working fine. So we have no idea what the QAC is expecting whether it misunderstands the ISR or not?

help me out guys...

Post Reply

Return to “General Questions”