Re: error C2220: warning treated as error - no object file generated?
First, see Compiler Error C2220
After that, decide if you want to simply remove /WX compiler option or fix the warning cause.
If you want to fix the warning (this one I recommend), take a look at Compiler Warning C4018
Re: error C2220: warning treated as error - no object file generated?
thanks for the info however I have been building without /WX so not sure what to change as to fixing it I hate to say this as I am new to this but that doesn't make much sense to me.
Re: error C2220: warning treated as error - no object file generated?
There is not a matter of drivers development but a basic C/C++ mistake.
I have already advise what to do in post #2.
Isn't MSDN Library available for you?
MSDN Library: Compiler Warning C4018
Comparing a signed and unsigned number required the compiler to convert the signed value to unsigned. This warning may be fixed if you cast one of the two types when testing signed and unsigned types.
Or you can to change types declared in your program in order to avoid signed/unsigned mismatch.
Re: error C2220: warning treated as error - no object file generated?
yes I looked at what it said on msdn however that makes very little sense to me sorry I am not fluent in c or c++
as to changing eh types I have no idea what to change them to
Re: error C2220: warning treated as error - no object file generated?
Hi, I've just had this error and felt dumb for asking too. My error was actually that I was declaring a variable that I wasn't using.
This post helped track down my dumbness but I would like to add, the people who are answering questions, please note, those of us asking questions aren't as good as you lot and we wouldn't ask if we knew the answer. A little bit more patients might be nice?
Bookmarks