Renesas TM V.3.20A Spécifications Page 62

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 64
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 61
Renesas Technology, Tools FAQs
Last Updated: June 7, 2004
Document Number: 04051001_e
Q.
When I describe an enum type parameter for the prototype declaration and use an enumerator-type argument for the function call, I
get the following report messages regardless of using the same type.
Why does SQMlint output these messages?
C source example:
----------------------
enum E { A, B, C };
void func1(enum E);
void func2()
{
func1(A);
}
----------------------
Message output:
Rule 77 (Complaining) "argument type shall be compatible with prototype,
the 1st argument"
A.
The enumerator type is int type.
As SQMlint compares the parameter with the corresponding argument strictly, it recognizes "enum E" type and "int" type
differently, and therefore outputs the above messages.
In this case, please ignore the report messages.
Top of Page | Back to Previous Page
Terms of Use Privacy Policy
(C)2004 Renesas Technology Corp., All Rights Reserved.
Vue de la page 61
1 2 ... 57 58 59 60 61 62 63 64

Commentaires sur ces manuels

Pas de commentaire