[cfe-users] error: inline function '_BitScanForward' is not defined
pendyala syam via cfe-users
cfe-users at lists.llvm.org
Thu Nov 7 12:07:50 PST 2019
While compiling my source cpp file which is including intrin.h, clang is
throwing the following error
error: inline function '_BitScanForward' is not defined [-Werror,-Wundefined
-inline] _BitScanForward (
I checked clang headers for definition but in clang intrin.h header file
its just declared as inline but not defined.
Ideally inline functions has to be defined in header file itself right? But
why is clang not defining function definitions in the header file? Is there
any specific reason for doing so?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-users