🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x.apps
Article #589

A general problem compiling C programs.

#589
From: Dan Cook
Date: Tue, 17 Nov 1992 21:37
23 lines
1132 bytes
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
Technical Details
Message-ID: <1ebonaINNoro@agate.berkeley.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!think.com!ames!agate!garnet.berkeley.edu!dcook

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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