summaryrefslogtreecommitdiff
path: root/DEVELOPING.md
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2017-08-07 12:04:08 (GMT)
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2017-08-07 14:20:33 (GMT)
commit761f506578ce8e32451d1980ed84d3bd0a05a504 (patch)
treea02d2ccbd3213eb00686469d4ce50dd2ea3271ac /DEVELOPING.md
parent897824273ffde777b9d7ae86c3c8178f6075ee26 (diff)
downloadqtlocation-mapboxgl-761f506578ce8e32451d1980ed84d3bd0a05a504.tar.gz
[core] Do not use polymorphic lambda
Crashes with GCC 5.2.0 needed by Qt Automotive. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68278
Diffstat (limited to 'DEVELOPING.md')
-rw-r--r--DEVELOPING.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/DEVELOPING.md b/DEVELOPING.md
index c5c5c53..f70d1f9 100644
--- a/DEVELOPING.md
+++ b/DEVELOPING.md
@@ -110,3 +110,14 @@ constexpr bool test2(int i) {
- Either remove `constexpr` specifier or replace it with `inline` in case of
functions
+
+
+## [Polymorphic lambdas](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68278)
+
+GCC 5.2.0 crashes with polymorphic lambdas and this version of the compiler
+is currently used in Qt Automotive. Luckily polymorphic lambdas are rarely
+used/needed but we had one incident fixed by #9665.
+
+### Workarounds
+
+- Copy & Paste™ the code.