home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!think.com!ames!agate!garnet.berkeley.edu!dcook
- From: dcook@garnet.berkeley.edu (Dan Cook)
- Newsgroups: comp.windows.x.apps
- Subject: A general problem compiling C programs.
- Date: 17 Nov 1992 21:37:46 GMT
- Organization: University of California, Berkeley
- Lines: 23
- Distribution: world
- Message-ID: <1ebonaINNoro@agate.berkeley.edu>
- NNTP-Posting-Host: garnet.berkeley.edu
-
- I have been having a recurring problem when I try to make
- some of the public domain applications... During compilation
- of some C programs I will get an error along the lines of:
-
- Parameter list cannot contain fewer parameters than required by
- macro definition.
-
- This usually occurs (when it happens) in an include (header?, *.h
- type file) in a line such as:
-
- extern void *memcpy();
-
-
- where memcpy has already been used in a macro definition such as
-
- #define DFmovmem(from, to, len) memcpy(to, from, len)
-
-
- I am attempting to compile this code on an ibm RS6k... Is this a simple
- thing or am I going to need to get hold of an experienced C-programmer
- (which I am not) to help me get this sorted out?
-
- -uncle dan
-