Community
Participate
Working Groups
Created attachment 239080 [details] Warning message Eclipse IDE for C/C++ Developers Version: Kepler Service Release 1 Build id: 20130919-0819 The refactoring tool does not directly apply a parameter rename due to an overly strong condition. Steps to reproduce the bug: 1. Consider the following code: ================== Original ================== #define Id_0 void main_0(float aa_0){ // parameter to be renamed #ifdef Id_0 aa_0 = 2; #else aa_0 = 0; #endif #ifdef Id_0 aa_0 = 100; #endif } ============================================== 2. Let's try to rename "aa_0" to "x": ================== Proposed Change ================== #define Id_0 void main_0(float x){ // Proposed change #ifdef Id_0 x = 2; #else x = 0; #endif #ifdef Id_0 x = 100; #endif } ==================================================== See attached the warning message. Thanks in advance