URL: 
https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=39ec5f8ec20a5ee0c916629e4556ab16270f0208
Submitter: "Anders Broman <a.broma...@gmail.com>"
Changed: branch: master
Repository: wireshark

Commits:

39ec5f8 by Peter Wu (pe...@lekensteyn.nl):

    CMake: allow nested structures to be initialized via { 0 }
    
    This is already permitted since C89 and popular compilers seem to
    support it (including Clang 3.0 - 7.0, GCC 4.1.2 - 8.2 and MSVC 2015).
    GCC used to be buggy: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119
    
    C89 6.5.7. Initialization: "only enough initializers from the list are
    taken to account for the members of the subaggregate".
    
    Change-Id: Ic59b9fe71e2d3ce60b4b7d1074f8d84af01a817a
    Reviewed-on: https://code.wireshark.org/review/30968
    Petri-Dish: Peter Wu <pe...@lekensteyn.nl>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broma...@gmail.com>
    

Actions performed:

    from  4160f10   proto: make ws_type_to_elastic static.
     add  39ec5f8   CMake: allow nested structures to be initialized via { 0 }


Summary of changes:
 CMakeLists.txt | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
___________________________________________________________________________
Sent via:    Wireshark-commits mailing list <wireshark-commits@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-commits
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-commits
             mailto:wireshark-commits-requ...@wireshark.org?subject=unsubscribe

Reply via email to