qt5base-lts/tests/auto/other/compiler
Tomasz Olszak 8ddaf5c741 Gcc 4.5.* build fix.
Q_COMPILER_DEFAULT_MEMBERS and Q_COMPILER_DELETE_MEMBERS are now set
starting from gcc 4.6. Pre-4.6 compilers implement a non-final snapshot
of N2346, hence default and delete functions are supported only if they
are public. Starting from 4.6, GCC handles final version - the access
modifier is not relevant. Compiler error:

  qsharedpointer_impl.h:717:31: error:
  'QEnableSharedFromThis<T>::QEnableSharedFromThis()' declared with non-public access cannot be defaulted in the class body

Change-Id: If1d3d4696f91912a09ca72bd4aa1fb07f491a0cb
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2014-10-10 13:20:30 +02:00
..
.gitignore Moved autotests in category 'other' into new directory structure 2011-09-09 09:36:41 +02:00
baseclass.cpp Update license headers and add new license files 2014-09-24 12:26:19 +02:00
baseclass.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
compiler.pro Expand the compiler test with C++11 and C++14 compiler tests 2014-06-27 08:27:03 +02:00
derivedclass.cpp Update license headers and add new license files 2014-09-24 12:26:19 +02:00
derivedclass.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
othersource.cpp Update license headers and add new license files 2014-09-24 12:26:19 +02:00
tst_compiler.cpp Gcc 4.5.* build fix. 2014-10-10 13:20:30 +02:00