(970917) i386-linux-gnulibc1 STL/-O problem

Mark Mitchell mmitchell@usa.net
Thu Sep 18 07:56:00 GMT 1997


Mumit --

>    ======== cut here
>    #include <stack>
>    #include <vector>
>
>
>    int main()
>    {
>      priority_queue< int, vector<int>, greater<int> > pq;
>      return 0;
>    }
>    ======== 

  I suspect that this is caused by a problem with my member template
code.  Jason only activated member templates in the STL in this last
snapshot, so that's probably what triggered it.  As a short term
workaround, you could edit stl_config.h to disable
__STL_MEMBER_TEMPLATES or some such.  I will work on a fix.

-- 
Mark Mitchell		mmitchell@usa.net
Stanford University	http://www.stanford.edu




More information about the Gcc-bugs mailing list