X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f X-Recipient: djgpp-workers AT delorie DOT com Message-ID: <48C97F4C.9040006@iki.fi> Date: Thu, 11 Sep 2008 23:27:56 +0300 From: Andris Pavenis User-Agent: Thunderbird 2.0.0.16 (X11/20080723) MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: mkdoc.cc does not compile (current CVS) Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from Quoted-Printable to 8bit by delorie.com id m8BKdE1Q010069 Reply-To: djgpp-workers AT delorie DOT com As written in subject, mkdoc.cc oes not compile with gcc-4.3.0 from Fedora 9. gcc -g -O2 -m32 mkdoc.cc -lstdc++ -o ../../hostbin/mkdoc.exe mkdoc.cc:615: error: too few template-parameter-lists mkdoc.cc:640: error: too few template-parameter-lists mkdoc.cc:645: error: too few template-parameter-lists mkdoc.cc: In destructor ‘TreeNode::~TreeNode() [with N = void]’: mkdoc.cc:123: instantiated from ‘Tree::~Tree() [with N = void]’ mkdoc.cc:612: instantiated from ‘TreeNode::~TreeNode() [with N = Tree]’ mkdoc.cc:123: instantiated from ‘Tree::~Tree() [with N = Tree]’ mkdoc.cc:174: instantiated from here mkdoc.cc:612: warning: deleting ‘void*’ is undefined make: *** [../../hostbin/mkdoc.exe] Error 1 $ gcc --version gcc (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8) Copyright (C) 2008 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. It does not compile also with freshly built i586-pc-msdosdjgpp-g++ (version 4.3.2) Andris