[Openmp-commits] [PATCH] D12403: Fix GCC warning 'always_inline function might not be inlinable'
Andrey Churbanov via Openmp-commits
openmp-commits at lists.llvm.org
Mon Aug 31 05:25:06 PDT 2015
AndreyChurbanov added a comment.
Jonas,
> although I don't really understand why there shouldn't be inlining with __STRICT_ANSI__ being defined...
The GCC documentation for -ansi option says that "For the C compiler, it disables recognition of C++ style ‘//’ comments as well as the `inline `keyword."
So the way it is written now there may be problems with C compilation with -ansi option. The ittnotify team told me they had complaints from at least two customers about the `inline` keyword while -ansi used, so it is better to avoid using it.
Thanks,
Andrey
Repository:
rL LLVM
http://reviews.llvm.org/D12403
More information about the Openmp-commits
mailing list