Just recently, I have upgraded from gcc 3 to gcc 4.5.0.

However, when I try to compile a basic "hello world" example in c++, I get the following warning:

Info: resolving std::cout by linking to __imp___ZSt4cout (auto-import)
c:/mingw/bin/../lib/gcc/mingw32/4.5.0/../../../../mingw32/bin/ld.exe: warning: a
uto-importing has been activated without --enable-auto-import specified on the c
ommand line.
This should work unless it involves constant data structures referencing symbols
from auto-imported DLLs.

But, an executable is produced, and runs fine.

Is there anything that can be done to prevent this warning?


A couple result from googling,


I googled for a while, yet did not find those two links