Mailinglist Archive: opensuse (2532 mails)

< Previous Next >
Re: [opensuse] strtof problem - what am I doing wrong?
  • From: Andreas Jaeger <aj@xxxxxxx>
  • Date: Sun, 04 May 2008 11:47:51 +0200
  • Message-id: <87abj6cse0.fsf@xxxxxxx>
"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’

Andreas
--
Andreas Jaeger, Director Platform / openSUSE, aj@xxxxxxx
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
Maxfeldstr. 5, 90409 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
< Previous Next >
Follow Ups
References