1 |
Le 8 mai 08 à 16:35, Bacchella Fabrice a écrit : |
2 |
> |
3 |
> When I download it from gnu, do a ./configure ; make, it works |
4 |
> perfectly with Sun Workshop and brokes using gcc either with a 32 or |
5 |
> 64 bits compilation.-- |
6 |
> gentoo-alt@l.g.o mailing list |
7 |
> |
8 |
I have done more test. I have the problem even with this simple |
9 |
programm : |
10 |
#include <math.h> |
11 |
int main() |
12 |
{ |
13 |
double d = -HUGE_VAL; |
14 |
} |
15 |
|
16 |
gcc -std=gnu99 test.c |
17 |
test.c: In function `main': |
18 |
test.c:4: error: wrong type argument to unary minus |
19 |
|
20 |
without std=gnu99, I have no problems. |
21 |
|
22 |
gcc -std=c99 test.c |
23 |
test.c: In function `main': |
24 |
test.c:4: error: wrong type argument to unary minus |
25 |
|
26 |
You guys who can compile findutils, can you check this code and see if |
27 |
it succeed on Solaris 10 ? |
28 |
|
29 |
My gcc : |
30 |
gcc -v |
31 |
Reading specs from /usr/sfw/lib/gcc/i386-pc-solaris2.10/3.4.3/specs |
32 |
Configured with: /builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/ |
33 |
configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as -- |
34 |
with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ -- |
35 |
enable-shared |
36 |
Thread model: posix |
37 |
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath) |
38 |
|
39 |
Do you have the same ?-- |
40 |
gentoo-alt@l.g.o mailing list |