We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi All. Imagine a function that looks like this:
DEFINED_SYMBOL1 type FnName(args) DEFINED_SYMBOL2 { ...; }
type FnName(args) { ...; }
#pragma NOAREGS type FnName(args) reentrant { ...; }
#define DEFINED_SYMBOL2
>#define DEFINED_SYMBOL2 reentrant
#define DEFINED_SYMBOL1 #pragma NOAREGS
"we try to avoid having any compiler-specific code in our *.c source files. " Excellent! "For the pragmas, we conditionally include a file..." That sounds clever - I'll bear it in mind if I need to do such a thing.