于 2012年05月03日 21:27, Marc Lehmann 写道:
On Thu, May 03, 2012 at 08:45:30AM +0800, 马承珂<[email protected]> wrote:
Did you use the "-Wall" option? I just write a very easy sample code to test
this on Ubuntu12.04 with g++4.6.3.
You said you get it with -O2, and I disagreed, which apparently turned out
to be true. -Wall != -O2.
Sorry, my fault. I am using -Wall for both debug and release, the
difference between debug and release makefiles is -O2 and -g, so I
forgot that it is the -Wall which cause this warning.
_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev