[yocto] O_RDONLY ... missed bits/fcntl.h not as expected

Burton, Ross ross.burton at intel.com
Mon Mar 12 04:46:30 PDT 2018


On 12 March 2018 at 11:34, Arno Steffens <star at gmx.li> wrote:

> You are right,  the bits/fcntl-32.h at the very end has a
> #include <bits/fcntl-linux.h>
> But, all lines in <bits/fcntl.h> are greyed (not active), except these I
> noted as bold (below). So it not become active.
> I would assume __arm__ should be set by someone.
>
> It seems it is not a problem for the compiler, but for the Eclipse viewer
> to show the code.
> That is the problem here.  I try to set ARCH=arm at various places in
> eclipse. but id doesn't have an effect.
> Mhh.
>

gcc will be setting that.  If Eclipse is doing something wrong, then blame
eclipse.

gcc -dM -E - < /dev/null will list the preprocessor symbols that are
internally defined.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180312/83ad77fc/attachment.html>


More information about the yocto mailing list