On 03/11/2011 12:42 PM, ratheesh k wrote:
Is there any flag or anyother way thru which we could compile this using g++ ( without explicit type cast )
AFAIK there's no syntax for define pointer constant values in the source code.
Don't afraid casting, it costs nothing. If you wanna use pointer constant values for special meanings, give them a name and #define it, just like NULL (which means "points to no object/struct/etc").
-- ern0 dataflow programmer -- To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html