Hello,
when I do man exp10, it appears that this function should be in the math library. However, when I look inside /usr/include/math.h, there is no function like exp10! Where is the declaration of this function?
Wihtout, I get: error: implicit declaration of function ‘exp10’ [-Werror=implicit-function-declaration]
What is wrong?
Thank for your help.
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France ===========================================================================
On Tue, Oct 15, 2013 at 01:22:16PM +0200, Patrick Dupre wrote:
Hello,
when I do man exp10, it appears that this function should be in the math library.
You are clearly missing the #define _GNU_SOURCE /* See feature_test_macros(7) */ #include <math.h> at the beginning of the man page.
Jakub