[Lazarus] Codetools question

Ondrej Pokorny lazarus at kluug.net
Sat Oct 10 13:12:15 CEST 2015


On 10.10.2015 13:00, Michael Van Canneyt wrote:
> This is definitely not so :-(
> I compile lazarus with 2.6.4, but work with compiler set to 3.0 or 
> even jvm.
>
> That is how I bumped into the problem to begin with... :-)

CodeTools know what compiler constants are defined in the target tool. 
You have to check if FPC_HAS_CPSTRING is defined. This should be 
possible but I don't know how to do it. You'll have to wait for Mattias' 
answer.

Ondrej




More information about the Lazarus mailing list