Click here to Skip to main content
15,923,689 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to know the type of variable at run time?? Pin
Naveen23-Oct-07 19:43
Naveen23-Oct-07 19:43 
AnswerRe: How to know the type of variable at run time?? Pin
Mark Salsbery24-Oct-07 6:01
Mark Salsbery24-Oct-07 6:01 
QuestionMultiple definitions Pin
John R. Shaw23-Oct-07 15:49
John R. Shaw23-Oct-07 15:49 
AnswerRe: Multiple definitions Pin
Christian Graus23-Oct-07 16:07
protectorChristian Graus23-Oct-07 16:07 
GeneralRe: Multiple definitions Pin
John R. Shaw23-Oct-07 17:24
John R. Shaw23-Oct-07 17:24 
AnswerRe: Multiple definitions Pin
User 58385223-Oct-07 16:07
User 58385223-Oct-07 16:07 
GeneralRe: Multiple definitions Pin
Christian Graus23-Oct-07 16:29
protectorChristian Graus23-Oct-07 16:29 
GeneralRe: Multiple definitions Pin
John R. Shaw23-Oct-07 17:50
John R. Shaw23-Oct-07 17:50 
Josh Gray wrote:
Is it possible that when this code is compiled the compiler only has a forward declaration of one or both of these?

No, everything is declared where it is supposed to be. Until yesterday it compiled perfectly with both methods named “add_set”, as it has for months. As a matter of fact I had not touched this template until this unexplained phenomenon occurred.

It has to have something to do with making those other methods, I mentioned, stand alone, as that is when it started happening. It only happens with VC 6.0, as VC .NET has absolutely no problems with it, even at warning level 4.

Why it can not tell the difference between two types that have totally different signatures is very confusing. It has to be related to the compilers heap space, but it never gets this far if that error occurs.

error C2535: '…' : member function already defined or declared


INTP
"Program testing can be used to show the presence of bugs, but never to show their absence."Edsger Dijkstra

GeneralRe: Multiple definitions Pin
User 58385223-Oct-07 18:22
User 58385223-Oct-07 18:22 
GeneralRe: Multiple definitions Pin
John R. Shaw23-Oct-07 18:46
John R. Shaw23-Oct-07 18:46 
QuestionSuspendThread and StackWalk64 Pin
Baltoro23-Oct-07 14:08
Baltoro23-Oct-07 14:08 
AnswerRe: SuspendThread and StackWalk64 Pin
cmk24-Oct-07 10:16
cmk24-Oct-07 10:16 
GeneralThanks for Reply Pin
Baltoro25-Oct-07 6:11
Baltoro25-Oct-07 6:11 
Questionirc via socket Pin
Adno23-Oct-07 12:29
Adno23-Oct-07 12:29 
QuestionRe: irc via socket Pin
Mark Salsbery23-Oct-07 13:42
Mark Salsbery23-Oct-07 13:42 
AnswerRe: irc via socket Pin
Adno23-Oct-07 14:59
Adno23-Oct-07 14:59 
GeneralRe: irc via socket Pin
Mark Salsbery24-Oct-07 6:07
Mark Salsbery24-Oct-07 6:07 
GeneralRe: irc via socket Pin
Adno24-Oct-07 9:03
Adno24-Oct-07 9:03 
GeneralRe: irc via socket Pin
Mark Salsbery24-Oct-07 10:59
Mark Salsbery24-Oct-07 10:59 
GeneralRe: irc via socket Pin
Moak8-Nov-07 12:16
Moak8-Nov-07 12:16 
QuestionCommunication between windows forms Pin
UnHolyKnight55523-Oct-07 11:35
UnHolyKnight55523-Oct-07 11:35 
AnswerRe: Communication between windows forms Pin
Hamid_RT23-Oct-07 20:48
Hamid_RT23-Oct-07 20:48 
QuestionSave image to bitmap Pin
JBAK_CP23-Oct-07 10:35
JBAK_CP23-Oct-07 10:35 
AnswerRe: Save image to bitmap Pin
Neo Andreson23-Oct-07 18:09
Neo Andreson23-Oct-07 18:09 
AnswerRe: Save image to bitmap Pin
Hamid_RT23-Oct-07 20:46
Hamid_RT23-Oct-07 20:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.