I have following macro:
#define DEFINE_EXPORT_MODULE(__module__) /##*Exported by __module__*/
If I use it like this: DEFINE_EXPORT_MODULE(foo)
it expands properly into /*Exported by foo*/
but I still get the E0169 error: "Expected a declaration."
What is wrong?
Edit: Here is how I use it in my code.
#define DEFINE_EXPORT_MODULE(__module__) /##*Exported by __module__*/
DEFINE_EXPORT_MODULE("foo.dll") //this produces the error.
void Function(void);