Mailing lists / fpc-devel / 2021-03
SocketCAN implementation
4 messages · 2 people · –
- MMichael Van Canneyt 2
- ZZeljko Avramovic 2
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Zeljko Avramovic wrote 15 lines
I had a look.
Since this is currently linux-only, and there are several units, I would opt to make this a separate package.
The directory structure to use should be clear, I suppose:
can
can/src
can/examples
Is there any reason you used mode Delphi ? If possible, I would prefer it if you used mode objfpc. It's a little more strict than Delphi mode.
If you can make a fpmake.pp file, that would be appreciated, but if you don't feel up to that I can do it when you submit the sources, that's not a problem.
Michael.
I had a look.
Thanks, I really appreciate it.
Show quoted text 8 lines
Understood.
Is there any reason you used mode Delphi ? If possible, I would prefer it if you used mode objfpc. It's a little more strict than Delphi mode.
A while ago have tried to force myself to use objfpc mode, and even published one package with it (https://bitbucket.org/avra/pasettimino/src/master/), but it simply did not stick and I am back to delphi mode. While I shall leave examples in delphi mode, I might try to get rid of delphi mode in translated headers.
If you can make a fpmake.pp file, that would be appreciated, but if you don't feel up to that I can do it when you submit the sources, that's not a problem.
I'll try.
Btw, should I prohibit non-linuxes in source code by using $FATAL, or some other way is preferred?
Zeljko Avramovic wrote 25 lines
That would be appreciated.
Show quoted text 8 lines
Not needed. fpmake will take care of this.
Michael.
