On Sat, 10 Oct 2015 13:12:15 +0200
Ondrej Pokorny <[email protected]> wrote:

> 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.

if Scanner.Values.IsDefined('FPC_HAS_CPSTRING') then ...

Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to