Ovm_warning reporter [ILLEGALNAME]

Hi all,
I’m getting this warning message and I would like to know why and how to avoid it:
OVM_WARNING @ 215445931887: reporter [ILLEGALNAME] ‘rd_data_q.rd_data_q[0]’ is not a legal c identifier name, changed to
OVM_WARNING @ 215445931887: reporter [ILLEGALNAME] ‘rd_data_q_rd_data_q_0_’. Attributes must be named as a legal c identifier.

This message appears after end_tr() function is called in ovm_monitor component. Message is regarding a queue that I have in my sequence item. Why is this message appearing and how can I avoid it? It’s making my log file bigger and harder to read because of this messages.
Any help or tips?

Kind regards,

Srdjan

This message is appearing because you are using the built-in OVM package that comes with Questa and uses its transaction recording package. Because you will later need to reference these transactions in the GUI, the names are restricted to C/Verilog identifiers.

You can use this setting to remove the message

ovm_top.set_report_id_action_hier(“ILLEGALNAME”,UVM_NO_ACTION);

In reply to dave_59:

Hi Dave,
thanks for your reply and help, it solved my problem.

BR,
Srdjan