Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / October 2004

Tip: Looking for answers? Try searching our database.

error C2365: 'formerly unknown identifier'

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
bmassey - 08 Oct 2004 04:18 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.