Renesas Technology, Tools FAQs
Last Updated: August 25, 2000
Document Number: 01051242_e
Q.
When I evaluated an expression using the function specified in an external file, the expression was evaluated by a type other than
the type which the function specifies. Why does this happen?
A.
Probably the problem is that the function specified in the external file is declared without "extern". When a function without the
'extern' declaration (prototype declaration) is referenced, the function is automatically assumed to be an int type, as indicated in the
ANSI specifications. We can assume that this is the reason your expression is evaluated as a type other than originally specified.
Top of Page | Back to Previous Page
Terms of Use Privacy Policy
(C)2004 Renesas Technology Corp., All Rights Reserved.
Comentários a estes Manuais