Click here to Skip to main content
15,886,603 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: migration from Visual studio 6 Pin
Jochen Arndt28-Jul-14 21:16
professionalJochen Arndt28-Jul-14 21:16 
GeneralRe: migration from Visual studio 6 Pin
Swap929-Jul-14 3:36
Swap929-Jul-14 3:36 
GeneralRe: migration from Visual studio 6 Pin
Jochen Arndt29-Jul-14 4:01
professionalJochen Arndt29-Jul-14 4:01 
GeneralRe: migration from Visual studio 6 Pin
Swap929-Jul-14 4:26
Swap929-Jul-14 4:26 
GeneralRe: migration from Visual studio 6 Pin
Jochen Arndt29-Jul-14 4:44
professionalJochen Arndt29-Jul-14 4:44 
GeneralHi Jochen, Need help again Pin
Swap931-Jul-14 23:14
Swap931-Jul-14 23:14 
GeneralRe: Hi Jochen, Need help again Pin
Jochen Arndt31-Jul-14 23:35
professionalJochen Arndt31-Jul-14 23:35 
GeneralRe: Hi Jochen, Need help again Pin
Swap91-Aug-14 0:46
Swap91-Aug-14 0:46 
below given code in file 'some.c'
--------------------------------
C++
#ifdef __STDC__
  static int fun1 ( struct1_inlistfile membervar1,  void_pointerinlist_file membervar2 )
#else

  static int fun1 (membervar1,  membervar2)

  struct1_inlistfile       membervar1;  
  void_pointerinlist_file  membervar2;

#endif



if the code is as above - I get this warning C4113: 'int (__cdecl *)()' differs in parameter lists from 'RECORDstructinlistheader' file
if i comment the above code like you showed the other day the warning goes away.

.h file has record defination in the form off struct.

the 'some.c' file has another list class defination

static RECORDstructinlistheader Listclass = {

sizeof(RECORD),
sizeof(element in record),
add function ,
search function, /*This is the line where warning is pointed to */
pointer set,
.
.
.

I am afraid I am confusing, but I am giving much details to understand it correctly.
pls help.
GeneralRe: Hi Jochen, Need help again Pin
Jochen Arndt1-Aug-14 1:12
professionalJochen Arndt1-Aug-14 1:12 
GeneralRe: Hi Jochen, Need help again Pin
Swap91-Aug-14 2:46
Swap91-Aug-14 2:46 
GeneralRe: Hi Jochen, Need help again Pin
Jochen Arndt1-Aug-14 3:00
professionalJochen Arndt1-Aug-14 3:00 
GeneralRe: Hi Jochen, Need help again Pin
Swap91-Aug-14 3:14
Swap91-Aug-14 3:14 
GeneralRe: Hi Jochen, Need help again Pin
Swap91-Aug-14 3:34
Swap91-Aug-14 3:34 
GeneralRe: Hi Jochen, Need help again Pin
Jochen Arndt1-Aug-14 3:49
professionalJochen Arndt1-Aug-14 3:49 
GeneralRe: Hi Jochen, Need help again Pin
Swap91-Aug-14 4:37
Swap91-Aug-14 4:37 
GeneralRe: Hi Jochen, Need help again Pin
Jochen Arndt3-Aug-14 21:17
professionalJochen Arndt3-Aug-14 21:17 
GeneralRe: Hi Jochen, Need help again Pin
Swap93-Aug-14 22:11
Swap93-Aug-14 22:11 
GeneralRe: migration from Visual studio 6 Pin
Swap929-Jul-14 5:15
Swap929-Jul-14 5:15 
GeneralRe: migration from Visual studio 6 Pin
Jochen Arndt29-Jul-14 5:17
professionalJochen Arndt29-Jul-14 5:17 
GeneralRe: migration from Visual studio 6 Pin
Swap929-Jul-14 5:25
Swap929-Jul-14 5:25 
GeneralRe: migration from Visual studio 6 Pin
Swap929-Jul-14 5:43
Swap929-Jul-14 5:43 
GeneralRe: migration from Visual studio 6 Pin
Jochen Arndt29-Jul-14 5:52
professionalJochen Arndt29-Jul-14 5:52 
GeneralRe: migration from Visual studio 6 Pin
Swap929-Jul-14 6:27
Swap929-Jul-14 6:27 
GeneralRe: migration from Visual studio 6 Pin
Swap929-Jul-14 22:41
Swap929-Jul-14 22:41 
GeneralRe: migration from Visual studio 6 Pin
Jochen Arndt29-Jul-14 22:45
professionalJochen Arndt29-Jul-14 22:45 

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.