From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,b329d9dd775a1991 X-Google-Attributes: gidfa528,public Path: controlnews3.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!news.compaq.com!news.cpqcorp.net!53ab2750!not-for-mail From: "Tom Woodburn" Newsgroups: comp.unix.tru64 References: <10a0lkg80cjtq32@corp.supernews.com> Subject: Re: Compaq C++ signals with -std strict_ansi X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Message-ID: Date: Wed, 12 May 2004 18:13:13 GMT NNTP-Posting-Host: 16.140.16.145 X-Complaints-To: abuse@HP.com X-Trace: news.cpqcorp.net 1084385593 16.140.16.145 (Wed, 12 May 2004 11:13:13 PDT) NNTP-Posting-Date: Wed, 12 May 2004 11:13:13 PDT Organization: Hewlett-Packard Company Xref: controlnews3.google.com comp.unix.tru64:45 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 . 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