Re: Compaq C++ signals with -std strict_ansi
From: Tom Woodburn (woodburn_at_zk3.dec.com)
Date: 05/12/04
- Previous message: Eric de Redelijkheid: "Worldwide language support"
- In reply to: Tim Mooney: "Compaq C++ signals with -std strict_ansi"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 12 May 2004 18:13:13 GMT
Tim,
> Can anyone explain why `-std strict_ansi' has such a stripped
> down set of defines and declarations when signal.h is included?
That stripped down set is all that the C standard library allows
in <signal.h>. When you use the '-std strict_ansi' option, you're
telling the compiler to follow the C++ standard strictly and that
includes using a pure C name space (which is what the
__PURE_CNAME symbol in the header refers to).
For details, see the -pure_cname option in the cxx(1) man page.
Tom Woodburn
HP
- Previous message: Eric de Redelijkheid: "Worldwide language support"
- In reply to: Tim Mooney: "Compaq C++ signals with -std strict_ansi"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]