--===============2414712698216290859== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/129935/#review102448 ----------------------------------------------------------- Ship it! Ship It! - Christoph Feck On Feb. 8, 2017, 10:04 a.m., Antonio Larrosa Jimenez wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.org/r/129935/ > ----------------------------------------------------------- > > (Updated Feb. 8, 2017, 10:04 a.m.) > > > Review request for kdelibs. > > > Repository: kdelibs > > > Description > ------- > > This fixes building with GCC 7 which fails with > "ISO C++ forbids comparison between pointer and integer [-fpermissive]" > > > Diffs > ----- > > kdeui/windowmanagement/netwm.cpp 0c8b0a7d455f40327a03c685b7a7ff2beda901e0 > > Diff: https://git.reviewboard.kde.org/r/129935/diff/ > > > Testing > ------- > > I checked that building with GCC 7 shows: > /usr/src/packages/BUILD/kdelibs-4.14.28/kdeui/windowmanagement/netwm.cpp: In member function 'void NETWinInfo::update(const long unsigned int*)': > /usr/src/packages/BUILD/kdelibs-4.14.28/kdeui/windowmanagement/netwm.cpp:4371:48: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] > p->blockCompositing = (data_ret != None); > ^~~~ > > and the submitted commit fixes this. > > > Thanks, > > Antonio Larrosa Jimenez > > --===============2414712698216290859== MIME-Version: 1.0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit
This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/129935/

Ship it!

Ship It!

- Christoph Feck


On February 8th, 2017, 10:04 a.m. CET, Antonio Larrosa Jimenez wrote:

Review request for kdelibs.
By Antonio Larrosa Jimenez.

Updated Feb. 8, 2017, 10:04 a.m.

Repository: kdelibs

Description

This fixes building with GCC 7 which fails with
"ISO C++ forbids comparison between pointer and integer [-fpermissive]"

Testing

I checked that building with GCC 7 shows: /usr/src/packages/BUILD/kdelibs-4.14.28/kdeui/windowmanagement/netwm.cpp: In member function 'void NETWinInfo::update(const long unsigned int*)': /usr/src/packages/BUILD/kdelibs-4.14.28/kdeui/windowmanagement/netwm.cpp:4371:48: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] p->blockCompositing = (data_ret != None); ^~~~

and the submitted commit fixes this.

Diffs

  • kdeui/windowmanagement/netwm.cpp (0c8b0a7d455f40327a03c685b7a7ff2beda901e0)

View Diff

--===============2414712698216290859==--