Hello, bellabs wrote:
Hello RM! Thank you for your hard try and advice! You may have misunderstood me, I know the expected result of this source code because I have tested it in linux environment before this, I just want you to test why that program I have compiled under windows 10 does not work on my machine, I want to know whether it is a problem of my system or gnustep itself, I am currently using debugger I'm currently using the debugger to try to find out where the root of the problem is, even my debugger is not working properly at the moment, but to help anyone who will encounter this problem at the same time in the future, I'll definitely find a way to fix it.
Well, I gave you the proof that your code works on windows, but using the msys2 and gcc runtime setup.
You might want to allocate a NSAutoreleasePool.. maybe it helps.
I'm using libobjc2+clang to keep the source code consistent across platforms and compatible with the modern objc standard specification, since I'm currently using clang+libobjc2 on all the systems I'm working on.
Your choice... Riccardo