diff options
author | Chris Lattner <sabre@nondot.org> | 2009-11-09 03:21:02 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-11-09 03:21:02 +0000 |
commit | 63d423dab6b5fcc107286f8d38f0e64c220da3a6 (patch) | |
tree | fe8606ca1438896204a74767010660a0420cc79b /www/get_started.html | |
parent | d2c1c608358465120e62b46b8aab6ff80e4168b7 (diff) | |
download | clang-63d423dab6b5fcc107286f8d38f0e64c220da3a6.tar.gz |
mention that clang defaults to C99 mode, PR5388
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86507 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'www/get_started.html')
-rw-r--r-- | www/get_started.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/www/get_started.html b/www/get_started.html index f504f8c9ac..2a6044d51e 100644 --- a/www/get_started.html +++ b/www/get_started.html @@ -193,6 +193,12 @@ $ <b>./a.out</b> hello world </pre> +<p>The 'clang' driver is designed to work as closely to GCC as possible to + maximize portability. The only major difference between the two is that + Clang defaults to gnu99 mode while GCC defaults to gnu89 mode. If you see + weird link-time errors relating to inline functions, try passing -std=gnu99 + to clang.</p> + <h2>Examples of using Clang</h2> <p>The high-level driver <tt>clang</tt> is designed to understand most of GCC's |