Yes, that's the output I see. Your proposed compile line is obviously not reproduceable, because the output from gnustep-config depends on how you installed -make. On my machine, with libobjc2 and clang trunk, I compiled with:
$ clang -fobjc-runtime=gnustep-1.6 ./proptest.m -lgnustep-base -fobjc-arc and: $ clang -fobjc-runtime=gnustep-1.7 ./proptest.m -lgnustep-base -fobjc-arc In both cases, it printed: foo bar David On 9 Apr 2013, at 17:35, Maxthon Chan <[email protected]> wrote: > The example I gave should output two lines, "foo" and "bar", and nothing else. > > 在 2013-4-10,上午12:23,David Chisnall <[email protected]> 写道: > >> To clarify: >> >> A simple test case is one that is a single file that I can compile, with no >> dependencies other than the runtime, and which prints some output that is >> obviously right or wrong, or which asset()s the correct output. >> >> David >> >> On 9 Apr 2013, at 17:19, Maxthon Chan <[email protected]> wrote: >> >>> I will just copy/paste some code from my actual project. Compile without >>> -DGNUSTEP: >>> >> >> [ big blob of stuff omitted ] >> >>> >>> 在 2013-4-10,上午12:13,David Chisnall <[email protected]> 写道: >>> >>>> Please send me a (simple) test case. >>>> >>>> David >>>> >>>> On 9 Apr 2013, at 17:10, Maxthon Chan <[email protected]> wrote: >>>> >>>>> When I enumerate a class for all its properties and querying its name, >>>>> the name of last property is always cobbled. I have to use some "quick & >>>>> dirty" way (i.e add a dummy property at the end) to prevent this from >>>>> affecting. OS X does not have this issue, though. >>>>> >>>>> Can anyone figure out what is wrong? >>>>> _______________________________________________ >>>>> Gnustep-dev mailing list >>>>> [email protected] >>>>> https://lists.gnu.org/mailman/listinfo/gnustep-dev >>>> >>> >> > > > _______________________________________________ > Gnustep-dev mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/gnustep-dev _______________________________________________ Gnustep-dev mailing list [email protected] https://lists.gnu.org/mailman/listinfo/gnustep-dev
