[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
'no matching function for call to' error
From: |
David Engasser |
Subject: |
'no matching function for call to' error |
Date: |
Thu, 11 Apr 2002 14:10:36 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2.1) Gecko/20010901 |
I am using gcc version 2.96 20000731 from Redhat Linux 7.1 2.96-98...
I am writing a program that uses a static library that I also wrote. I
am getting the following linker error:
"no matching function for call to
'LDCCalendar::RemoveInvalidEntriesFromCategoryFolders ()'"
The declaration for this method is in a header file and the definition
is in a source (.CPP) file... The linker has no problem with any of the
other methods in the library. I triple checked how I declared/defined
this method with other similar methods in my library and I can find no
discrepancies...
Is there some upper limit to the number of methods that can be in a
library that is linked to a program?
In my library header file within the "public" section of my class, I
declared my method as follows:
LNSTATUS RemoveInvalidEntriesFromCategoryFolders();
In my library source file a defined my method as follows:
LNSTATUS LDCCalendar::RemoveInvalidEntriesFromCategoryFolders()
{
... source code omitted
}
In my program source file I called the method as follows:
LDCCalendar ldcCalendar;
... (other code omitted)
ldcCalendar.RemoveInvalidEntriesFromCategoryFolders();
Did I miss something? Thanks!
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- 'no matching function for call to' error,
David Engasser <=