Martin Liska : include: Avoid compound literals for WCHAR strings.

Alexandre Julliard julliard at winehq.org
Wed Jun 12 16:44:24 CDT 2019


Module: wine
Branch: master
Commit: 9afc341c4f043240f0dc3de6351550b03d24b131
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=9afc341c4f043240f0dc3de6351550b03d24b131

Author: Martin Liska <mliska at suse.cz>
Date:   Mon Jun 10 10:57:32 2019 +0200

include: Avoid compound literals for WCHAR strings.

Starting from GCC 9, compound liferal's scope has changed:
https://www.gnu.org/software/gcc/gcc-9/porting_to.html#complit

Signed-off-by: Martin Liska <mliska at suse.cz>
Signed-off-by: Marcus Meissner <meissner at suse.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wldap32/winldap_private.h |  18 +++--
 include/bcrypt.h               | 157 ++++++++++++++++++++++++-------------
 include/commctrl.h             | 131 +++++++------------------------
 include/commdlg.h              |  35 ++-------
 include/d3dcompiler.h          |   4 +-
 include/ddeml.h                |  13 +---
 include/ddk/mountmgr.h         |   5 +-
 include/dpaddr.h               |  38 +--------
 include/lmaccess.h             |  16 +---
 include/msacm.h                |  15 +---
 include/ntsecapi.h             |   6 +-
 include/oledlg.h               |  12 +--
 include/prsht.h                |   5 +-
 include/richedit.h             |   8 +-
 include/schannel.h             |  30 ++------
 include/sddl.h                 |  14 +---
 include/softpub.h              |  62 ++-------------
 include/uxtheme.h              |   7 +-
 include/vsstyle.h              | 141 +++++++---------------------------
 include/vssym32.h              |  44 +++--------
 include/wincrypt.h             | 170 +++++++++--------------------------------
 include/winnls.h               |   8 +-
 include/winnt.h                |  34 +--------
 include/winspool.h             | 116 +++++++---------------------
 include/winsvc.h               |   5 +-
 include/wintrust.h             |   5 +-
 26 files changed, 296 insertions(+), 803 deletions(-)

Diff:   https://source.winehq.org/git/wine.git/?a=commitdiff;h=9afc341c4f043240f0dc3de6351550b03d24b131



More information about the wine-cvs mailing list