www.digitalmars.com         C & C++   DMDScript  

c++ - _Deque_iterator constructor not instantiated (8.23.5n)

reply Christof Meerwald <cmeerw web.de> writes:
Here is a small test-case (using the bundled SGI STL). DM doesn't
instantiate the _Deque_iterator constructor when compiling it with '-Ae'
(enabled exception handling):


#include <deque>

int main(int argc, char *argv[])
{
  deque<int> d;

  return 0;
}


Linker complains with:
  Error 42: Symbol Undefined ??0?$_Deque_iterator HAAHPAH  QAE PAHPAPAH Z
  (syscall _Deque_iterator<int ,int &,int *>::_Deque_iterator<int ,int &,int
  *>(int *,int **))


bye, Christof

-- 
http://cmeerw.cjb.net                             JID: cmeerw jabber.at
mailto cmeerw at web.de

...and what have you contributed to the Net?
Nov 10 2001
parent "Walter" <walter digitalmars.com> writes:
Got it, thanks!

"Christof Meerwald" <cmeerw web.de> wrote in message
news:9sko45$1j8i$1 digitaldaemon.com...
 Here is a small test-case (using the bundled SGI STL). DM doesn't
 instantiate the _Deque_iterator constructor when compiling it with '-Ae'
 (enabled exception handling):


 #include <deque>

 int main(int argc, char *argv[])
 {
   deque<int> d;

   return 0;
 }


 Linker complains with:
   Error 42: Symbol Undefined ??0?$_Deque_iterator HAAHPAH  QAE PAHPAPAH Z
   (syscall _Deque_iterator<int ,int &,int *>::_Deque_iterator<int ,int
&,int
   *>(int *,int **))


 bye, Christof

 --
 http://cmeerw.cjb.net                             JID: cmeerw jabber.at
 mailto cmeerw at web.de

 ...and what have you contributed to the Net?
Nov 11 2001