Am Mittwoch, den 05.05.2010, 11:29 +0200 schrieb Hartmut Eilers: > comedi.h: > > 494 > 495 static inline unsigned NI_USUAL_PFI_SELECT(unsigned pfi_channel) > 496 { > 497 if(pfi_channel < 10) > 498 return 0x1 + pfi_channel; > 499 else > 500 return 0xb + pfi_channel; > 501 } > > > is the inline the problem ?
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. Good luck, Marc -- Marc Santhoff <m.santh...@web.de> _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal