Discussion:
[fpc-devel] SocketCAN implementation
Zeljko Avramovic via fpc-devel
2021-03-17 12:59:02 UTC
Permalink
I had a look.
Thanks, I really appreciate it.
Since this is currently linux-only, and there are several units, I would opt to make this a separate
package.
can
can/src
can/examples
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?
_______________________________________________
fpc-devel maillist - fpc-***@lists.freepascal.org
https://lis
Michael Van Canneyt via fpc-devel
2021-03-17 14:52:26 UTC
Permalink
Post by Zeljko Avramovic via fpc-devel
I had a look.
Thanks, I really appreciate it.
Since this is currently linux-only, and there are several units, I would opt to make this a separate
package.
can
can/src
can/examples
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.
That would be appreciated.
Post by Zeljko Avramovic via fpc-devel
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?
Not needed. fpmake will take care of this.

Michael.
_______________________________________________
fpc-devel maillist - fpc-***@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-

Loading...