incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pegasus2000 <pegasus2...@email.it>
Subject non_options.push_back( Stringa );
Date Wed, 14 May 2008 17:18:18 GMT


Consider this piece of code:

#include <cstring>
#include <string>
#include <vector>



int ErrorLevel;
static char *Stringa = "String";

int main ()
{
    ndInitSystem ();

    std::vector< std::string > non_options;
    non_options.push_back( Stringa );  
}
 

Under PSP this code works, but under PSPE the
emulator crashes when the system executes

non_options.push_back( Stringa );  


It's not strange: sometime the code written for
PSP doesn't work under PSPE and Nanodesktop 
must act with a code workaround. 

I need to know this: 

how STDCXX translates the method push_back ?
I need to know precisely what is the routine 
that is executed by the system when the
method is called (in particular, its
position in your source code).

Thanks
Filippo
  
-- 
View this message in context: http://www.nabble.com/non_options.push_back%28-Stringa-%29--tp17236438p17236438.html
Sent from the stdcxx-dev mailing list archive at Nabble.com.


Mime
View raw message