Disable -Winline as we can't ensure all functions are inlined
It doesn't really make sense to enable this for C++ code, with a lot of implicitly inline functions.
This commit is contained in:
@@ -379,6 +379,10 @@
|
|||||||
GCC_TURN_OFF(abi-tag)
|
GCC_TURN_OFF(abi-tag)
|
||||||
#endif // 4.8
|
#endif // 4.8
|
||||||
|
|
||||||
|
// This can be used to ask the compiler to explain why some function is not
|
||||||
|
// inlined, but it's perfectly normal for some functions not to be inlined.
|
||||||
|
GCC_TURN_OFF(inline)
|
||||||
|
|
||||||
// All those are about using perfectly normal C++ features that are
|
// All those are about using perfectly normal C++ features that are
|
||||||
// actually used in our code.
|
// actually used in our code.
|
||||||
GCC_TURN_OFF(aggregate-return)
|
GCC_TURN_OFF(aggregate-return)
|
||||||
|
Reference in New Issue
Block a user