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 X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) MIME-Version: 1.0 To: Reini Urban 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> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Reply-To: cygwin AT cygwin DOT com Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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/