[Mono-devel-list] gcc4, rawhide and libgdiplus

Paul paul at all-the-johnsons.co.uk
Tue Mar 15 10:37:17 EST 2005


Hi,

> > To that end, I've entered it the Redhat bugzilla
> > 
> > https://bugzilla.redhat.com/beta/show_bug.cgi?id=151152
> > 
> > Hopefully, this will be sorted quickly...

> Please fill a bug into bugzilla.ximian.com and assign it to me. I'll
> look into that as soon as possible. 

Will do. In the meantime, just had this back

jakub at redhat.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |CLOSED
         Resolution|                            |NOTABUG

------- Additional Comments From jakub at redhat.com  2005-03-15 10:03 EST
-------
The problem is just that the testcase you provided violates ISO C
standards,
nothing else.
Older GCC versions were warning (resp. erroring out) on this just with
-pedantic, now this warning is on by default, see:
http://gcc.gnu.org/ml/gcc-patches/2004-07/msg01284.html
It can be turned off with -Wno-pointer-sign, but it is better to
actually
fix the code.
The reason why you get warnings about strlen etc. is that optimized
strcmp
in <bits/string2.h> is implemented as a #define that uses strlen etc.
internally.
If you compile with -O0 or -D__NO_STRING_INLINES, you get the warning
just about
strcmp.

TTFN

Paul
-- 
"It is often said that something cannot be libel if it is the truth.
This has had to be amended to 'something cannot be libel if it is the
truth or if the bank balance says otherwise'" - US Today
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050315/42e7e989/attachment.bin 


More information about the Mono-devel-list mailing list