* Frederic Bouvier -- Sunday 15 February 2004 23:44:
> Sorry, but it works for me ( window closes and program runs ).
> Anybody else seeing what Derick is describing ?

Nope. Works perfectly. (Linux, CVS/HEAD). I'll run valgrind over it ...

m.

The thing that does not make sense is that the for loop even runs "delete _active_dialog;" when I step in Debug (MSVC 2003)


  for(/**/; iter != _active_dialogs.end(); iter++)
      if(iter->second == _active_dialog)
          _active_dialogs.erase(iter);

delete _active_dialog;

------
Thus it evaluates:

for(...
if(...
_active...
delete..
for(...
if(...
_active...
delete..


And that scares me ;)


Maybe the way MS(VC 2003) handles the STL? or CR/LF ... I'll look into this...

_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to