On 20 May 2010 10:21, Hartmut Eilers <hart...@eilers.net> 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, comment out all of the functions in
the file (just search for "return").  h2pas will then parse the file
successfully, after which you can rewrite the functions you've
commented out (they are simple).

Henry
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to