Skip to content
  • Emmanuele Bassi's avatar
    docs: Document pitfall of deprecation pragmas · 50dcccc5
    Emmanuele Bassi authored and Philip Withnall's avatar Philip Withnall committed
    As we discovered in gtk#1280, GCC considers the pragmas to control
    the deprecation warnings as statements. This means we cannot just use
    the GLib wrappers as markers around the call site, but we must be aware
    of their side effects.
    
    Let's document this, to avoid falling into the trap.
    50dcccc5