2011/2/23 Dongsheng Song :
> On Wed, Feb 23, 2011 at 17:20, Kai Tietz wrote:
>>
>> >> Hmm, that NULL isn't defined is the issue. So it looks for me more
>> >> like a missing header include of stddef.h, or stdlib.h.
>> >
>> > Yes, but since Linux GCC and MS VC no need include the extra header
>> >
On Wed, Feb 23, 2011 at 17:20, Kai Tietz wrote:
> >> Hmm, that NULL isn't defined is the issue. So it looks for me more
> >> like a missing header include of stddef.h, or stdlib.h.
> >
> > Yes, but since Linux GCC and MS VC no need include the extra header
> files, I
> > think
> > this should co
2011/2/23 Dongsheng Song :
> On Wed, Feb 23, 2011 at 16:20, Kai Tietz wrote:
>>
>> 2011/2/23 Dongsheng Song :
>> > Sorry, here is the update source can be compiled by MS VC:
>> >
>> > $ cat have_sse.c
>> > #include
>> > #include
>> >
>> > jmp_buf env;
>> > int have_sse_unit = 1;
>> >
>> > void i
On Wed, Feb 23, 2011 at 16:20, Kai Tietz wrote:
> 2011/2/23 Dongsheng Song :
> > Sorry, here is the update source can be compiled by MS VC:
> >
> > $ cat have_sse.c
> > #include
> > #include
> >
> > jmp_buf env;
> > int have_sse_unit = 1;
> >
> > void illegal_instruction_catcher(int ignore) {
>
2011/2/23 Dongsheng Song :
> Sorry, here is the update source can be compiled by MS VC:
>
> $ cat have_sse.c
> #include
> #include
>
> jmp_buf env;
> int have_sse_unit = 1;
>
> void illegal_instruction_catcher(int ignore) {
> signal(SIGILL, SIG_DFL);
> longjmp(env, 1);
> }
>
> unsigned int ss
Sorry, here is the update source can be compiled by MS VC:
$ cat have_sse.c
#include
#include
jmp_buf env;
int have_sse_unit = 1;
void illegal_instruction_catcher(int ignore) {
signal(SIGILL, SIG_DFL);
longjmp(env, 1);
}
unsigned int sse_get_control() {
unsigned int cw;
#ifdef _MSC_VER
Hi,
Here is the bugs exposed by Parma Polyhedra Library. In setjmp manual, the
only required head
file is setjmp.h, but mingw-w64 is not the case, here is a example:
$ cat have_sse.c
#include
#include
jmp_buf env;
int have_sse_unit = 1;
void illegal_instruction_catcher(int ignore) {
signal