<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>6250</bug_id>
          
          <creation_ts>2005-03-11 18:37:49 +0300</creation_ts>
          <short_desc>ошибка в определении deque</short_desc>
          <delta_ts>2008-04-22 14:54:07 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>boost-devel</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="pal">pal</reporter>
          <assigned_to name="Alexey Voinov">voins</assigned_to>
          <cc>iv</cc>
    
    <cc>sem</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>22508</commentid>
    <comment_count>0</comment_count>
    <who name="pal">pal</who>
    <bug_when>2005-03-11 18:37:49 +0300</bug_when>
    <thetext>[17:32:48 pal@underdark ~/tmp]$ g++ --version
i586-alt-linux-g++ (GCC) 3.4.3 20050221 (ALT Linux, build 3.4.3-alt5)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[17:26:52 pal@underdark ~/tmp]$ cat c.cpp 
#include &lt;deque&gt;
#include &lt;boost/lambda/lambda.hpp&gt;

[17:30:54 pal@underdark ~/tmp]$ g++ -c -D_GLIBCXX_DEBUG c.cpp 
In file included from /usr/include/boost/lambda/lambda.hpp:23,
                 from c.cpp:2:
/usr/include/boost/lambda/detail/operator_return_type_traits.hpp:908: error: use
of `deque&apos; is ambiguous
/usr/include/boost/lambda/detail/operator_return_type_traits.hpp:871: error:  
first declared as `template&lt;class T, class Allocator&gt; struct std::deque&apos; here
/usr/lib/gcc/i586-alt-linux/3.4.3/../../../../include/c++/3.4.3/debug/deque:42:
error:   also declared as `template&lt;class _Tp, class _Allocator&gt; class
__gnu_debug_def::deque&apos; here
.....
а там

-------------------------
// The GCC 2.95.x uses a non-conformant deque
#if BOOST_WORKAROUND(__GNUC__, == 2) &amp;&amp; __GNUC_MINOR__ &lt;= 96
#include &lt;deque&gt;
#else

namespace std {
  template &lt;class T, class Allocator&gt; class deque;
}

#endif

#if BOOST_WORKAROUND(__GNUC__, == 3) &amp;&amp; __GNUC_MINOR__ &gt;=4
#include &lt;vector&gt;
#include &lt;map&gt;
#else

namespace std {
 template &lt;class T, class Allocator&gt; class vector;
 template &lt;class Key, class T, class Cmp, class Allocator&gt; class map;
 template &lt;class Key, class T, class Cmp, class Allocator&gt; class multimap;
}

#endif
--------------------

как видим, 3.4 при -D_GLIBCXX_DEBUG тоже не особо conformant
собственно, не только с deque

я пока руками поправлю, но надо бы в апстрим пробить</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40234</commentid>
    <comment_count>1</comment_count>
    <who name="Igor Zubkov">icesik</who>
    <bug_when>2006-09-13 01:16:47 +0400</bug_when>
    <thetext>Ещё актуально?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40258</commentid>
    <comment_count>2</comment_count>
    <who name="pal">pal</who>
    <bug_when>2006-09-13 19:41:56 +0400</bug_when>
    <thetext>нет</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>