bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bugs #9601] NSMutableSet gcc-3.3.4 compiler error


From: Richard Frith-Macdonald
Subject: [bugs #9601] NSMutableSet gcc-3.3.4 compiler error
Date: Tue, 24 Aug 2004 06:21:18 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.1) Gecko/20040802 Debian/1.7.1-5

This mail is an automated notification from the bugs tracker
 of the project: GNUstep.

/**************************************************************************/
[bugs #9601] Latest Modifications:

Changes by: 
                Richard Frith-Macdonald <rfm@gnu.org>
'Date: 
                Tue 08/24/04 at 08:23 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Invalid
              Status | Open                      | Declined


------------------ Additional Follow-up Comments ----------------------------
Presumably you have a +set method which returns void.
Arguably, the compiler should know that it should use the +set belonging top 
the NSSet class rather than your other +set method. That's perhaps an issue to 
take up with the gcc maintainers?
In any case, this is not a base library bug.






/**************************************************************************/
[bugs #9601] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=9601>
Project: GNUstep
Submitted by: Chad Hardin
On: Fri 07/09/04 at 12:46

Category:  Base/Foundation
Severity:  3 - Ordinary
Item Group:  Bug
Resolution:  Invalid
Privacy:  Public
Assigned to:  None
Status:  Declined


Summary:  NSMutableSet gcc-3.3.4 compiler error

Original Submission:  For some reason I get the following compiler error:

error: void value not ignored as it ought to be

When doing a:

NSMutableSet *set;
set = [NSMutableSet set];

when using gcc verson 3.3.4 on i686 and gnustep cvs.

my workaround was to do a:
 
set = [NSMutableSet setWithCapacity:1];

which worked fine.  Strange.



Follow-up Comments
------------------


-------------------------------------------------------
Date: Tue 08/24/04 at 08:23         By: Richard Frith-Macdonald <CaS>
Presumably you have a +set method which returns void.
Arguably, the compiler should know that it should use the +set belonging top 
the NSSet class rather than your other +set method. That's perhaps an issue to 
take up with the gcc maintainers?
In any case, this is not a base library bug.












For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=9601>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/







reply via email to

[Prev in Thread] Current Thread [Next in Thread]