delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2011/11/27/00:15:08

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: jimm <jmichae3 AT yahoo DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: change in djgpp c++ compiler
Date: Sat, 26 Nov 2011 21:07:29 -0800 (PST)
Organization: http://groups.google.com
Lines: 13
Message-ID: <4e45ab93-5909-4fe4-8d62-191b9725183e@d37g2000prg.googlegroups.com>
References: <daae4388-4e58-4d0d-bbfa-a8dad50fd5ba AT c16g2000pre DOT googlegroups DOT com>
<201111270349 DOT pAR3nTV5031023 AT delorie DOT com>
NNTP-Posting-Host: 24.22.56.37
Mime-Version: 1.0
X-Trace: posting.google.com 1322370450 4681 127.0.0.1 (27 Nov 2011 05:07:30 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Sun, 27 Nov 2011 05:07:30 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: d37g2000prg.googlegroups.com; posting-host=24.22.56.37; posting-account=05hOMwoAAAB6R8xtiQKzEljSMzgOhVF1
User-Agent: G2/1.0
X-Google-Web-Client: true
X-Google-Header-Order: HUALESNKRC
X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20100101 Firefox/8.0,gzip(gfe)
Bytes: 1718
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id pAR5F1p6031152
Reply-To: djgpp AT delorie DOT com

On Nov 26, 7:49 pm, DJ Delorie <d DOT  DOT  DOT  AT delorie DOT com> wrote:
> gcc is for C files (compiling and linking).
>
> g++ is for C++ files (compiling and linking).  Since DOS doesn't allow
> '+' in filenames, we originally used 'p' instead, but gcc itself uses
> 'x' so gxx is for C++ files.
>
> C files are *.c
>
> C++ files are *.C or *.cc or *.cpp, but since DOS is case insensitive,
> you can't use *.C

how do I enable c++11 (c++0x) features?  using -std=gnu++0x?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019