Closed vincent-d closed 6 years ago
Indeed, our posix headers do not define the PF_
macros.
I will verify if defining them would be safe with a handwritten value or if https://github.com/RIOT-OS/RIOT/pull/8652 should be reverted.
I missed one thing with posix in the given PR, what is defined in the standard is only symbols not the values.
So even right now, if we look at the values of AF_INET6
, they are not compatible:
So using our posix headers in interaction with Linux is problematic. So I will revert the PR.
With the reverted, the compilation works:
USEMODULE=vfs make -C tests/conn_can BOARD=native
Description
Cannot build
candev_linux
whenvfs
is used. Bisecting returned 93a521c50132e24558e42bc57dcf9c94051f07e3 as the culprit (introduced in #8652)Steps to reproduce the issue
Expected results
Build OK
Actual results
Versions