#Indirect variadic macro not working in msvc

7 messages · Page 1 of 1 (latest)

bright token
#

I have a variadic macro that calls another macro that does something with the first 2 arguments.
In gcc it seems fine, in msvc it seems to complain that there are not enough arguments while as far as I understand there should be enough.
Is there a way to make this work in msvc?
Here is my reduced reproducable snippet:
https://godbolt.org/z/Mnc3vhhEG

warm palmBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

crude kettle
#

Enable /Zc:preprocessor

#

The legacy preprocessor is a piece of 💩

bright token
#

Damn, and what does that do exactly? :p

bright token
#

!solved