Hello all,
This is very odd. In order to do an alphanumeric sort of folders/files in a tree, I coded my own little QSort. Only the data between the items is swapped - no pointers are harmed.
This was heavily tested on Windows 32|64-bit and MacOS PPC (CodeWarrior) using the same folders/files - solid! Enter Xcode. Xcode, bless its little brain, creates code that crashes on the QSort call under odd circumstances. I can't decide if this is a stack issue (though it doesn't appear to be) or some other quirk.
MacOS 10.4.9 Intel
Xcode 2.4.1
C++
SDK plugin (dynamic library)
Any ideas?
Thank you very much,
Robert
This is very odd. In order to do an alphanumeric sort of folders/files in a tree, I coded my own little QSort. Only the data between the items is swapped - no pointers are harmed.
This was heavily tested on Windows 32|64-bit and MacOS PPC (CodeWarrior) using the same folders/files - solid! Enter Xcode. Xcode, bless its little brain, creates code that crashes on the QSort call under odd circumstances. I can't decide if this is a stack issue (though it doesn't appear to be) or some other quirk.
MacOS 10.4.9 Intel
Xcode 2.4.1
C++
SDK plugin (dynamic library)
Any ideas?
Thank you very much,
Robert