Billions and Billions of Warnings
by Seth Willits · in Torque Game Engine · 11/21/2004 (11:17 pm) · 1 replies
So I decided to make a real Xcode project for Torque (because using the current Project Builder project changes how Xcode behaves) and upon compiling I was amazed to see how many warnings there are in Torque. I mean, there are 103 of different types:
The vast majority of them are all type conversion warnings like:
There are others though that seem more serious, so I'm not so sure they're all harmless, but I suppose they all are since it seems to work?
The vast majority of them are all type conversion warnings like:
warning: assignment to 'S32' from 'float' warning: argument to 'int' from 'float' warning: assignment to 'S32' from 'F64' warning: argument to 'int' from 'F64' warning: passing 'float' for argument 1 of 'Point2I::Point2I(int, int)' warning: passing 'float' for argument 2 of 'Point2I::Point2I(int, int)' warning: assignment to 'U32' from 'F32' warning: argument to 'unsigned int' from 'F32' warning: assignment to 'U8' from 'F32' warning: argument to 'unsigned char' from 'F32' warning: integer constant is too large for "long" type warning: return to 'S32' from 'double' warning: argument to 'int' from 'double' warning: integer constant is too large for "long" type warning: return to 'int' from 'float' warning: argument to 'int' from 'float'
There are others though that seem more serious, so I'm not so sure they're all harmless, but I suppose they all are since it seems to work?
About the author
http://www.sethwillits.com/
Torque Owner Seth Willits