bug-gnustep
[Top][All Lists]
Advanced

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

[bug #13031] Archive-unarchive of data objects does not work on PowerPC


From: anonymous
Subject: [bug #13031] Archive-unarchive of data objects does not work on PowerPC
Date: Mon, 9 May 2005 01:16:12 +0000
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.2.1) Gecko/20030228

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13031>

                 Summary: Archive-unarchive of data objects does not work on
PowerPC
                 Project: GNUstep
            Submitted by: None
            Submitted on: Sun 05/08/2005 at 21:16
                Category: Base/Foundation
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

I'm using YellowDog Linux 3.0 with gcc-3.2.3 and GNUstep startup-0.10.2

The following sequence does not work:

NSColor * red = [NSColor redColor];
NSData * redAr = [NSArchiver archivedDataWithRootObject: red];
NSColor * redU = [NSUnarchiver unarchiveObjectWithData: redAr];

redU is not a valid NSColor object. Same story using NSFont objects. Same
story using NSKeyedArchiver. This code works under Mac OS X. This is probably
something specific to the PowerPC architecture; byte-order maybe?






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=13031>

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





reply via email to

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