Closed adah1972 closed 8 months ago
The warning still appeared when I issued the command line as follows:
cppfront -p demo.cpp2
cl /nologo /std:c++20 /EHsc /Iinclude /MD /experimental:module demo.cpp
The warning is now gone after the change.
Thanks for your pull request! It looks like this may be your first contribution to cppfront. I've sent the Contributor License Agreement (CLA) to your email, and once it's signed I can look at your pull request. Thanks again for your contribution.
Thanks!
The pragma should be put before the import, not after.