On 03/30/2016 04:28 PM, Brad Town wrote:
> That branch failed to build on my Mac with both MacPorts and Homebrew. I
> get the following errors:
>
> [...]
Thanks for testing! I'll add fixes for these errors.
> I also got a lot of these warnings:
>
> #warning Testing noui version
I added these warnings during testing; I'll be sure they get removed.
> And the following warnings:
>
> tads/tads3/vmrun.cpp:2555:21: warning: logical not is only applied
> to the left hand side of this comparison [-Wlogical-not-parentheses]
> if (true_for_cond(valp))
> ^~~~~~~~~~~~~~~~~~~
> tads/tads3/vmrun.cpp:1103:32: note: expanded from macro 'true_for_cond'
> || ((v)->typ == VM_INT && !(v)->val.intval == 0))
> ^ ~~
> tads/tads3/vmrun.cpp:2555:21: note: add parentheses after the '!' to
> evaluate the comparison first
> tads/tads3/vmrun.cpp:1103:32: note: expanded from macro 'true_for_cond'
> || ((v)->typ == VM_INT && !(v)->val.intval == 0))
> ^
> tads/tads3/vmrun.cpp:2555:21: note: add parentheses around left hand
> side expression to silence this warning
> tads/tads3/vmrun.cpp:1103:32: note: expanded from macro 'true_for_cond'
> || ((v)->typ == VM_INT && !(v)->val.intval == 0))
This is unmodified TADS source; it looks like the compiler's just being
overly cautious, as the code appears fine.
I've got a more complete branch locally here that I've been doing some
testing on since pushing the previous branch. It brings in more
functionality from FrobTADS. Once I get it pushed, would you be willing
to do another build test to ensure it gets working on OS X?
Thank you again for the feedback, I appreciate it.
Chris