support compile with C++ compiler (MinGW G++)#1778
Conversation
|
Welcome to github! I appreciate the effort, but I think there are some barriers on how to contribute code that are getting in the way. First, why so many unrelated changes like removing gotos? Generally, the better way to do this sort of thing is to make a minimal change (the only thing that seems needed would be the build script and the renaming of template -> _template), as well as a test build so it doesn't regress. Second, it's confusing if you keep pushing changes to the same pull request with lots of unrelated changes. Either mark this as a draft, do development in your own local copy only or your own fork, and only make a PR when you are confident enough to get feedback and have the change merged as is. Last, I don't think being able to compile with C++ is that much of a goal, although I appreciate it might be good for some workflows. Usually you can link C and C++ code together with a common linker. |
|
Also, please configure your git client to have a commit author name as something other than "Your Name". Perhaps I am wrong, but you seem new to this and I'm not too confident on merging unsolicited changes from a brand new account. |
Hi.
I would be able to compile with G++ on win 11
please keep the PR (if you do not plan to merge it) for future people who face this issue too.
-- thanks in advance
summary of work:
gotosenum-> explicitenumtemplate->template_since in C++templateis a keyword