home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / windows / x / apps / 1500 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.1 KB  |  35 lines

  1. Path: sparky!uunet!think.com!ames!agate!garnet.berkeley.edu!dcook
  2. From: dcook@garnet.berkeley.edu (Dan Cook)
  3. Newsgroups: comp.windows.x.apps
  4. Subject: A general problem compiling C programs.
  5. Date: 17 Nov 1992 21:37:46 GMT
  6. Organization: University of California, Berkeley
  7. Lines: 23
  8. Distribution: world
  9. Message-ID: <1ebonaINNoro@agate.berkeley.edu>
  10. NNTP-Posting-Host: garnet.berkeley.edu
  11.  
  12. I have been having a recurring problem when I try to make
  13. some of the public domain applications... During compilation
  14. of some C programs I will get an error along the lines of:
  15.  
  16. Parameter list cannot contain fewer parameters than required by 
  17. macro definition.
  18.  
  19. This usually occurs (when it happens) in an include (header?, *.h
  20. type file) in a line such as:
  21.  
  22. extern  void *memcpy();
  23.  
  24.  
  25. where memcpy has already been used in a macro definition such as
  26.  
  27. #define DFmovmem(from, to, len) memcpy(to, from, len)
  28.  
  29.  
  30. I am attempting to compile this code on an ibm RS6k... Is this a simple
  31. thing or am I going to need to get hold of an experienced C-programmer
  32. (which I am not) to help me get this sorted out?
  33.  
  34. -uncle dan
  35.