• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: gcc 4.2 generates error that was OK before
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcc 4.2 generates error that was OK before


  • Subject: Re: gcc 4.2 generates error that was OK before
  • From: Mark Wagner <email@hidden>
  • Date: Wed, 23 Sep 2009 18:36:01 -0700

On Tue, Sep 22, 2009 at 22:56, Rippit the Ogg Frog <email@hidden> wrote:
> Alastair Houghton wrote:
>>
>> I ask because the C++ language syntax has all kinds of problems thanks to
>> the thoughtless way its grammar was extended (no, I do not worship
>> Stroustrup, unlike---apparently---half the developer community).
>
> C++ is my favorite language for what I feel are good reasons, but it took me
> a long, long time to master it.
>
> It's a fiendishly complex language, and so it's very hard to implement it
> correctly in a compiler.

Part of my definition of a "correct compiler" is that it accepts all
syntactically-correct programs, and rejects all
syntactically-incorrect programs.  The last time I checked, it was not
possible to create a correct C++ compiler because the language permits
undecidable statements.

(There are other reasons why it's not possible to create a correct C++
compiler.  For example, the Turing-completeness of the template
metaprogramming language means that there are correct C++ programs
where compilation will never terminate.)

--
Mark Wagner
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >gcc 4.2 generates error that was OK before (From: Steve Mills <email@hidden>)
 >Re: gcc 4.2 generates error that was OK before (From: Alastair Houghton <email@hidden>)
 >Re: gcc 4.2 generates error that was OK before (From: Rippit the Ogg Frog <email@hidden>)

  • Prev by Date: "No such file or directory"
  • Next by Date: Recommended way to switch compiler version
  • Previous by thread: Re: gcc 4.2 generates error that was OK before
  • Next by thread: lex: how to override Xcode's output file choice?
  • Index(es):
    • Date
    • Thread