Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #18963

Re: Clang vs. GCC: Compare & Contrast?

From Kaz Kylheku <kaz@kylheku.com>
Newsgroups comp.lang.c
Subject Re: Clang vs. GCC: Compare & Contrast?
Date 2012-03-23 18:51 +0000
Organization Aioe.org NNTP Server
Message-ID <20120323113102.507@kylheku.com> (permalink)
References <20372250.150.1332525190660.JavaMail.geo-discussion-forums@pbcuk5>

Show all headers | View raw


On 2012-03-23, haziz <hsaziz@gmail.com> wrote:
> Any advantages or disadvantages to using clang, as opposed to GCC, for
> developing in C  on Linux? In my case this would be used for student level
> programs, not production, though you are free to discuss that as well.

The most educational thing is to compile your homework programs with as many
compilers as you can get your hands on without spending an unreasonable time.

Run your student programs through clang as well as gcc and study their
diagnostics. It's like going to two doctors to get a second opinion.

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Clang vs. GCC: Compare & Contrast? haziz <hsaziz@gmail.com> - 2012-03-23 10:53 -0700
  Re: Clang vs. GCC: Compare & Contrast? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2012-03-23 18:32 +0000
  Re: Clang vs. GCC: Compare & Contrast? Kaz Kylheku <kaz@kylheku.com> - 2012-03-23 18:51 +0000
  Re: Clang vs. GCC: Compare & Contrast? Jens Gustedt <jens.gustedt@loria.fr> - 2012-03-24 00:27 +0100

csiph-web