This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: a warning to implement


>>>>> "Akim" == Akim Demaille <akim@epita.fr> writes:

Akim> I won't answer about int, but for instance for int *,

Akim>         int *a = a;

Akim> is very helpful: it allows me to introduce distinguished
Akim> pointers, in addition to NULL.  It's used for instance in the
Akim> idutils's lib/hash.c.

Arg.  Stupid me.  Of course I meant

        void *a = &a;

which makes my point moot as its no longer a = a.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]