Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: sf::Image default constructor warnings with gdb (Mac OS X)  (Read 1966 times)

0 Members and 1 Guest are viewing this topic.

zepto

  • Newbie
  • *
  • Posts: 5
    • View Profile
sf::Image default constructor warnings with gdb (Mac OS X)
« on: April 02, 2010, 09:30:15 pm »
Hello, I get some warnings if I step into the default sf::Image constructor when debugging with gdb. (only in Mac OS X Snow Leopard)
Here's the minimal code, using the SFML 1.5 libraries:

Code: [Select]

#include <SFML/Graphics.hpp>

int main()
{
    sf::RenderWindow App(sf::VideoMode(640, 480, 32), "SFML Graphics");

    sf::Image image; // this line of code produces warnings

    while (App.IsOpened())
    {
        sf::Event Event;
        while (App.GetEvent(Event))
        {
            if (Event.Type == sf::Event::Closed)
                App.Close();
        }

        App.Clear();
        App.Display();
    }

    return EXIT_SUCCESS;
}



And this is one of a lot of very similar warnings when debugging: (all warnings would fill the entire page probably)

Code: [Select]

warning: Could not find object file "/Users/lucas/release-sfml-1.5/SFML-1.5-sdk-macosx/build/xcode/build/SFML.build/Release/sfml-graphics.build/Objects-normal/i386/Color.o" - no debug information available for "/Users/lucas/release-sfml-1.5/SFML-1.5-sdk-macosx/build/xcode/../../src/SFML/Graphics/Color.cpp".


Note that I don't even have a user named lucas on my system... so what do you think?