Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <002501c05aad$e7b03220$8b0c4ea8@kepri.re.kr> From: "Jong B. Lee" To: Subject: DDD : compile error Date: Thu, 30 Nov 2000 18:14:12 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="ks_c_5601-1987" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id EAA12035 Dear cygwin users, When I compile DDD-3.2.1, the following error occurs. -------------------------------------------------------------------------- c++ -DHAVE_CONFIG_H -DNDEBUG -O2 -g -W -Wall -trigraphs -c -I. -I. -I./.. -isystem /usr/local/include -isystem /usr/X11R6/include -o sigName.o sigName.C sigName.C:46: declaration of C function `char * strsignal(int)' conflicts with /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-5/../../../../include/string.h:70: previous declaration `const char * strsignal(int)' here make[1]: *** [sigName.o] Error 1 --------------------------------------------------------------------------- /usr/include/string.h:70 is : const char *_EXFUN(strsignal, (int __signo)); ddd-3.2.1/ddd/sigName.c:46 is : extern "C" char *strsignal(int signo); Making it ( extern "C" const char *strsignal(int signo); ) causes other errors in ddd. Changing the cygwin's string.h does not work, either. What should I do?