summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/tools_patternist_qapplicationargumentparser.cpp
diff options
context:
space:
mode:
authorBernhard Rosenkraenzer <bero@arklinux.ch>2009-09-01 08:40:49 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2009-09-01 08:44:33 (GMT)
commitf39ead322f7b2e485cc6767b609eb5bc8a10b0ea (patch)
treec9c90e82d7c776a81cd92ff5f28cd541dbe9860a /doc/src/snippets/code/tools_patternist_qapplicationargumentparser.cpp
parentaa71e8492b02be079312d39033a54209fb80f9aa (diff)
downloadQt-f39ead322f7b2e485cc6767b609eb5bc8a10b0ea.zip
Qt-f39ead322f7b2e485cc6767b609eb5bc8a10b0ea.tar.gz
Qt-f39ead322f7b2e485cc6767b609eb5bc8a10b0ea.tar.bz2
qlist.h uses memcpy() without including <string.h> or <cstring>
Attempting to make use of the inlined QList::node_copy without including <string.h> or <cstring> with gcc 4.4 results in (e.g.) /usr/lib64/qt4/include/QtCore/qlist.h: In member function "void QList<T>::node_copy(QList<T>::Node*, QList<T>::Node*, QList<T>::Node*) [with T = net::Port]": /usr/lib64/qt4/include/QtCore/qlist.h:600: instantiated from "void QList<T>::detach_helper() [with T = net::Port]" /usr/lib64/qt4/include/QtCore/qlist.h:121: instantiated from "void QList<T>::detach() [with T = net::Port]" /usr/lib64/qt4/include/QtCore/qlist.h:462: instantiated from "void QList<T>::append(const T&) [with T = net::Port]" /usr/src/ark/BUILD/kdenetwork/kget/transfer-plugins/bittorrent/libbtcore/net/portlist.cpp:54: instantiated from here /usr/lib64/qt4/include/QtCore/qlist.h:388: error: "memcpy" was not declared in this scope Task-number: reported, but not yet assigned a number Merge-request: 1388 Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
Diffstat (limited to 'doc/src/snippets/code/tools_patternist_qapplicationargumentparser.cpp')
0 files changed, 0 insertions, 0 deletions