Package: prc-tools-m68k Version: 2.2.90.cvs20030306-5 Severity: minor File: /usr/m68k-palmos/include/math.h
----------<snip>---------------------------------------------------- /* * floatingpoint-test.c - test floatingpoint definitions * * Compile with * * m68k-palmos-gcc -o floatingpoint-test.o -c floatingpoint-test.c * * and enjoy these warning messages: * * In file included from floatingpoint-test.c:17: * /usr/lib/gcc-lib/m68k-palmos/2.95.3-kgpd/../../../../m68k-palmos/include/math.h:48: warning: conflicting types for built-in function `cos' * /usr/lib/gcc-lib/m68k-palmos/2.95.3-kgpd/../../../../m68k-palmos/include/math.h:138: warning: conflicting types for built-in function `sin' * /usr/lib/gcc-lib/m68k-palmos/2.95.3-kgpd/../../../../m68k-palmos/include/math.h:142: warning: conflicting types for built-in function `sqrt' * */ #include <math.h> float testit() { const float a = sin(12.3); const float b = cos(15.2); const float c = sqrt(1.15); return a+b+c; } ----------<snip>---------------------------------------------------- It seems that /usr/m68k-palmos/include/math.h defines the functions as: extern float cos ( float xx ); extern float sin ( float xx ); extern float sqrt ( float xx ); while something else defines them as extern double cos ( double xx ); extern double sin ( double xx ); extern double sqrt ( double xx ); but the functions which actually get linked to the binary are float indeed, not double. -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (990, 'testing'), (800, 'unstable'), (100, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.11-rc2-vs1.9.4-rc3-ndim-1 Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Versions of packages prc-tools-m68k depends on: ii libc6 2.3.2.ds1-21 GNU C Library: Shared libraries an ii libgcc1 1:4.0-0pre10 GCC support library ii libncurses5 5.4-4 Shared libraries for terminal hand ii libstdc++5 1:3.3.5-8 The GNU Standard C++ Library v3 ii prc-tools-utils 2.2.90.cvs20030306-5 Development toolchain for PDAs usi -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]