diff options
| author | Thiago Macieira <thiago.macieira@intel.com> | 2014-02-27 14:00:26 -0800 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-08 00:21:53 +0100 |
| commit | 51f7ef800ee84f9cbc0e1f742c2d869f887bd5ed (patch) | |
| tree | f75837b28dc88a4c27b3e826761cc95611a02434 /src/widgets/doc/snippets/qtablewidget-using/mainwindow.cpp | |
| parent | d1e2235553733876e97c2b65ef2e8d85889fa9ea (diff) | |
Make Q_NULLPTR be NULL on C++98
Some compilers actually have a C++11-like null pointer constant in C++98
mode:
$ gcc -dM -E -include stddef.h -xc++ /dev/null | grep NULL
#define NULL __null
$ icc -dM -E -include stddef.h -xc++ /dev/null | grep NULL
#define NULL __null
$ clang -dM -E -include stddef.h -xc++ /dev/null | grep NULL
#define NULL __null
Change-Id: Ie0bcaf36fed6ad27e761a0a24332817129128571
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/widgets/doc/snippets/qtablewidget-using/mainwindow.cpp')
0 files changed, 0 insertions, 0 deletions
