summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/compiler_argument_syntax.md
Commit message (Collapse)AuthorAgeFilesLines
* Update everything for release 0.49.00.49.0Jussi Pakkanen2018-12-091-22/+0
|
* Add new compiler.get_argument_syntax methodDylan Baker2018-11-031-0/+22
Some compilers try very had to pretend they're another compiler (ICC pretends to be GCC and Linux and MacOS, and MSVC on windows), Clang behaves much like GCC, but now also has clang-cl, which behaves like MSVC. This method provides an easy way to determine whether testing for MSVC like arguments `/w1234` or gcc like arguments `-Wfoo` are likely to succeed, without having to check for dozens of compilers and the host operating system, (as you would otherwise have to do with ICC).