[PyQt] Dealing with GCC/LLVM warning: zero as null pointer constant [-Wzero-as-null-pointer-constant]
Stefan Brüns
stefan.bruens at rwth-aachen.de
Sat Sep 29 15:29:18 BST 2018
On Dienstag, 28. August 2018 22:41:55 CEST Phil Thompson wrote:
> On 28 Aug 2018, at 9:03 pm, Brüns, Stefan <Stefan.Bruens at rwth-aachen.de>
wrote:
> > On Dienstag, 28. August 2018 20:09:57 CEST Brüns, Stefan wrote:
> >> On Dienstag, 28. August 2018 19:38:48 CEST Phil Thompson wrote:
> >>> On 28 Aug 2018, at 6:18 pm, Brüns, Stefan <Stefan.Bruens at rwth-aachen.de>
> >>
> >> According to
> >> https://msdn.microsoft.com/en-us/library/b0084kay.aspx it is defined for
> >> C++, but has the value 199711 ...
> >>
> >> This is fixed with MSVC 15.7 Pre 3:
> >> https://blogs.msdn.microsoft.com/vcblog/2018/04/09/msvc-now-correctly-rep
> >> ort s-__cplusplus/
> >>
> >> _MSVC_LANG can be used meanwhile.
> >
> > If you are interested, I can send patches for the nullptr warning, and
> > also
> > for the -Wsuggest-override and -Wcast-function-type warnings.
>
> Sure, but keep in mind that sip can generate C as well as C++ bindings and
> needs to support MSVC2005.
>
> Phil
Patches just hit the ML.
Kind regards,
Stefan
--
Stefan Brüns / Bergstraße 21 / 52062 Aachen
home: +49 241 53809034 mobile: +49 151 50412019
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part.
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180929/1b9e9150/attachment.sig>
More information about the PyQt
mailing list