Standard library issues #16
Comments
|
Are you using |
|
I was following the examples in the readme, i.e. I tried both the |
|
What does What does You should have both in your path from build-djgpp. What is What shell are you using? What does |
|
Since I am using the pre-compiled package (not enough space in my virtual machine to build my own), there was no If I just run With BASE_DIR obviously replaced as instructed in the manual. Now I get:
I'm using bash. |
|
Maybe it's a doc bug, but I usually set my My guess is that calling the compiler via |
|
I tried |
|
Try adding [0] https://www.thecodingforums.com/threads/wstring-wcout-in-gcc-under-djgpp-cygwin.290393/ |
|
Sadly that also doesn't solve the problem, |
|
It seems the official DOS version of DJGPP (http://www.delorie.com/djgpp/) doesn't support wstring neither. Maybe it is a bug or limitation of DJGPP? |
|
I feared this might be the issue (and it seems rather weird given that u16string and u32string are supported). I guess I'll have to find out what exactly from the standard library is available and what isn't... |
|
@sagamusix I asked this question on DJGPP mailing list, the answer is that DJGPP doesn't support wide character / multi byte string. So, I think unless someone implements these functions in DJGPP source code, this problem can't be fixed. See: |
|
Thanks for taking the time to report it on the mailing list. :) Too bad that nothing can be done about it right now, but also good to know that it was not a problem with the usage of the precompiled package. |
I am using the pre-built djgpp package (gcc 7.1.0, Linux Mint 32-bit).
As far as I can see, there is a complete, up-to-date standard library coming with it, just as I expected, but somehow I cannot access most of it.
test.cpp:
Result of
g++ test.cpp:Running cc1plus -v shows that, as far as I can tell, all relevant include paths from the downloaded package are listed.
Is this a known issue? What am I doing wrong?
The text was updated successfully, but these errors were encountered: