Article View: gnu.g++.bug
Article #119ssignal redefined i386-sco
From: John X. Laporta
Date: Wed, 08 Apr 1992 19:09
Date: Wed, 08 Apr 1992 19:09
38 lines
1376 bytes
1376 bytes
Bull ProStation running PWS UNIX 1.3.4.0 based on SCO SysV 3.2.2
PROBLEM:
Building src/bin/examples/clock/clock.cc from the
GO package from contrib on export.lcs.mit.edu
Using GCC 2.1 and libg++-2.0
clock.cc includes signal.h
g++-include/signal.h has #include_next <signal.h>
g++-include/signal.h defines ssignal()
/usr/include/signal.h defines ssignal() differently
compiler reports redefinition as an error when
#include <signal.h> appears in source code.
SOLUTION:
change g++-include/signal.h "#include_next <signal.h>"
to "#include_next <sys/signal.h>" (two places)
REPORT:
With this change the compile succeeds.
--
John X. Laporta
Senior Software Engineer
Bull Worldwide Information Systems, Inc.
M.S. MA30-806A
300 Concord Road
Billerica MA 01821
FAX (508) 294-0108
email: jxl@pwx.bull.com
!uunet!zion!know!laporta
Technical Details
Message-ID:
<JXL.92Apr8150939@krell.pwx.bull.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!krell.pwx.bull.com!jxlShow Full Headers
Complete Article Headers
Newsgroups: gnu.g++.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!krell.pwx.bull.com!jxl From: jxl@krell.pwx.bull.com (John X. Laporta) Subject: ssignal redefined i386-sco Message-ID: <JXL.92Apr8150939@krell.pwx.bull.com> Sender: gnulists@ai.mit.edu Reply-To: <news@pws.ma30.bull.com> Organization: Bull Worldwide Information Systems Inc. Distribution: gnu Date: Wed, 8 Apr 1992 19:09:39 GMT Approved: bug-g++@prep.ai.mit.edu Lines: 39