Re: [fpc-pascal] Free Pascal 2.6.4-rc1 - IDE crashes

2014-01-04 Thread Ched
Dear Pierre, I investigated the fp-ide crashes. There are due to remaining fp.cfg and/or fp.dsk and/or fp.ini in the working directory. In effect, removing all these three files makes all go all right. Cheers, Raoul Le 31.12.2013 14:25, Pierre Free Pascal a écrit : Hi Raoul, Thank

Re: [fpc-pascal] Boolean types

2014-01-04 Thread Mark Morgan Lloyd
leledumbo wrote: Can methods be inlined, and could the compiler successfully optimise-out a method which was a simple assignment? Why don't you just try and see the generated assembly? I will presently, but I'm also interested in any warnings that something is of dubious stability or that a

Re: [fpc-pascal] Boolean types

2014-01-04 Thread Mark Morgan Lloyd
Sorry about my lousy threading, our gateway rejects the occasional message (Florian, I'm sure this is nothing to do with your announced server change). > You need to cast nevertheless. It's just that they can be used in > place of e.g. BOOL parameters for WinAPI functions whereby the > argu

Re: [fpc-pascal] Boolean types

2014-01-04 Thread Sven Barth
Am 04.01.2014 00:17 schrieb "Mark Morgan Lloyd" < markmll.fpc-pas...@telemetry.co.uk>: >>> >>> b5500centralcontrol.pas(119,18) Error: Incompatible types: got >>> "ShortInt" expected "ByteBool" > > >> > >> b5500centralcontrol.pas(119,18) Error: Incompatible types: got > >> "ShortInt" expected "ByteB

Re: [fpc-pascal] Boolean types

2014-01-04 Thread leledumbo
> Can methods be inlined, and could the compiler successfully optimise-out a method which was a simple assignment? Why don't you just try and see the generated assembly? -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Boolean-types-tp5717798p5717813.html Sent