www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/01/14/19:44:16

Message-ID: <20030115004401.84566.qmail@web13004.mail.yahoo.com>
Date: Tue, 14 Jan 2003 16:44:01 -0800 (PST)
From: Thomas Tutone <thomas8675309 AT yahoo DOT com>
Subject: Re: Newbie: Using STL with wstring. Getting compilation errors
To: djgpp AT delorie DOT com
Cc: shabbirsuterwala AT yahoo DOT com
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

Shabss" <shabbirsuterwala AT yahoo DOT com> wrote:

> Following is the command line that rhide executes.
> gcc  -ID:/Projects/Common -g   -w   -D __DOS__ -D 
> _GLIBCPP_USE_WCHAR_T
> -c ../../Common/Part/Attr.cpp -o obj/Attr.o
> 
> My code uses STL and wstring extensivly. I have
defined 
> _GLIBCPP_USE_WCHAR_T when invoking the compiler. I
got many errors
> (below) but i think is a minor issue. Has somebody
seen this ? Is 
> there a way to fix this ? Help is really
appreciated.

[Errors snipped.]

Rule No. 1:  If you have questions about code that
causes errors, you need to post the code if you want
anyone to respond.

Rule No. 2:  Before you post the code, reduce it to
the smallest possible example that will duplicate the
error.  Make it less than 50 lines and, if possible,
less than 20.

Rule No. 3:  Make sure what you post is compilable all
by itself - i.e., don't include headers you haven't
provided us, etc.  We must be able to cut and paste
what you provide and be able to duplicate your error.

Rule No. 4:  (Which you obeyed) - include the errors
verbatim too.

Good luck.

Best regards,

Tom

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019