discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: segfault on solaris10/sparc


From: Yavor Doganov
Subject: Re: segfault on solaris10/sparc
Date: Fri, 20 Jun 2014 09:04:16 +0000 (UTC)
User-agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2)

В Fri, 20 Jun 2014 10:14:18 +0200, Riccardo Mottola написа:

> I wonder if we can foce executing the test without opt. flags  or
> complicate so that it doesn't get optimized..

That's easy, it is already done for other tests.

Before the test:
saved_CFLAGS="$CFLAGS"
CFLAGS=

...test...

And then restore them after the test:

CFLAGS="$saved_CFLAGS"

> config.align.c: In function 'main':
> config.align.c:13:16: warning: incompatible implicit declaration of
> built-in function 'malloc'
>     char  *buf = malloc(30);

Missing #include <stdlib.h>.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]