woboq / verdigris

Qt without moc: set of macros to use Qt without needing moc
https://woboq.com/blog/verdigris-qt-without-moc.html
GNU Lesser General Public License v3.0
638 stars 58 forks source link

Add support for MSVC in /Zc:preprocessor conformant mode #86

Closed jcelerier closed 3 years ago

jcelerier commented 3 years ago

Title says it all, it seems to work fine in my version (cl.exe 19.28) - technically it should work back to cl.exe 16.5 but I think it'd be better for people who want to use on older msvc version to test it themselves in order to not break builds.

the MSVC flag is described here: https://docs.microsoft.com/en-us/cpp/preprocessor/preprocessor-experimental-overview?view=msvc-160

ogoffart commented 3 years ago

Thank you!