3 ms·
Yes, --lang= or --std= would do the job. Even crosslinking should be easy since object code is the same.
by throwaway487548 8y ago
Yes, --lang= or --std= would do the job. Even crosslinking should be easy since object code is the same.
- bmn__ 8y agoThis is how e.g. C/C++ does it, this design is a mistake. The version information should be attached to the source code, not the compiler invocation. It is pointless to compile source code of a certain version (e.g. C++17) with the wrong options switch.