I have this problem, but only if I set option 'Add source and header file to the same folder' in wizard.
Here are build logs:
Quotemingw32-g++.exe -Wall -DCURL_STATICLIB -g -std=c++11 -IC:\lib\curl-7.40.0\curl-7.40.0\include -I -c ...\http.cpp -o obj\Debug\http.o
c:/program files/codeblocks/mingw/bin/../lib/gcc/mingw32/4.7.1/../../../libmingw32.a(main.o):main.c:(.text.startup+0xa7): undefined reference to `WinMain@16'
I think it is a bug.
Yes it is a bug. Can you try to reproduce it in the latest nightly?
What you mean by asking? Check whether that bug exist in latest nightly? Or try to repair it?
Install latest night build and try to get the same bug.
Problem does not exist.
Thanks.