5 ms·
>"Context: https://github.com/seanbaxter/circle/blob/master/new-circle/README.md https://github.com/seanbaxter/circle/blob/master/new-circle/..." "simpler by
by FpUser 3y ago
>"Context: https://github.com/seanbaxter/circle/blob/master/new-circle/README.md https://github.com/seanbaxter/circle/blob/master/new-circle/..."
"simpler by disabling features ..."
"By construction, the resulting edition is fully compatible with existing C++ code."
I do not understand how "disabling features" can be "compatible with existing C++ code".
- gavinray 3y agoYou use pragmas to disable/enable features on a file-by-file basis. Since existing code contains no Circle pragmas, it's compiled by the Circle compiler as "standard" C++. I urge you to try it -- there's binaries and Docker containers available. Takes two seconds.
- rewmie 3y ago> You use pragmas to disable/enable features on a file-by-file basis. No, I don't. Some compilers support that, though, namely MSVC, but those practices are a huge code smell that are heavily discouraged for decades.
- LoganDark 3y ago> No, I don't. Wrong "you". They were describing how Circle implements C++ compatibility, not how you personally use non-Circle compilers.