Hello,
I am wondering if macro definitions can contain space. Let's take for example this code:
#define MACRO_PARAM int param2
int function(int param1, MACRO_PARAM)
{
return param1+param2;
}
This works ok with Visual Studio 8 and gcc 3.4.5 (mingw). For me this is good enough for the moment but is this standard? or can I rely on this behavior across different compilers?
Thanks,
Iulian
PS: To answer to the question why would you wanna do that?
: I'm using bison flex for a project and I'm trying to make something reentrant (I need to declare some macros for function parameters).