Re: [gtk-list] Re: Gtk and C++ ?
- From: Valdis Kletnieks vt edu
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: Gtk and C++ ?
- Date: Tue, 19 Oct 1999 16:56:59 -0400
On Tue, 19 Oct 1999 15:35:10 EDT, Owen Taylor <otaylor@redhat.com> said:
> #define NULL 0
> #include <gtk/gtk.h>
Just remember that this may cause other problems elsewhere - ANSI also
specifies NULL as a (void *) 0 if I remember right.. If you make this change,
you'll know about it at compile time - if it compiles you're OK. It will
only bite you if you try to pass that zero to something that REALLY wants
a 'void *'...
--
Valdis Kletnieks
Computer Systems Senior Engineer
Virginia Tech
PGP signature
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]