[Lazarus] fpchmod illegal character "&"

David Touzeau david at touzeau.eu
Wed Oct 14 19:25:02 CEST 2009


OK many thanks

In order to waiting the latest linux Lazarus release with this fix.
Is there a workaround ?
How can i set the parameters without "&" character


-------- Message initial --------
De: Mattias Gärtner <nc-gaertnma at netcologne.de>
Reply-to: Lazarus mailing list <lazarus at lists.lazarus.freepascal.org>
À: lazarus at lists.lazarus.freepascal.org
Sujet: Re: [Lazarus] fpchmod illegal character "&"
Date: Wed, 14 Oct 2009 14:31:23 +0200


Zitat von Vincent Snijders <vsnijders at vodafonevast.nl>:

> David Touzeau schreef:
>> Hum
>>
>> so i can convert 775 or 666 chmod number privilege  to an octal
>
> It is already an octal number.
>
>> parameter in order to avoid this illegal character error
>> I'm dev in Unix (linux)
>
> I don't know why your compiler gives this error:
> writeln(IntToStr(&755));
> gives no error with my compiler (fpc 2.2.4 on windows). I don't  
> think the OS is relevant except that I cannot test compilation of a  
> fpchmod call.

It compiles, but the codetools didn't like them.
Fixed in svn rev 22171.

Mattias




--
_______________________________________________
Lazarus mailing list
Lazarus at lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20091014/9ffa9412/attachment-0004.html>


More information about the Lazarus mailing list