Icon View Incident Report

Serious Serious
Reported By: Michael Dreher
Reported On: 11/4/2015
For: Version 2.02 Build 4
# 4291 Defined Compiler Symbols Not Being Properly Cleared During Each Compilation Cycle

After compiling and executing (in the IDE) an application with a defined symbol, the symbol remains effective when it's commented out or removed from the code.

With following example:

(1) is logged in the message window as expected. Now delete line (0), recompile and execute. (1) still is logged. The symbol remains effective until the a restart of the IDE.

{$DEFINE DEFINE_SOMETHING} // (0)

procedure foobar;
begin         
 {$IFDEF DEFINE_SOMETHING}
 LogOutput('within the define section...'); // (1)
 {$ENDIF}
end;

initialization  
 foobar;
end.



Resolution Resolution
Fixed Problem on 11/4/2015 in version 2.03 build 1


Products Affected Products Affected
Elevate Web Builder
Elevate Web Builder Trial

Image