PerlFFI / FFI-Platypus-Lang-CPP

Documentation and tools for using Platypus with the C++ programming language
Other
4 stars 1 forks source link

Emit code for inlined functions #1

Closed plicease closed 9 years ago

plicease commented 9 years ago

On gcc this appears to be accomplished with the -fkeep-inline-functions flag.

This doesn't work with clang and probably not with MSVC++ either.

plicease commented 9 years ago

Looks like for clang there is a -fvisibility-inlines-hidden which is equivalent to -fno-keep-inline-functions, but not equivalent to -fkeep-inline-functions.

sigh

plicease commented 9 years ago

Updated documentation to recommend not using inlined functions whenever possible.