stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: 18.exception.cpp test on Cygwin
Date Wed, 08 Aug 2007 18:27:15 GMT
Farid Zaripov wrote:
>   The 18.exception.cpp test fails to compile on gcc 3.4.4/Cygwin.

Do you have a suggestion for a fix? If not, can you please open
an issue for the problem in Jira?

Martin

> 
> -----------
> 18.exception.cpp: In function `void test_runtime()':
> 18.exception.cpp:929: error: `setjmp' is not a member of `std'
> 18.exception.cpp: In function `int run_test(int, char**)':
> 18.exception.cpp:1023: error: `setjmp' is not a member of `std'
> -----------
> 
>   The reason is that setjmp macro is not #defined in
> /usr/include/setjmp.h and
> setjmp() function not introduced in namespace std:: in
> include/ansi/csetjmp.
> 
>   18.exception.cpp file (line 66):
> ---------
> #  ifdef setjmp
> #    define RW_SETJMP(env)       setjmp (env)
> #  else
> #    define RW_SETJMP(env)       std::setjmp (env)
> #  endif
> ---------
> 
> Farid.


Mime
View raw message