Using this Issue as a bit of a braindump and try to see if we can improve the experience a bit.
- Some compilers accept an explicit language flag
- Some compilers will base the behaviour on the file extension (e.g.
.c vs .cpp)
- Some compilers allow language to be overridden (i.e.
-x c even if extension is .cpp).
- Other?
We have a lot of doubled-up compilers, a C++ and C version for example. Can we clean any of this up?
Using this Issue as a bit of a braindump and try to see if we can improve the experience a bit.
.cvs.cpp)-x ceven if extension is.cpp).We have a lot of doubled-up compilers, a C++ and C version for example. Can we clean any of this up?