www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
To: | <cygwin AT cygwin DOT com> |
References: | <000201c93ac7$38265930$4001a8c0 AT mycomputer> <490A30C8 DOT 5000107 AT sh DOT cvut DOT cz> <001601c93b31$a961b940$4001a8c0 AT mycomputer> <003e01c93b42$e92a17a0$4001a8c0 AT mycomputer> <490AE8A0 DOT 8090009 AT sh DOT cvut DOT cz> <001a01c93b4d$617de150$4001a8c0 AT mycomputer> |
Subject: | RE: cygwin g++ strictness |
Date: | Fri, 31 Oct 2008 11:58:57 -0000 |
Message-ID: | <028a01c93b50$0dda69d0$9601a8c0@CAM.ARTIMI.COM> |
MIME-Version: | 1.0 |
X-Mailer: | Microsoft Office Outlook 11 |
In-Reply-To: | <001a01c93b4d$617de150$4001a8c0@mycomputer> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
John Emmas wrote on 31 October 2008 11:40: > Having said all that, most compilers provide implicit conversions between > related types. Both GCC and MSVC implement the same C and C++ language standards, which define clearly what type conversions are allowed and which are not. Further, the rules are different for C and for C++, and different again when references are involved. Also your previous example was pretty confused: John Emmas wrote on 31 October 2008 10:25: > Here's the compiler's command line:- > gcc.exe That's the C compiler. > -c F:/GTK/HelloWorld/Test.c That's a C source file. Clearly this is nothing to do with the examples you have shown us that rely on C++ references. BTW, Cygwin has gcc v4 packages available; they're named gcc4, gcc4-core, gcc4-g++ and so on. cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |