Mailinglist Archive: opensuse (2532 mails)
| < Previous | Next > |
Re: [opensuse] strtof problem - what am I doing wrong?
- From: Jan Engelhardt <jengelh@xxxxxxxxxx>
- Date: Sun, 4 May 2008 21:49:59 +0200 (CEST)
- Message-id: <alpine.LNX.1.10.0805042149490.11757@xxxxxxxxxxxxxxxxxxxxxxxxx>
On Sunday 2008-05-04 11:47, Andreas Jaeger wrote:
"David C. Rankin" <drankinatty@xxxxxxxxxxxxxxxxxx> writes:
[...]
The code compiles without error or warning with: "gcc -o
prg/tmp src/tmp.c" Here is the bewildering output:
Let me just comment on this one since others helped you already:
Use gcc -O1 -Wall to get full warnings (without any optimisation, you
will get less warnings, and by default you get no warnings).
Output here is:
t.c: In function ‘main’:
t.c:23: warning: implicit declaration of function ‘strtof’
In the end, just use strtod :)
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |