Re: [fpc-pascal] nested macros in C headers

2011-04-23 Thread Marco van de Voort
In our previous episode, Bernd said: > > How should I now proceed? Should I try to make this entire thing > (including its macro pocessor) compile with a current FPC? I don't > really like this idea because v4l1 is deprecated anyways. And the > separate macro processor and the makefile also someho

[fpc-pascal] nested macros in C headers

2011-04-23 Thread Bernd
Hi, I found this: http://pastebin.com/T4jkeE6F in a zip file called vfp.tar.bz4 somewhere on the web, it seems not maintained since ages but obviously it must have compiled at some time in the past. I am tying to see whether I can hack a quick and dirty program that is able to open an v4l device

Re: [fpc-pascal] run pascal programs as scripts

2011-04-23 Thread Mattias Gaertner
On Sat, 23 Apr 2011 20:27:37 +0200 "Ludo Brands" wrote: > Nice tool. > > 2 requests: > - I would like to select the compiler. I'm typically working with the svn > version of compiler but have in my PATH a stable version of the compiler. > >From the sources I can see that the compiler is searche

RE : [fpc-pascal] run pascal programs as scripts

2011-04-23 Thread Ludo Brands
Nice tool. 2 requests: - I would like to select the compiler. I'm typically working with the svn version of compiler but have in my PATH a stable version of the compiler. >From the sources I can see that the compiler is searched for only in the PATH. A simple solution would be to look first for t

Re: [fpc-pascal] FPImage and GetDataLineStart

2011-04-23 Thread Michael Van Canneyt
On Sat, 23 Apr 2011, Marco van de Voort wrote: In our previous episode, michael.vancann...@wisa.be said: IMHO it is the long term solution. Anything else would be madness, or minor damage control at best. Most of the more "recent" or "new" languages I know do not have generics, What do yo

Re: [fpc-pascal] run pascal programs as scripts

2011-04-23 Thread Mattias Gaertner
On Sun, 27 Mar 2011 19:05:12 +0200 (CEST) Michael Van Canneyt wrote: > > > On Sun, 27 Mar 2011, Mattias Gaertner wrote: > > > I wrote a little tool: > > > > http://wiki.lazarus.freepascal.org/InstantFPC > > Nice job. OK to include in FPC as one of the utils ? Are there any outstanding issues