Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2024-06

Compilation error on an old source

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Arí Ricardo Ody

I am compiling a Lazarus project that does not use a graphical screen, it only compiles the Freepascal source. I'm getting the error below even though the unit has Uses StrUtils.

[image: image.png]
I can't understand what's wrong.
Can someone help me please?

Cheers

Ar? Ricardo
S?o Paulo - Brazil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20240623/e3f435c2/attachment-0001.htm> -------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 28991 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20240623/e3f435c2/attachment-0001.png>

Reply by email

Arí Ricardo Ody
to Jean SUZINEAU

Sorry pal. And everybody else. My mistake.

Soon after posting I understood where the error was. I'm sorry. I was hasty.

Thank you very much Jean Suzineau.

On Sun, Jun 23, 2024 at 9:25?AM Jean SUZINEAU via lazarus <

Show quoted text 16 lines
wrote: It's likely because it was written for an older version of the function IsEmptyStr, the current one takes an array of char as second parameter. So I think IsEmptyStr(auxstr,'0') should become IsEmptyStr(auxstr,['0']) https://www.freepascal.org/docs-html/rtl/strutils/isemptystr.html -- _______________________________________________ lazarus mailing list https://lists.lazarus-ide.org/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20240623/20c4e379/attachment.htm>

Reply by email