Hi,
Was wondering if anyone could help me with this odd error:
Am working in VS.Net Framework 1.1 C++.
I had a function defined as void colorizeImage(). I decided I didn't
need that function anymore and so renamed it to be void
filterTheImage(). The compiler comes back and gives me this message:
c:\...\klt.cpp(718): error C2365: 'filterTheImage' : redefinition;
previous definition was a 'formerly unknown identifier'.
If I name it back to the previous name (colorizeImage()) the compiler
is happy. I also tried to create a new function named
filterTheImage(), but the compiler sqwaks on this too. An
accompanying error is: c:\...\klt.cpp(205): error C3861:
'filterTheImage': identifier not found, even with argument-dependent
lookup
Any help would be much appreciated.
Thanks,
Beth
James Curran - 08 Oct 2004 14:48 GMT
AS far as I can see, you are using filterTheImage someplace in you code,
before it is declared, inwhich case the compiler take a guess at what the
signature would be. It then finds the actual declaration which is in
conflict to the guess it made (the compiler would assume that it returned
int instead of void)

Signature
Truth,
James Curran
Home: www.noveltheory.com Work: www.njtheater.com
Blog: www.honestillusion.com Day Job: www.partsearch.com
(note new day job!)
> Hi,
> Was wondering if anyone could help me with this odd error:
[quoted text clipped - 17 lines]
>
> Beth