Author Topic: Warnings on compiling  (Read 1842 times)

pidhash

  • Guest
Warnings on compiling
« on: 25 April 2006, 13:04:04 »
I getting some warnings messages on gcc-4.0.2 :

shared_lib/sources/../include/graphics/buffer.h:45: warning: ‘class Shared::Graphics::IndexBuffer’ has virtual functions but non-virtual destructor

adding a virtual destructor seems to fix that.
excuse me if here is not right place for this information, Im new on glest : )

Thanks to consider.
« Last Edit: 1 January 1970, 00:00:00 by pidhash »

martiño

  • Behemoth
  • *******
  • Posts: 1,095
    • View Profile
(No subject)
« Reply #1 on: 25 April 2006, 22:36:53 »
It is alright, but this class is not used in the game at all, I was plannig on making some sort of wrapper for vertex/index buffers, but is not done yet.
« Last Edit: 1 January 1970, 00:00:00 by martiño »