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!
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!



