Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <434E9C38.8030007@cygwin.com> Date: Thu, 13 Oct 2005 13:41:12 -0400 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050929 Thunderbird/1.0.7 Fedora/1.0.7-1.1.fc4 Mnenhy/0.7.2.0 MIME-Version: 1.0 To: Oliver Wienand CC: cygwin AT cygwin DOT com Subject: Re: gcc, very high template-depth References: <434E1454 DOT 5090008 AT mathematik DOT uni-kl DOT de> In-Reply-To: <434E1454.5090008@mathematik.uni-kl.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 10/13/2005, Oliver Wienand wrote: > I think the problem is, that polymake uses templates very heavy and > compiles with --ftemplate-depth-200. > I think you're right. The 'gcc' man pages says this about --ftemplate-depth: -ftemplate-depth-n Set the maximum instantiation depth for template classes to n. A limit on the template instantiation depth is needed to detect end- less recursions during template class instantiation. ANSI/ISO C++ conforming programs must not rely on a maximum depth greater than 17. This leads me to conclude that polymake is not portable. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/