code_junkie

Anyone knows how to fix compile error: LNK2005? (Source Code inside)

Nov 13th, 2011
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. using namespace std;
  2.  
  3. typedef struct {
  4. DWORD address;
  5. DWORD size;
  6. char file[64];
  7. DWORD line;
  8. } ALLOC_INFO;
  9.  
  10. typedef list<ALLOC_INFO*> AllocList;
  11. //AllocList *allocList;
  12.  
  13. extern AllocList *allocList;
  14.  
  15. AllocList *allocList;
  16.  
  17. inline void * __cdecl operator new(
  18. unsigned int size,
  19. const char *file,
  20. int line);
  21.  
  22. extern AllocList *allocList;
Add Comment
Please, Sign In to add comment