Unable to include iostream, fstream or sstream
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cheerp |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When I try to incluse iostream, fstream or sstream I got the following errors:
s $ /opt/duetto/
In file included from HelloClient.cpp:5:
In file included from /opt/duetto/
In file included from /opt/duetto/
In file included from /opt/duetto/
In file included from /opt/duetto/
In file included from /opt/duetto/
In file included from /opt/duetto/
/opt/duetto/
typedef ratio<1LL, 100000000000000
/opt/duetto/
typedef ratio<1LL, 1000000000000000LL> femto;
/opt/duetto/
typedef ratio<1LL, 1000000000000LL> pico;
/opt/duetto/
typedef ratio< 1000000000000LL, 1LL> tera;
/opt/duetto/
typedef ratio< 1000000000000000LL, 1LL> peta;
^
/opt/duetto/
typedef ratio<100000000
^
In file included from HelloClient.cpp:5:
In file included from /opt/duetto/
In file included from /opt/duetto/
In file included from /opt/duetto/
In file included from /opt/duetto/
/opt/duetto/
pthread_mutex_t __m_;
^
/opt/duetto/
typedef pthread_mutex_t* native_handle_type;
^
/opt/duetto/
constexpr mutex() _NOEXCEPT : __m_(PTHREAD_
/opt/duetto/
pthread_cond_t __cv_;
^
/opt/duetto/
typedef pthread_cond_t* native_handle_type;
^
/opt/duetto/
constexpr condition_
In file included from HelloClient.cpp:5:
In file included from /opt/duetto/
In file included from /opt/duetto/
In file included from /opt/duetto/
/opt/duetto/
pthread_mutex_t __m_;
^
/opt/duetto/
typedef pthread_mutex_t* native_handle_type;
^
/opt/duetto/
pthread_t __id_;
^
/opt/duetto/
pthread_t __id = pthread_self();
^
/opt/duetto/
pthread_t __id = pthread_self();
/opt/duetto/
^
/opt/duetto/
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
Changed in cheerp: | |
status: | Confirmed → Fix Committed |
Changed in cheerp: | |
status: | Fix Committed → Fix Released |
Those headers are not been ported yet. Still they are not very useful since there is no filesystem in the browser. stringstream can be still useful though so this will be fixed