Skip to content

Commit

Permalink
Fixed error "F2084 Internal Error: C20339" related to Delphi 10.2.1. (F…
Browse files Browse the repository at this point in the history
  • Loading branch information
silvioprog committed Feb 1, 2021
1 parent 52d7753 commit a27de09
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Package/BrookTardigrade.dproj
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@
<PropertyGroup Condition="'$(Cfg_1_Win32)'!=''">
<DCC_RemoteDebug>false</DCC_RemoteDebug>
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
<VerInfo_Keys>CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=5.4.4.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=5.4.3.0;Comments=</VerInfo_Keys>
<VerInfo_Keys>CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=5.4.5.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=5.4.3.0;Comments=</VerInfo_Keys>
<VerInfo_MinorVer>4</VerInfo_MinorVer>
<VerInfo_Release>4</VerInfo_Release>
<VerInfo_Release>5</VerInfo_Release>
</PropertyGroup>
<PropertyGroup Condition="'$(Cfg_2)'!=''">
<DCC_LocalDebugSymbols>false</DCC_LocalDebugSymbols>
Expand Down
2 changes: 1 addition & 1 deletion Package/BrookTardigrade.lpk
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with Brook framework; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA"/>
<Version Major="5" Minor="4" Release="4"/>
<Version Major="5" Minor="4" Release="5"/>
<Files Count="23">
<Item1>
<Filename Value="../Source/BrookDefines.inc"/>
Expand Down
2 changes: 1 addition & 1 deletion Source/BrookMathExpression.pas
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ function TBrookMathExpression.Compile(const AExpression: string;
EX.cls := Self;
FExtensionsHandle[I] := EX;
end;
FExtensionsHandle[FExtensions.Count] := Default(sg_expr_extension);
FillChar(FExtensionsHandle[FExtensions.Count], SizeOf(sg_expr_extension), #0);
R := sg_expr_compile(FHandle, M.ToCString(AExpression), M.Length(AExpression),
@FExtensionsHandle[0]);
FCompiled := R = 0;
Expand Down

0 comments on commit a27de09

Please sign in to comment.