stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pegasus2000 <>
Subject ios_base::Init::Init ();
Date Wed, 07 May 2008 18:40:04 GMT

I've compiled with success the first version
of NanoCPP (STDCXX for Nanodesktop). 

So, when I enter this program:

#include <nanodesktop.h>

#include <iostream>

int main()
    ndInitSystem ();
    using namespace std;
    ios_base::Init::Init ();
    cout << "Hello World!";
    return 0;
I obtain the "Hello world" on the
screen of the PSP. 

But, if I remove the string:

ios_base::Init::Init ();

the system crashes at startup. Is it
a normal behaviour or there's some
option in config.h that I must enable
in order to autoinit any object ?

Filippo Battaglia

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

View raw message