Re: [fpc-pascal] os dependency with ifdef

2006-03-18 Thread Marc Santhoff
Am Freitag, den 17.03.2006, 15:26 -0300 schrieb Felipe Monteiro de Carvalho: > Hello, > > On 3/16/06, Marc Santhoff <[EMAIL PROTECTED]> wrote: > > Since I'm still fiddling with reading the serial port I have the idea > > that linux and even MacOS may be very similar to my main os FreeBSD. > > > >

Re: [fpc-pascal] os dependency with ifdef

2006-03-18 Thread Jonas Maebe
On 17 Mar 2006, at 19:26, Felipe Monteiro de Carvalho wrote: You can mostly assume that if it works for Linux, then it will work for FreeBSD and all other BSDs and even Solaris (and vice-versa). This isn“t true for Mac OS X. Althought it is based on FreeBSD, it is very, very different from sta

[fpc-pascal] Problem with h2pas

2006-03-18 Thread Felipe Monteiro de Carvalho
Hello, I am trying to use h2pas to convert the rest of ImageMagick headers. On a file that contains only 3 lines of code: extern MagickExport MagickBooleanType AnimateImageCommand(ImageInfo *,int,char **,char **,ExceptionInfo *), AnimateImages(const ImageInfo *,Image *); h2pas gives me a gen

Re: [fpc-pascal] Problem with h2pas

2006-03-18 Thread Michael Van Canneyt
On Sat, 18 Mar 2006, Felipe Monteiro de Carvalho wrote: > Hello, > > I am trying to use h2pas to convert the rest of ImageMagick headers. > On a file that contains only 3 lines of code: > > extern MagickExport MagickBooleanType > AnimateImageCommand(ImageInfo *,int,char **,char **,ExceptionI

Re: [fpc-pascal] Problem with h2pas

2006-03-18 Thread Felipe Monteiro de Carvalho
On 3/18/06, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > The problem is the 'MagickExport'. Remove that and it'll work fine. > This is a macro, and h2pas does not support macros. Ok, I removed it and h2pas doesn't complain now. One more problem occured, however. On this declaration: extern M