Weird problem when working with iterators
Christian Ehrlicher
Ch.Ehrlicher at gmx.de
Fri Oct 15 06:50:42 CEST 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Please take a look at your sourcecode. This sin't a qt-problem so far.
look here:
cout << verboseString;
Must crash, no matter if initialised or not (simply call programm
without arguments and verboseString-latin1() gives you "\0").
verboseOpts = QStringList::split(',',a.argv()[argpos+1]);
Crashes when argpos + 1 >= argc (simply call programm just with "-v")
"QStringList::Iterator it" is defined twice (msvc 6.0 is stupid here)/
shadows another definition in for().
!strcmp(*it,"none")
this also can't work since strcmp compares char* and not QString.
Christian
Mario L schrieb:
| I am having some very odd issues when working with an application with
| iterators. I linked it against a mingw build of qt3-3-branch compiled
| with jpeg sql-mysql mng png gif. I compile and link with mingw.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFBb1cinNKwkgf+zVMRAiLqAJwLYhvfS0zselDvT1MXqAeoyQHhhwCgpUj3
PvZlU/D3V53jPwEuv68GpJc=
=hGQo
-----END PGP SIGNATURE-----
More information about the kde-cygwin
mailing list