delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/06/02/13:31:17

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <48442E49.6DE0AC19@dessent.net>
Date: Mon, 02 Jun 2008 10:30:49 -0700
From: Brian Dessent <brian AT dessent DOT net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: Reini Urban <rurban AT x-ray DOT at>
CC: cygwin AT cygwin DOT com
Subject: Re: rebase not compilable
References: <6910a60806020741t7ff86d8bgbb7866e62acf1c09 AT mail DOT gmail DOT com> <484411AA DOT AF8A9011 AT dessent DOT net> <484427D6 DOT 4030103 AT x-ray DOT at>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Reini Urban wrote:

> I know.

Well then why didn't you say that so that I wouldn't have to waste my
time explaining.

> I wanted to hear some magic g++ --allow-non-ansi switch (-std=c89 or
> such for C++) or some INT2PTR macro.

The C++ parser was completely rewritten in gcc 3.4.  This is one of the
things that was removed as a result.  There is no switch that's going to
bring it back.

If you want to port the code, why not just change relocp such that it's
a char * and cast it to PIMAGE_BASE_RELOCATION when it's necessary to
access a field.  Or use a union of the two.

Brian

--
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/

- Raw text -


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