Re: g++ without typecast
ern0 <[email protected]> Fri, 11 Mar 2011 13:23:38 +0100
| Newsgroups | org.kernel.vger.linux-c-programming |
|---|---|
| Message-ID | <[email protected]> |
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