From: Eljay Love-Jensen <eljay@adobe.com>
To: Nikolai Nezlobin <nezlobin@ece.umn.edu>, gcc-help@gcc.gnu.org
Subject: Re: isalnum not declared
Date: Mon, 14 Jun 2004 12:44:00 -0000 [thread overview]
Message-ID: <6.1.1.1.0.20040614073947.0207b7b8@iplan-mn.corp.adobe.com> (raw)
In-Reply-To: <000501c451ad$6465ed10$8efa6580@nnxpubwytgvj3u>
Hi Nikolai,
It looks like your old source uses old C++ (pre-ISO 14882 standard) header
files. It probably also does not use compliant namespaces.
Change the header files to compliant ones (e.g., #include <iostream.h>
becomes #include <iostream>).
And add in std:: by either "std::ID"prefix in front of each standard
namespace identifier (metasyntactically given here as "ID"), or "using
std::ID" near the top of the source file, or just carte blanche by "using
namespace std;" after the #include specifier block near the top of the
source code.
You might also want to change the ".c" extension to ".cpp".
HTH,
--Eljay
next prev parent reply other threads:[~2004-06-14 12:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-14 1:18 Nikolai Nezlobin
2004-06-14 12:44 ` Eljay Love-Jensen [this message]
2004-06-14 13:16 ` Ken Foskey
2004-06-14 22:47 ` Nikolai Nezlobin
[not found] ` <6.1.1.1.0.20040614190954.02138bc0@iplan-mn.corp.adobe.com>
2004-06-15 5:52 ` Nikolai Nezlobin
2004-06-15 10:30 ` llewelly
2004-06-15 18:28 ` Nikolai Nezlobin
2004-06-15 10:46 ` llewelly
2004-06-14 23:10 Nikolai Nezlobin
2004-06-15 9:58 ` llewelly
2004-06-15 17:59 ` Nikolai Nezlobin
2004-06-16 16:02 ` llewelly
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=6.1.1.1.0.20040614073947.0207b7b8@iplan-mn.corp.adobe.com \
--to=eljay@adobe.com \
--cc=gcc-help@gcc.gnu.org \
--cc=nezlobin@ece.umn.edu \
/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).