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!

Recommended Answers

All 2 Replies

A couple result from googling,
1)uno
2)duos.

Thanks!

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.