0

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?

Thanks!

2
Contributors
2
Replies
3
Views
7 Years
Discussion Span
Last Post by tundra010
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.