# New Ticket Created by  Andy Dougherty 
# Please include the string:  [perl #18008]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=18008 >


On a fresh checkout, I'm getting the following test failure.  I'm pretty
sure this is new today.

$ perl -Ilib t/src/list.t
1..1
Use of uninitialized value in concatenation (.) or string at lib/Test/Builder.pm line 
999.
# Failed to build 't/src/list_1': ld: fatal: file t/src/list_1.o: open failed: No such 
file or directory
# ld: fatal: File processing errors. No output written to t/src/list_1
# No tests run!

Alas, that output isn't very informative.  The problem is the C
compiler is failing to compile the test code.  If I run it manually, I get

"t/src/list_1.c", line 112: cannot do pointer arithmetic on operand of unknown size
"t/src/list_1.c", line 120: cannot do pointer arithmetic on operand of unknown size
"t/src/list_1.c", line 127: cannot do pointer arithmetic on operand of unknown size
"t/src/list_1.c", line 130: cannot do pointer arithmetic on operand of unknown size
"t/src/list_1.c", line 137: cannot do pointer arithmetic on operand of unknown size
"t/src/list_1.c", line 171: cannot do pointer arithmetic on operand of unknown size
"t/src/list_1.c", line 175: cannot do pointer arithmetic on operand of unknown size

cc: acomp failed for t/src/list_1.c

Line 112 is (the other failing lines are similar).

        list_push(interpreter, list, (void*) 'a'+i, enum_type_char);

So, there are really two problems here:

1.  Can we somehow get more useful error messages out of c_output_is()?
(Yes, I know about $ENV{POSTMORTEM}.  It doesn't do anything here that I
can detect.)

2.  Can someone who understands the tests fix the casts in t/src/list.t?

Thanks,

    Andy Dougherty              [EMAIL PROTECTED]



Reply via email to