中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-10-31 09:08
47,815 topics / 349,930 posts / today 0 new / 48,290 members
DOS开发编程 & 发展交流 (开发室) » Question about DJGPP/GPP 3.2.2
Printable Version  1,528 / 3
Floor1 garychang Posted 2003-06-30 00:00
初级用户 Posts 9 Credits 136
DJGPP environment: all the latest official versions

My code should be fully ANSI C++, so it really shouldn't be going wrong.
When using DJGPP/GPP 3.2.2 to compile the following source code:

#include
#include
using namespace std;
int main(void)
{
basic_string uls;

uls+=static_cast(0);
cout << uls;

return 0;
}

it won't get past the linker stage, but if I use GPP 2.95.3, there's no problem.
This issue has been bothering me for a long time. From bloodshed I learned that it's best to recompile GCC.
I also followed the steps in the official DJGPP readme.djgpp, but it stopped at djmake.sh

I wonder if any expert here can help answer this, thanks!
Floor2 Wengier Posted 2003-07-03 00:00
系统支持 Posts 10,521 Credits 27,736
Dark-Destroy is familiar with DJGPP now, come say something quick...
Floor3 Dark-Destroy Posted 2003-07-03 00:00
元老会员 Posts 3,551 Credits 8,312
Dizzy..
I'm still not very familiar with DJGPP....
Floor4 garychang Posted 2003-07-05 00:00
初级用户 Posts 9 Credits 136
Could someone please be kind enough to answer this if you know.

If I use the latest official release, I still can't link the above source code.
Are the other DJGPP users here seeing the same thing too?
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023