summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-02-04 16:36:26 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-02-05 18:29:10 +0000
commit6ab11ac25bb987642d5ca1a07f4bd5f30c66c9c5 (patch)
treee3858c942e785321c5af70ee415447747ccdb72d /meta/recipes-kernel
parenta10020ace4c3cd863c782760f7cbecea557ec6e7 (diff)
downloadopenembedded-core-contrib-6ab11ac25bb987642d5ca1a07f4bd5f30c66c9c5.tar.gz
multilib_header_wrapper.h: Use #pragma once
Avoid infinite include loops, especially with bits/wordsize.h which is now possible with the synthesized headers since we now also synthesize bits/wordsize.h itelf for some arches e.g. arm/aarch64 In cases where extra preprocessing tools are used such as clang-tidy e.g. and these tools are not passed the knowledge about architecture then case comes where we enter into header include loop for bits/wordsize.h, since this template does explicitly include bits/wordsize.h To fix this emits the pragma once at beginning of file, this is better solution than include guards, and pragma once is practically supported on all compilers except few e.g. cray c/c++ compiler Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
0 files changed, 0 insertions, 0 deletions