Closed mmdriley closed 5 years ago
For example, we sometimes need noline or always_inline and those are different across compilers. We should have a macro like SAFESIDE_NOINLINE that hides that complexity and shares a definition across different programs.
noline
always_inline
SAFESIDE_NOINLINE
Inspiration from https://github.com/abseil/abseil-cpp/blob/master/absl/base/attributes.h and https://cs.chromium.org/chromium/src/v8/include/v8config.h
What name of the header file do you want? directives.h?
Up to you. Something descriptive like compiler_support.h or compiler_specifics.h could be okay.
compiler_support.h
compiler_specifics.h
For example, we sometimes need
noline
oralways_inline
and those are different across compilers. We should have a macro likeSAFESIDE_NOINLINE
that hides that complexity and shares a definition across different programs.Inspiration from https://github.com/abseil/abseil-cpp/blob/master/absl/base/attributes.h and https://cs.chromium.org/chromium/src/v8/include/v8config.h