Mailinglist Archive: opensuse (1690 mails)
| < Previous | Next > |
Re: [opensuse] c - Segmentation fault on 11.4 - need help figuring out (strtod?)
- From: Cristian Rodríguez <crrodriguez@xxxxxxxxxxxx>
- Date: Wed, 02 Nov 2011 16:27:25 -0300
- Message-id: <4EB1999D.9010907@opensuse.org>
On 02/11/11 16:11, Cristian Rodríguez wrote:
It would be easy to spot at compile time if GCC did something meaningful
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17308 , 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
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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17308 , 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 > |