This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

isinf


Hi,

Why does the compilation of b.c fail, while that of a.c succeeds with
gcc-4.0.0 or later?  Compilaton with gcc-3.4.4 both failed.

% gcc -v
Using built-in specs.
Target: sparc-sun-solaris2.9
Configured with: ../gcc/configure --disable-nls --with-gmp=/usr/local --with-mpfr=/usr/local
Thread model: posix
gcc version 4.0.2 20050707 (prerelease)
% gcc a.c
% gcc b.c
Undefined			first referenced
 symbol  			    in file
isinf                               /tmp/ccSOxuGb.o
ld: fatal: Symbol referencing errors. No output written to a.out
collect2: ld returned 1 exit status

Attachment: a.c
Description: Binary data

Attachment: b.c
Description: Binary data

-- 
Hiroshi Fujishima

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]