From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24784 invoked by alias); 20 Jul 2005 15:47:05 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 24770 invoked by uid 22791); 20 Jul 2005 15:47:02 -0000 Received: from [212.44.24.7] (HELO mail.aprsmartlogik.com) (212.44.24.7) by sourceware.org (qpsmtpd/0.30-dev) with SMTP; Wed, 20 Jul 2005 15:47:02 +0000 Received: from [192.168.4.17] ([192.168.4.17]) by mail.aprsmartlogik.com with Microsoft SMTPSVC(5.0.2195.6713); Wed, 20 Jul 2005 16:46:14 +0100 Message-ID: <42DE71C6.1000500@aprsmartlogik.com> Date: Wed, 20 Jul 2005 15:47:00 -0000 From: Michael Gatford User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.7) Gecko/20050414 MIME-Version: 1.0 To: Eljay Love-Jensen CC: gcc help Subject: Re: too few template-parameter-lists References: <42DE64C2.1020605@aprsmartlogik.com> <6.2.1.2.2.20050720100811.02465860@iplan-mn.corp.adobe.com> In-Reply-To: <6.2.1.2.2.20050720100811.02465860@iplan-mn.corp.adobe.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-07/txt/msg00206.txt.bz2 Hi, Many thanks once again. I have now compiled my code ok. There were basically four changes I had to make: (1) to do with typename in a template (2) the problem that you last emailed me about (use of a template) 3) changing the toupper in "std::transform(lang.begin(), lang.end(), lang.begin(), toupper);" to (int(*)(int))toupper); (I'm not quite sure why because I don't include and I believe there is only one toupper() in the code) 4) I had to change: if (thisCgi.compare(prefix, 0, prefixLength) == 0) to if (thisCgi.compare(0, prefixLength, prefix) == 0) I think it's all working ok. Mike Many thanks Eljay Love-Jensen wrote: >Hi Michael, > >Try this... > >template<> >commandTags mapTags::mustags[] = { > { "page.include", &FmPage::includeFile }, > { "page.version", &FmPage::printVersion }, > { "page.script_name", &FmPage::printScriptname }, > { "page.gif_dir", &FmPage::printGifdir }, > > ........ > ........ >} > >HTH, >--Eljay > > > -- ___________________________________________________ Michael Gatford Senior Technical Consultant ___________________________________________________ APR Smartlogik Limited. Rustat House - Clifton Road - Cambridge - CB1 7EJ phone +44 (0)1223 27 1025 fax +44 (0)1223 27 1010 map: http://www.aprsmartlogik.com/contact/CambridgeMap.pdf mailto:michael.gatford@aprsmartlogik.com http://www.aprsmartlogik.com/ *********************************************************************** This e-mail may contain proprietary and confidential information and is intended for the recipient(s) only. If an addressing or transmission error has misdirected this e-mail, please notify the systems administrator by forwarding this e-mail to mailto:postmaster@aprsmartlogik.com. If you are not the intended recipient(s) disclosure, distribution, copying or printing of this e-mail is strictly prohibited. ***********************************************************************