From: Michael Gatford <michael.gatford@aprsmartlogik.com>
To: Eljay Love-Jensen <eljay@adobe.com>
Cc: gcc help <gcc-help@gcc.gnu.org>
Subject: Re: too few template-parameter-lists
Date: Wed, 20 Jul 2005 15:47:00 -0000 [thread overview]
Message-ID: <42DE71C6.1000500@aprsmartlogik.com> (raw)
In-Reply-To: <6.2.1.2.2.20050720100811.02465860@iplan-mn.corp.adobe.com>
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 <cctype> 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<FmPage> mapTags<FmPage>::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.
***********************************************************************
prev parent reply other threads:[~2005-07-20 15:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-20 14:51 Michael Gatford
2005-07-20 15:36 ` corey taylor
2005-07-20 15:49 ` Eljay Love-Jensen
2005-07-20 15:47 ` Michael Gatford [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=42DE71C6.1000500@aprsmartlogik.com \
--to=michael.gatford@aprsmartlogik.com \
--cc=eljay@adobe.com \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).