Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Building on OSX without warnings.
04-13-2007, 06:31 AM,
#3
Re: Building on OSX without warnings.
Marty Wrote:Move the -Wno-non-virtual-dtor option from "Other Warning Flags" to "Other C++ flags" so that it doesn't get applied to C files (Double click on the vdrift target, select "GNU C/C++ Compiler 4.0" from "Collection" option, cut and paste as appropriate).
i will do that.
i'd really like to see these warnings fixed instead of telling the compiler to shut up about them ;-)

Marty Wrote:The function texturedPolygon() in SDL_gfxPrimitives.c has two returns without a value (around line 3586). I assume it should return -1 there.
i don't think we should touch SDL_gfxPrimitives since it isn't our code.
(although the auther is receptive to patches, you can send this fix directly to him if you want)
actually adding these files to the project was stop-gap hack....i will include a proper framework for SDL_gfx in the future.
Reply


Messages In This Thread
Building on OSX without warnings. - by Marty - 04-13-2007, 02:19 AM
[No subject] - by thelusiv - 04-13-2007, 02:26 AM
Re: Building on OSX without warnings. - by abs1nth - 04-13-2007, 06:31 AM
Re: Building on OSX without warnings. - by Marty - 04-13-2007, 12:20 PM
[No subject] - by abs1nth - 04-14-2007, 07:05 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)