Re: [fpc-pascal] RE: Comedi Lib Header translation, was: h2pas enum error

2010-05-30 Thread Schindler Karl-Michael
Am 20.05.2010 um 11:21 schrieb Hartmut Eilers: >> If it is you can resolve it using the C preprocessor using a command >> line similar to this one: > >> cpp --no-stdinc comedi.h > comedi.cpped.h > >> Afterwards try h2pas again. > > I tried the above mentioned fix with the following result: > >

Re: [fpc-pascal] RE: Comedi Lib Header translation, was: h2pas enum error

2010-05-20 Thread Henry Vermaak
On 20 May 2010 10:21, Hartmut Eilers wrote: > hart...@canis:~/src/OpenMSR/PhysMach/comedi $ cpp --no-stdinc comedi.h >> comedi.cpped.h > cc1: error: unrecognized command line option "-fno-stdinc" > > This commandline option is not recognized by the compiler, hmmm. Try cpp -nostdinc. After this,

[fpc-pascal] RE: Comedi Lib Header translation, was: h2pas enum error

2010-05-20 Thread Hartmut Eilers
Sorry for coming back on this so late, but I was busy with other projects: >>While trying to translate comedi.h with: >>h2pas -e -D -p -w -u comedi -l comedi -o comedi.pas comedi.h >>I get the messages: >>at line 495 error : syntax error >>at line 498 error : syntax error >>Internal error 1 in