Click here to Skip to main content
15,910,981 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Compiling - misc.c
1>errors in directory e:\driver~1\pro_11\driver
1>e:\driverstudio_work\pro_11\driver\misc.c : error C2220: warning treated as error - no 'object' file generated

I have already removed WX from compile options. But this error?
Due to this error, building driver is very hard to handle for me.
Help me.

Thank you!
Posted
Updated 6-Feb-13 21:37pm
v2

1 solution

Apparently you haven't removed the /WX compiler switch (or Visual Studio is getting foolish). In any case you may try one of the other solutions proposed by the documentation[^].
 
Share this answer
 
Comments
__TR__ 7-Feb-13 6:32am    
Comment from OP:
Hello, CPallini!
Thank you for your help!

I have already removed the /WX compiler switch.
But this error has occurred!
Due to this, I am hard to handle the driver dev.

Expect for other solution!

Help me!

Thank you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900