In our previous episode, lloyd thomas said:
> I have managed to get the zniffer wrapper to compile, but I am worried that
> using {$MODE delphi} may not be the best way to produce optimized code.

No problem. fpc modes are mostly about syntax, not optimization. If the code
is delphi in origin it is definitely the best solution.

> Also I have seen other libpcap where they use ansichar instead of char. Is
> there a reason for this?

Yes, D2009 and later where char<>ansichar but char=widechar.

IOW sb updated that piece for D2009+

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

Reply via email to