[fpc-pascal] FPC Qt4 for Mac

2006-05-12 Thread Den Jean
Hi, The small Qt4 binding for FPC now also works on Mac Os X. http://www.freepascal.org/wiki/index.php/Qt4_binding Everyone with a Mac, feel free to try and comment. The PowerPC binary was provided by Hess, Philip J Anyone with a Mac Intel, feel free to send me a compiled binary for Mac Intel

Re: [fpc-pascal] Typecasting by accident

2006-05-12 Thread Flávio Etrusco
Weird, I wouldn't expect OBJFPC mode to allow automatic conversion from AnsiString to Pointer... -Flávio On 5/12/06, Vinzent Hoefler <[EMAIL PROTECTED]> wrote: Just found a bug of mine I was wondering about since about three days, and wanted to share the fun with you: -- 8< -- // "How to rais

Re: [fpc-pascal] Typecasting by accident

2006-05-12 Thread memsom
> raise Not_Now (Exception_Message); I feel your pain! far too much like : throw Not_Now(Exception_Message); My brain does this all the time moving between C# and Delphi. The one I always seem to do, is "except" instead of "catch" in "try" blocks. At least the compiler/syntax checker get

[fpc-pascal] Typecasting by accident

2006-05-12 Thread Vinzent Hoefler
Just found a bug of mine I was wondering about since about three days, and wanted to share the fun with you: -- 8< -- // "How to raise the wrong exception" or // "Why automatic type conversion really sucks" {$MODE OBJFPC} program Exception_Fun; uses SysUtils; function Exception_Messa