Hi,
With the little knowlege I have on DDK/WD, I could not
solve the below issue.
Issue:
When I run my storage driver using WDK (version 5320
and later) I get an error saying “ERROR C2220 warning
treated as a error no object file generated”.
But the same driver if i run it using windows 2003 DDK
i am not getting this error at all. What might be the
problem.
Regards
Karthik.
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Is there a warning in the build log file?
-Srikanth
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of kavitha
subramanian
Sent: Wednesday, May 17, 2006 5:17 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] ERROR C2220 warning treated as a error no object file
generated!!!
Hi,
With the little knowlege I have on DDK/WD, I could not solve the below
issue.
Issue:
When I run my storage driver using WDK (version 5320 and later) I get an
error saying “ERROR C2220 warning treated as a error no object file
generated”.
But the same driver if i run it using windows 2003 DDK i am not getting
this error at all. What might be the problem.
Regards
Karthik.
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
Well C2220 is due to using /WX, do you have that in your sources file?
Since /WX turns warnings into errors, you probably are getting a warning
with the WDK that was disabled with the pevious DDK. Microsoft has improved
the includes a lot, so they have enabled some warnings that before would
have been triggered by the includes.
–
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Remove StopSpam from the email to reply
“kavitha subramanian” wrote in message
news:xxxxx@ntdev…
> Hi,
>
> With the little knowlege I have on DDK/WD, I could not
> solve the below issue.
>
> Issue:
>
> When I run my storage driver using WDK (version 5320
> and later) I get an error saying “ERROR C2220 warning
> treated as a error no object file generated”.
>
> But the same driver if i run it using windows 2003 DDK
> i am not getting this error at all. What might be the
> problem.
>
> Regards
> Karthik.
>
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
Don Burn wrote:
Well C2220 is due to using /WX, do you have that in your sources file?
The DDK turns it on by default. I was going to post the magical
“sources” switch to disable that, but I decided that anyone who doesn’t
have enough DDK experience to know where to look for it probably needs
to have it forced on.
Since /WX turns warnings into errors, you probably are getting a warning
with the WDK that was disabled with the pevious DDK. Microsoft has improved
the includes a lot, so they have enabled some warnings that before would
have been triggered by the includes.
Right. And, as was pointed out, the warning that triggered C2220 is
posted in plain text in the build*.wrn file.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.