| 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: | <fd68u2$geo$1 AT sea DOT gmane DOT org> <46F6C151 DOT 3070301 AT computer DOT org> <loom DOT 20071029T111515-144 AT post DOT gmane DOT org> <4725D1BA DOT C2D2ED8A AT dessent DOT net> |
| Subject: | RE: llrint implementation in Cygwin |
| Date: | Mon, 29 Oct 2007 12:49:48 -0000 |
| Message-ID: | <033e01c81a2a$30ae3150$2e08a8c0@CAM.ARTIMI.COM> |
| MIME-Version: | 1.0 |
| X-Mailer: | Microsoft Office Outlook 11 |
| In-Reply-To: | <4725D1BA.C2D2ED8A@dessent.net> |
| 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 |
On 29 October 2007 12:28, Brian Dessent wrote:
> This is a very, very bad idea. MinGW uses a completely different and
> incompatible C runtime (MSVCRT) and so any MinGW object that calls into
> the runtime (e.g. malloc(), open(), printf(), etc) will crash and burn
> hard when linked to the Cygwin runtime. It is simple blind luck that
> llrint() is apparently a self-contained function that has no calls to
> any C runtime support functions, but this is not a practical technique
> in general.
I don't think it was being advocated in general, but I think it's reasonable
to assume that a pure const function like llrint isn't going to do anything
wacky.
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 |