> From: Rob McMahon
> With Sun Studio 12:
> out the settings of CWARN). Unfortunately, Sun have added gcc
> __attribute__ to the compiler, and the configure script overloads this
> To get going, as a quick hack, I patched configure thusly:
>
> --- configure.bak Mon Sep 24 05:30:49 2007
> +++ configure Mon Sep 24 12:04:52 2007
> @@ -1278,2 +1278,3 @@
> EOF
> + if test "ac_cv_prog_gcc" = yes; then
> eval `gcc -v 2>&1 \
> @@ -1287,2 +1288,6 @@
> CWARN="CWARN"
> + else
> + CWARN="#CWARN"
> + CWARN34="#CWARN"
> + fi
> else
I see two possible permanent fixes:
1. change
eval `gcc -v 2>&1 \
to
eval `${CC-cc} -v 2>&1 \
2. turn off all of the warnings in the code I ship
Almost no one pays attention to them.
Is there a preference for either, both, or neither?
Does #1 work? I think it will, but I don't have a Sun Studio 12
system on which to make the test.
Thanks for observing, diagnosing, and reporting the bug.
Vernon Schryver [EMAIL PROTECTED]
_______________________________________________
DCC mailing list [email protected]
http://www.rhyolite.com/mailman/listinfo/dcc