mixpro
Member
|
include headers in linux
Hi,
im trying to use STL headers , i tried including them as in the video :
Include headers
but when i type std:: the only option i get is nullptr .
when forcing the issue :
Code:
std::string s("ghgh");
i get :
Quote:error: 'string' is not a member of 'std'
i looked at std definition in the engine i found :
Code:
#if !WINDOWS_NEW
namespace std{typedef decltype(nullptr) nullptr_t;}
#endif
does this mean , STL libraries aren't supported on non windows ?
How can i include them in linux ? thanks [/code]
|
|
04-17-2016 05:37 PM |
|
Esenthel
Administrator
|
RE: include headers in linux
I recommend using engine's Str string class or Str8 for 8-bit characters, your life will be easier.
Quote:error: 'string' is not a member of 'std'
Perhaps you need to include more headers on Linux?
|
|
04-18-2016 01:24 AM |
|