메인 콘텐츠로 건너뛰기
Knowledgebase
Home
Renesas Korea

ERROR: W2525: illegal type combination for 'operator' (type1,type2)

Latest Updated:12/01/2011

Question:

The following warning message is output.

W2525: illegal type combination for 'operator' (type1,type2)

However, I cannot find the cause.

Answer:

This warning is output because the stWk1 address with const specification is treated as a variable that is not const.
You can prevent this warning from being output by erasing the const specification for stWk1 or adding a const specification to ptr1.
Suitable Products
  • 이 기사가 도움이 되셨나요?