Re: About math function
- From: Olexiy Avramchenko <aolexiy gmail com>
- To: Demon Zhu <demon ovt com cn>
- Cc: gtk-list gnome org
- Subject: Re: About math function
- Date: Thu, 19 Jan 2006 09:27:03 +0200
On 1/19/06,
Demon Zhu <
demon ovt com cn> wrote:
Hello everyone,
Although i have used #include <math.h>, cc
compiler
reports 'redundant redeclaration' and 'undefined
reference to round'.
Which header file should be included to using math
function?
It's not a question of gnome, but i have no other
mailist.Sorry
Hi,
Read 'man round'. It says that round() conforms to C99, so you have to pass '-std=c99' as an option to gcc.
Olexiy
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]