help-gnustep
[Top][All Lists]
Advanced

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

Upgrade Core to 0.20.2 from 0.19.2 [GNUstep/Windows]


From: Samantha Rahn
Subject: Upgrade Core to 0.20.2 from 0.19.2 [GNUstep/Windows]
Date: Sun, 19 Oct 2008 03:44:07 -0400

BASE ENVIRONMENT

    http://ftpmain.gnustep.org/pub/gnustep/binaries/windows/
    gnustep-system-0.19.2-setup.exe
    gnustep-core-0.19.2-setup.exe

        My code compiles and runs perfectly. GDB automatically loads
        symbols of each DLL as necessary and steps into the source
        code of my frameworks.


CHANGED ENVIRONMENT

    Remove 0.19 packages (Add/Remove)
    Add 0.20 packages:
    gnustep-system-0.20.1-setup.exe
    gnustep-core-0.20.2-setup.exe


    Problem 1 (WITH WORKAROUND):

        Now my code gives many hundreds of "dereferencing type-punned
        pointer will break strict-aliasing rules" compiler warnings
        for simple things like:

        NSUserDefaults      *ud   = [NSUserDefaults standardUserDefaults];
        NSMutableDictionary *dict = [NSMutableDictionary dictionary];

        Adding the -fno-strict-aliasing compiler switch eliminates
        these warnings.

        QUESTION: Is this the right thing to do? Am I going to lose
        some optimization? Is there a better solution?


    Problem 2 (UNSOLVED):

        GDB no longer automatically loads DLL symbols and therefore
        will not step into the source code of my own frameworks.

        I tried using the GDB command dll-symbols, but then GDB just
        hangs.

        QUESTION: I am up the creek (and puzzled). Need help, please!


reply via email to

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