From: Larry Evans (cppljevans_at_[hidden])
Date: 2004-01-02 09:29:21
The forwarded message suggests a change to avoid the following compile
como -c --long_long --display_error_number --diag_suppress 76
Comeau C/C++ 4.3.3 (Oct 24 2003 16:00:23) for RedHat_LINUX_INTEL_ELF
Copyright 1988-2003 Comeau Computing. All rights reserved.
MODE:non-strict warnings C++
line 296: error #20:
identifier "sigjmp_buf" is undefined
static sigjmp_buf& jump_buffer()
I tried changing v1/como-tools.jam with following line:
flags como DEFINES <define> : _POSIX_SOURCE ;
but it had no effect. Maybe someone else knows how to make the change?
--------------010802050609000204070407 Content-Type: message/rfc822;
name="Re: -D_POSIX_SOURCE needed for sigjmp_buf"
filename="Re: -D_POSIX_SOURCE needed for sigjmp_buf"
Received: from [220.127.116.11] by fe3.cox-internet.com
(InterMail vK.4.04.00.03 201-232-140-20030416 license ac98e04b23802b25ff26d48c352bda07)
with ESMTP id <20040102062510.BMFF11367.email@example.com>
for <cppljevans_at_[hidden]>; Fri, 2 Jan 2004 00:25:10 -0600
X-Filter-Reason: Magic; 119; 4294967295; E7FC4F32B0800D79DEFF84EF028F7200
X-Mail-Filter: Corvigo MailGate 1.6-8
Received: from mta6.cox-internet.com (unknown [18.104.22.168])
by 22.214.171.124 (Corvigo MailGate) with ESMTP id 4313EFE61
for <cppljevans_at_[hidden]>; Fri, 2 Jan 2004 00:24:33 -0600 (CST)
Received: from mail3.panix.com (mail3.panix.com [126.96.36.199])
by mta6.cox-internet.com (8.12.10/8.12.10) with ESMTP id i026P12f026368
for <cppljevans_at_[hidden]>; Fri, 2 Jan 2004 00:25:01 -0600 (CST)
Received: from mailspool3.panix.com (mailspool3.panix.com [188.8.131.52])
by mail3.panix.com (Postfix) with ESMTP id 1C381983B2
for <cppljevans_at_[hidden]>; Fri, 2 Jan 2004 01:25:00 -0500 (EST)
Received: by mailspool3.panix.com (Postfix, from userid 1012)
id 3D72682DAB; Fri, 2 Jan 2004 01:24:59 -0500 (EST)
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.2
Date: Fri, 02 Jan 2004 01:22:23 -0500
To: Larry Evans <cppljevans_at_[hidden]>
From: Comeau Computing <comeau_at_[hidden]>
Subject: Re: -D_POSIX_SOURCE needed for sigjmp_buf
Content-Type: text/plain; charset="us-ascii"; format=flowed
At 09:46 PM 1/1/2004 -0600, Larry Evans wrote:
>On 01/01/2004 06:17 PM, Comeau Computing wrote:
>>At 03:21 PM 1/1/2004 -0600, Larry Evans wrote:
>>Right, if you want POSIX routines, you'd define _POSIX_SOURCE, similarly,
>>for SVID, use _SVID_SOURCE. Not sure what you mean by "better
>>way". If that's an essential aspect to that compile, perhaps it's best
>>to build it into that build, or all rules involving LINUX builds???
>By "better way" I meant possibly there was someway to configure the
>compiler to always define _POSIX_SOURCE. I'm sure
>boost would need this since, with their current test library, the build of
It can get defined by virtue of use the --g++ option, however, normally
customers want to be able to make that choice, which is why there is no
default per se. There are some assumptions and/or requirements made in
the boost code that I don't think we fully understand yet, and/or
assumptions about the Comeau compiler's modes, apparently even moreso with
the boost code for Windows too. With 4.3.3 now released, we hope to be
able to look at this further during 1Q2004. That said, adding in the
respecting -D's might be something to add to como-tools.jams DEFINE settings?
Comeau C/C++ 4.3.3: Full C++03 core language + more Windows backends
Comeau C/C++ ONLINE ==> http://www.comeaucomputing.com/tryitout
World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90.
Comeau C/C++ with Dinkumware's Libraries. Have you tried it?
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk