Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Tang__Yaotian
Beginner
78 Views

Variable initialization with a function?

I tried to initialize a local variable by invoking a function, but the compiler reports the variable was declared but never referenced. Is this because I missed some compilation parameters? This error also happens if I use compiler intrinsics to initialize a variable.

0 Kudos
1 Reply
Viet_H_Intel
Moderator
78 Views

a was not referenced in your program. You can suppress the error by adding -wd177

Reply