Hi, Bill.

I found the cause of this problem in the train to home :-)

Tokenizer generated from dt_lex.l source recognizes token
before "[]" as IDENTIFIER, even though it is placed
at type name position.

So, "bar(foo_t[])" means that parameter named as "foot_t"
has no type information, and causes compilation failure.

I confirmed that attached patch can fix this problem
on onnv_111(OpenSolaris 2009.06) environment.

# but may cause another problem :-P

If you have source tree to build libdtrace.so, please apply the patch,
build libdtrace.so, and replace libdtrace.so by new one.

# LD_PRELOAD_32/64 are usefull for safe temporary replacement
-- 
This message posted from opensolaris.org

Attachment: 6494528.patch
Description: Binary data

_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to