[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GCC 3.4.1 and warning
From: |
Manuel Guesdon |
Subject: |
GCC 3.4.1 and warning |
Date: |
Wed, 22 Dec 2004 20:21:14 +0100 (CET) |
With gcc 3.4.1, ASSIGNCOPY() produce a warning: "warning: use of cast
expressions as lvalues is deprecated"
Here is a patch (removing the (id) before object = ):
diff NSObject.h.old NSObject.h.new
470c470
< (id)object = __value; \
---
> object = __value; \
Manuel
--
______________________________________________________________________
Manuel Guesdon - OXYMIUM <address@hidden>
14 rue Jean-Baptiste Clement - 93200 Saint-Denis - France
Tel: +33 1 4940 0999 - Fax: +33 1 4940 0998
- GCC 3.4.1 and warning,
Manuel Guesdon <=