Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Building on OSX without warnings.
04-13-2007, 02:19 AM,
#1
Building on OSX without warnings.
The source I checked out from SVN throws a handfull of warnings at me when building on OSX. These are easily fixed as follows:

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).

The function texturedPolygon() in SDL_gfxPrimitives.c has two returns without a value (around line 3586). I assume it should return -1 there.

I know these warnings aren't a big deal but it's nice if the project builds cleanly. Is there any chance of having these changes applied to the source repository by someone who has the required permissions?

Thanks.
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 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)