3 ms·
Yes, at least make sure that your code compiles and the tests pass on more than one. That way you're sure that you're not depending on peculiars of one compile
by lallysingh 11y ago
Yes, at least make sure that your code compiles and the tests pass on more than one. That way you're sure that you're not depending on peculiars of one compiler (their specific behaviors that are undefined in the standard, optimizer actions, etc).
- bschwindHN 11y agoAnd a nice way to run multiple compilers easily is by using a tool like Travis CI with their compiler matrix support. https://docs.travis-ci.com/user/languages/c https://docs.travis-ci.com/user/languages/c