Skip to main content
Renesas Electronics America - Knowledgebase

Variable length argument and message W0520549 (CC-RL)

Last Updated:04/17/2017


I am using the CC-RL compiler for RL78 devices. This message appears when I compile a file that includes a function which has a variable length argument. What is the solution?
W0520549: Variable “abc” is used before its value is set. 
Note: abc is a variable of the va_list type.


If you substitute a value before using the variable concerned, the message W0520549 will not be output. However, this will increase the code size.
va_list abc=0;

If you wish to avoid this increase, ignore the warning message.
Suitable Products
e² studio
CS+ (formerly CubeSuite+)
C Compiler Package for RL78 Family