Opitions are like that (defaults) - does not include -gh (no heap trace)
-MObjFPC -Scghi -O1 -g -gl -l -vewnhibq
-FiC:\codetyphon\typhonTemp\lib\i386-win32
-FUC:\codetyphon\typhonTemp\lib\i386-win32\ -FEC:\codetyphon\typhonTemp\
Note - this is first time that Typhon behave this was. Even, beta
program project1;
{$mode delphi}
uses
cmem,
Classes, SysUtils;
var
VBuffer: TBytes;
VStream: TStream;
begin
VStream := TBytesStream.Create;
try
VBuffer := TEncoding.UTF8.GetBytes('abc');
VStream.WriteBuffer(VBuffer[0], Length(VBuffer));
finally
VStream.Free;
end;
wri
I use CodeTyphon for programming. New version have similar error.
CodeTyphon-570 use FreePascal 3.1.1 Source 02-03-2016 SVN Rev 33143 with
some modification by CT people.
For CT-570 I use solution like this.
Basically remove cmem when in debug mode. For production (without debug) use
cmem.
progra