Mailinglist Archive: opensuse (1690 mails)

< Previous Next >
Re: [opensuse] c - Segmentation fault on 11.4 - need help figuring out (strtod?)
On 02/11/11 16:11, Cristian Rodríguez wrote:
On 02/11/11 15:33, David C. Rankin wrote:

So where is this segfault coming from?

It would be easy to spot at compile time if GCC did something meaningful , but as we all know,
it is made to make the programmer's life miserable.

it should tell you:

warning: null argument where non-null required (argument 1)
because the prototypes of strtod() clearly says that argument 1 should
be non-null...

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >