Thanks for trying it Alberth.
First I tried to call new in an excluded(?) function.
I got those errors.
Then I tried to call it inside the main - same error.
After your post I tried it with and without brackets, both the same error.
Also tried to take an argument to the constructor - error.
Tried to compile with -lkernel32, didn't work either :|
Now I tried another, already working program using very similar
code(including another class). It works fine.
To be sure, that it is the "new" operator, or the constructor, which
is bugged here, I commented that line: Compiles fine.
Probably not an easy problem as I thought at first.
My next approach would be, to delete an recreate the project(not a problem,
since I just started it), but it would be greater to know why that happens :|
Edit:The Build Log shows some other strange things:
http://nopaste.info/9bcb4c03c4.html1. dwarf? I knew it, there are little robots in there!
2. Some things seem to be located on C:\... some other on D:\... This didn't give an error until now and I don't think, that this is the reason. Anyway it should be changed I guess...