Small build problem, 2a14

From: Michael Yount <>
Date: Tue, 16 Feb 1999 21:35:23 -0800
Message-Id: <>

Building 2a14 from CVS (linux/i386, egcs 1.1.1, glibc 2.0.106), the build failed with...   

gcc -g -O2 -DHYPERTEST -o htestrdmsg mbox2hypermail.c mbox2hypermail.c:33: macro `strcpy' used without args make[1]: *** [htestrdmsg] Error 1

The problem is that glibc 2.0.106 (and likely 2.1) defines strcpy as a macro through string.h, and the prototype is expanded.

Commenting out the prototype fixed the problem in my case. Could someone more knowledgeable suggest a more elegant solution?



Received on Wed 17 Feb 1999 06:26:12 PM GMT

This archive was generated by hypermail 2.3.0 : Sat 13 Mar 2010 03:46:11 AM GMT GMT