stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pegasus2000 <>
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).

View this message in context:
Sent from the stdcxx-dev mailing list archive at

View raw message