First off, there's no such thing as DJGPP 4.0. The last unreleased version is 2.04. Perhaps you meant gcc 4.0?
Second, this isn't a "bug" in djgpp's itself, as you're complaining about the C++ libraries, which are part of the gcc package. You may get more help from the gcc-help mailing list.

Closed on 07/27/2007 09:29:49: report is about libstdc++, not djgpp itself.
By whom:dj@delorie.com