• Tom Stellard's avatar
    ocl: Don't use 'inline' attribute on functions · 934394c5
    Tom Stellard authored
    In C99 'inline' is not a hint to the compiler to inline the function,
    it is an attribute that affects the linkage of the function.  'inline'
    functions are required to have a definition in a different compiliation
    unit, so compilers are free to delete 'inline' functions if they want to.
    
    This issue can be seen in Clang when compiling at -O0.  Clang
    will sometimes delete 'inline' functions which creates an invalid
    program.
    
    Issue 3746: http://code.opencv.org/issues/3746
    934394c5
Name
Last commit
Last update
3rdparty Loading commit data...
apps Loading commit data...
cmake Loading commit data...
data Loading commit data...
doc Loading commit data...
include Loading commit data...
modules Loading commit data...
platforms Loading commit data...
samples Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.tgitconfig Loading commit data...
CMakeLists.txt Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
index.rst Loading commit data...