xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Initial Version and Version 1 of Ticket #151


Ignore:
Timestamp:
06/22/12 17:19:26 (9 years ago)
Author:
Antoine Martin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #151

    • Property Status changed from new to accepted
  • Ticket #151 – Description

    initial v1  
    1 Most of these ones look fixable:
    2 {{{
    3 wimpiggy/lowlevel/bindings.c: In function '__Pyx_PyBoolOrNull_FromLong':
    4 wimpiggy/lowlevel/bindings.c:643:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    5 wimpiggy/lowlevel/bindings.c:643:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    6 wimpiggy/lowlevel/bindings.c: In function '__pyx_pf_8wimpiggy_8lowlevel_8bindings_36is_mapped':
    7 wimpiggy/lowlevel/bindings.c:6429:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    8 wimpiggy/lowlevel/bindings.c:6429:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    9 wimpiggy/lowlevel/bindings.c: In function '__pyx_f_8wimpiggy_8lowlevel_8bindings_xmodmap_setkeycodes':
    10 wimpiggy/lowlevel/bindings.c:10147:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    11 wimpiggy/lowlevel/bindings.c:10147:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    12 wimpiggy/lowlevel/bindings.c: In function '__pyx_f_8wimpiggy_8lowlevel_8bindings__get_raw_modifier_mappings':
    13 wimpiggy/lowlevel/bindings.c:10890:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    14 wimpiggy/lowlevel/bindings.c:10890:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    15 wimpiggy/lowlevel/bindings.c:10916:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    16 wimpiggy/lowlevel/bindings.c:10916:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    17 wimpiggy/lowlevel/bindings.c: In function '__pyx_f_8wimpiggy_8lowlevel_8bindings_xmodmap_clearmodifier':
    18 wimpiggy/lowlevel/bindings.c:11762:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    19 wimpiggy/lowlevel/bindings.c:11762:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    20 wimpiggy/lowlevel/bindings.c: In function '__pyx_f_8wimpiggy_8lowlevel_8bindings_xmodmap_addmodifier':
    21 wimpiggy/lowlevel/bindings.c:11933:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    22 wimpiggy/lowlevel/bindings.c:11933:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    23 wimpiggy/lowlevel/bindings.c:12370:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    24 wimpiggy/lowlevel/bindings.c:12370:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    25 wimpiggy/lowlevel/bindings.c: In function '__pyx_pf_8wimpiggy_8lowlevel_8bindings_70unpress_all_keys':
    26 wimpiggy/lowlevel/bindings.c:12881:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    27 wimpiggy/lowlevel/bindings.c:12881:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    28 wimpiggy/lowlevel/bindings.c: In function '__pyx_f_8wimpiggy_8lowlevel_8bindings_native_xmodmap':
    29 wimpiggy/lowlevel/bindings.c:13509:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    30 wimpiggy/lowlevel/bindings.c:13509:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    31 wimpiggy/lowlevel/bindings.c: In function '__pyx_f_8wimpiggy_8lowlevel_8bindings__ensure_extension_support':
    32 wimpiggy/lowlevel/bindings.c:14779:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    33 wimpiggy/lowlevel/bindings.c:14779:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    34 wimpiggy/lowlevel/bindings.c:14936:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    35 wimpiggy/lowlevel/bindings.c:14936:11: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    36 wimpiggy/lowlevel/bindings.c: In function '__pyx_pf_8wimpiggy_8lowlevel_8bindings_90displayHasXComposite':
    37 wimpiggy/lowlevel/bindings.c:15236:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    38 wimpiggy/lowlevel/bindings.c:15236:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    39 wimpiggy/lowlevel/bindings.c:15326:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    40 wimpiggy/lowlevel/bindings.c:15326:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    41 wimpiggy/lowlevel/bindings.c: In function '__pyx_pf_8wimpiggy_8lowlevel_8bindings_102has_randr':
    42 wimpiggy/lowlevel/bindings.c:16259:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    43 wimpiggy/lowlevel/bindings.c:16259:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    44 wimpiggy/lowlevel/bindings.c:16317:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    45 wimpiggy/lowlevel/bindings.c:16317:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    46 wimpiggy/lowlevel/bindings.c: In function '__pyx_f_8wimpiggy_8lowlevel_8bindings__set_screen_size':
    47 wimpiggy/lowlevel/bindings.c:16859:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    48 wimpiggy/lowlevel/bindings.c:16859:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    49 wimpiggy/lowlevel/bindings.c:16940:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    50 wimpiggy/lowlevel/bindings.c:16940:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    51 wimpiggy/lowlevel/bindings.c:16957:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    52 wimpiggy/lowlevel/bindings.c:16957:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    53 wimpiggy/lowlevel/bindings.c: In function '__pyx_f_8wimpiggy_8lowlevel_8bindings_x_event_filter':
    54 wimpiggy/lowlevel/bindings.c:24704:15: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    55 wimpiggy/lowlevel/bindings.c:24704:15: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    56 wimpiggy/lowlevel/bindings.c:25133:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    57 wimpiggy/lowlevel/bindings.c:25133:7: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
    58 }}}
     1Most of these ones look fixable: "{{{warning: dereferencing type-punned pointer will break strict-aliasing rules}}}" in {{{wimpiggy/lowlevel/bindings.c}}}:
     2* {{{__Pyx_PyBoolOrNull_FromLong}}}: twice
     3* {{{is_mapped}}}: twice
     4* {{{xmodmap_setkeycodes}}}: twice
     5* {{{get_raw_modifier_mappings}}}: 4 times
     6* {{{xmodmap_clearmodifier}}}: twice
     7* {{{xmodmap_addmodifier}}}: 4 times
     8* {{{unpress_all_keys}}}: twice
     9* {{{native_xmodmap}}}: twice
     10* {{{ensure_extension_support}}}: 4 times
     11* {{{displayHasXComposite}}}: 4 times
     12* {{{has_randr}}}: 4 times
     13* {{{set_screen_size}}}: 6 times
     14* {{{x_event_filter}}}: 4 times
     15
    5916
    6017This one is not (just recording it here) since it needs to be fixed in (py)gtk:
     
    6320                 from /usr/include/pygtk-2.0/pygtk/pygtk.h:8,
    6421                 from wimpiggy/lowlevel/bindings.c:278:
    65 /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
     22/usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: \
     23    warning: function declaration isn't a prototype [-Wstrict-prototypes]
    6624}}}
    6725