Skip to content

Does this actually work on MSVC? #4

@cbeck88

Description

@cbeck88

Hi, I started adding appveyor testing to my lib that was using this, and I found that msvc wouldn't work with it. I thought that I had gotten it to work when I pasted into the online compiler... but now I'm not sure of that.

I googled around and found an SO question about __VA_ARGS__ on MSVC apparently being buggy:

http://stackoverflow.com/questions/5134523/msvc-doesnt-expand-va-args-correctly
http://stackoverflow.com/questions/32399191/va-args-expansion-using-msvc
http://stackoverflow.com/questions/21869917/visual-studio-va-args-issue

Do you know if map macro takes this into account?

Would you potentially be interested in a patch that implements one of these workarounds if not?

I'm not really a windows person... and I'm kind of hoping that MSVC will be abandoned en masse when clang is supported in visual studio. But this shouldn't actually be that hard to fix I think...

(It may very well actually be a bug in my code unrelated to map macro, I'm not totally sure.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions