Does warning RC4005 matter?

  • Thread starter Thread starter GT
  • Start date Start date
G

GT

I have googled for this and found 4 replies. One person asking the same
question with no answers and 3 things in non-english.

Full text of warning is:
C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include/afxres.h(28) :
warning RC4005: 'IDR_MANIFEST' : redefinition

So the problem is being flagged in afxres.h inside a "#ifdef RC_INVOKED"
statement, so something is defining RC_INVOKED, but that is nowhere in my
code!

My "resource.h", has:
#define IDR_MANIFEST 1

And my "circa.rc" file has:
IDR_MANIFEST RT_MANIFEST "res\\Circa.manifest"

I don't remember, but these things were either added automatically, or as a
result of problems when I converted from VC6 to VS2005.

Thanks for any advice.
 
Sorry, wrong group - was aiming for the C++ group I subscribe to, which is
next to this group on my list. Please feel free to answer though if it made
any sense!
 
GT said:
I have googled for this and found 4 replies. One person asking the same
question with no answers and 3 things in non-english.

Full text of warning is:
C:\Program Files\Microsoft Visual Studio 8\VC\atlmfc\include/afxres.h(28) :
warning RC4005: 'IDR_MANIFEST' : redefinition

So the problem is being flagged in afxres.h inside a "#ifdef RC_INVOKED"
statement, so something is defining RC_INVOKED, but that is nowhere in my
code!

My "resource.h", has:
#define IDR_MANIFEST 1

And my "circa.rc" file has:
IDR_MANIFEST RT_MANIFEST "res\\Circa.manifest"

I don't remember, but these things were either added automatically, or as a
result of problems when I converted from VC6 to VS2005.

This article:
http://msdn2.microsoft.com/en-us/library/aa381032.aspx

....suggests that RC_INVOKED is automagically defined by your resource
compiler.
 
Back
Top