Skip to content
  • Tim Janik's avatar
    define NULL as (0L) if __cplusplus is defined, to avoid "ANSI C++ forbids · 4944d4df
    Tim Janik authored
    Wed Sep 22 01:53:18 1999  Tim Janik  <timj@gtk.org>
    
            * glib.h (NULL): define NULL as (0L) if __cplusplus is defined, to
            avoid "ANSI C++ forbids implicit conversion from `void *' in argument
            passing" errors upon NULL usage in C++ programs (gcc-2.95 is on crack
            for erroring out on this, instead of just issueing a warning).
    
            * glib.h (g_trash_stack_pop): use uncasted NULL again.
    4944d4df
To find the state of this project's repository at the time of any of these versions, check out the tags.