[ace-users] use std::list error
Douglas C. Schmidt
schmidt at dre.vanderbilt.edu
Tue Jun 19 01:44:20 CDT 2007
Hi,
To ensure that we have proper version/platform/compiler information,
please make sure you fill out the appropriate problem report form
(PRF), which is in
$ACE_ROOT/PROBLEM-REPORT-FORM
$TAO_ROOT/PROBLEM-REPORT-FORM
or in
$ACE_ROOT/BUG-REPORT-FORM
$TAO_ROOT/BUG-REPORT-FORM
in older versions of ACE+TAO. Make sure to include this information
when asking any questions about ACE+TAO since otherwise we have to
"guess" what version/platform/compiler/options you've using, which is
very error-prone and slows down our responsiveness. If you don't use
the PRF, therefore, it is less likely that someone from the core
ACE+TAO developer team will be able to answer your question.
Naturally, we encourage and appreciate other members of the ACE+TAO
user community who can respond to questions that they have the answers
to.
Thanks,
Doug
>Dear All, the following Form describes my problem and what I did:
>
>I want use std in my project (vc7/NT ),but It report error :
>c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xdebug(29): error C2078: too many initializers
>c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\xdebug(29): error C2365: 'new' : redefinition; previous definition was a 'member function'
>...
>
>because in my preparedata.h ,I add two line :
> #include <list>
>...
>std::list <CString> m_Segments;
>
>
>THE $ACE_ROOT/ace/config.h FILE has contents:
>
> #define ACE_HAS_STANDARD_CPP_LIBRARY 1
> #include "ace/config-win32.h"
>
>
>
>
>
>
>
>
>shaojl0188
>2007-06-19
>
>--=====003_Dragon018772760465_=====
>Content-Type: text/html;
> charset="gb2312"
>Content-Transfer-Encoding: 7bit
>
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
><HTML><HEAD>
><META http-equiv=Content-Type content="text/html; charset=gb2312">
><META content="MSHTML 6.00.2900.3132" name=GENERATOR></HEAD>
><BODY>
><DIV><FONT face=Verdana><FONT size=2>Dear All, the following Form describes my
>problem and what I did:</FONT></FONT></DIV>
><DIV><FONT face=Verdana><FONT size=2></FONT></FONT> </DIV>
><DIV><FONT face=Verdana><FONT size=2>I want use std in my project (vc7/NT ),but
>It report error :</FONT></FONT></DIV>
><DIV><FONT face=Verdana>c:\Program Files\Microsoft Visual Studio .NET
>2003\Vc7\include\xdebug(29): error C2078: too many initializers<BR>c:\Program
>Files\Microsoft Visual Studio .NET 2003\Vc7\include\xdebug(29): error C2365:
>'new' : redefinition; previous definition was a 'member function'</FONT></DIV>
><DIV><FONT face=Verdana>...</FONT></DIV>
><DIV><FONT face=Verdana></FONT> </DIV>
><DIV><FONT face=Verdana>because in my preparedata.h ,I add two line
>:</FONT></DIV>
><DIV><FONT face=Verdana> #include <list></FONT></DIV>
><DIV><FONT face=Verdana>...</FONT></DIV>
><DIV><FONT face=Verdana>std::list <CString> m_Segments;</DIV>
><DIV> </DIV>
><DIV> </DIV>
><DIV>THE $ACE_ROOT/ace/config.h FILE has
>contents:<BR> <BR>
>#define ACE_HAS_STANDARD_CPP_LIBRARY
>1<BR> #include
>"ace/config-win32.h"<BR> </DIV>
><DIV> </DIV>
><DIV><BR> </DIV>
><DIV><FONT size=2></FONT> </DIV>
><DIV align=left><FONT size=2>
><HR style="WIDTH: 122px; HEIGHT: 2px" SIZE=2>
></FONT></DIV>
><DIV><FONT color=#c0c0c0><FONT size=2>shaojl0188</FONT></DIV>
><DIV><FONT size=2>2007-06-19</FONT></FONT></DIV></FONT></BODY></HTML>
>
>--=====003_Dragon018772760465_=====--
>
--
Dr. Douglas C. Schmidt Professor and Associate Chair
Electrical Engineering and Computer Science TEL: (615) 343-8197
Vanderbilt University WEB: www.dre.vanderbilt.edu/~schmidt
Nashville, TN 37203 NET: d.schmidt at vanderbilt.edu
More information about the Ace-users
mailing list