1 |
On 13-05-2008 20:09:02 +0200, Bacchella Fabrice wrote: |
2 |
> I have done more test. I have the problem even with this simple programm : |
3 |
> #include <math.h> |
4 |
> int main() |
5 |
> { |
6 |
> double d = -HUGE_VAL; |
7 |
> } |
8 |
> |
9 |
> gcc -std=gnu99 test.c |
10 |
> test.c: In function `main': |
11 |
> test.c:4: error: wrong type argument to unary minus |
12 |
> |
13 |
> without std=gnu99, I have no problems. |
14 |
> |
15 |
> gcc -std=c99 test.c |
16 |
> test.c: In function `main': |
17 |
> test.c:4: error: wrong type argument to unary minus |
18 |
> |
19 |
> You guys who can compile findutils, can you check this code and see if it |
20 |
> succeed on Solaris 10 ? |
21 |
|
22 |
You're using Sun provided GCC, so I'm sure I'll have the same on all of |
23 |
my systems. Thanks for the extensive research on the issue. Did you |
24 |
report this upstream, by chance? For now I would suggest to bootstrap |
25 |
on Solaris using an older findutils. Once you have a newer GCC I |
26 |
believe the code compiles fine. I've added findutils3 target for this, |
27 |
installing 4.3.11 again. Please report if that works. |
28 |
|
29 |
|
30 |
-- |
31 |
Fabian Groffen |
32 |
Gentoo on a different level |
33 |
-- |
34 |
gentoo-alt@l.g.o mailing list |