# Can I disable warning message during compilation

**URL:** <https://verificationacademy.com/forums/t/can-i-disable-warning-message-during-compilation/36425>\
**Category:** UVM\
**Tags:** UVM\
**Created:** [August 19, 2019, 12:59pm UTC](https://verificationacademy.com/forums/t/can-i-disable-warning-message-during-compilation/36425 "2019-08-19T12:59:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tech\_savvy](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/t/d2c977/32.png) [@tech\_savvy](https://verificationacademy.com/forums/u/tech_savvy)\
**Post date:** [August 19, 2019, 12:59pm UTC](https://verificationacademy.com/forums/t/can-i-disable-warning-message-during-compilation/36425/1 "2019-08-19T12:59:38Z")

</div>

Certain component is throwing warning during compile time, so can I disable warning messages of that particular component during compile time?

---

<div class="post-metadata">

**Author:** ![chr\_sue](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/chr_sue/32/1199_2.png) [@chr\_sue](https://verificationacademy.com/forums/u/chr_sue)\
**Post date:** [August 19, 2019, 1:24pm UTC](https://verificationacademy.com/forums/t/can-i-disable-warning-message-during-compilation/36425/2 "2019-08-19T13:24:13Z")

</div>

_In reply to [tech\_savvy](https://verificationacademy.com/forums/t/can-i-disable-warning-message-during-compilation/36425):_

If you do not show the warning it is impossible to give you an advice.  
But you should consider any warning.

---

<div class="post-metadata">

**Author:** ![tech\_savvy](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/t/d2c977/32.png) [@tech\_savvy](https://verificationacademy.com/forums/u/tech_savvy)\
**Post date:** [August 20, 2019, 1:05am UTC](https://verificationacademy.com/forums/t/can-i-disable-warning-message-during-compilation/36425/3 "2019-08-20T01:05:00Z")

</div>

_In reply to [chr\_sue](https://verificationacademy.com/forums/t/can-i-disable-warning-message-during-compilation/36425/2):_

@chr_sue warning is:- Suspicious constant type for with\_expression in bin.

So I want to disable this warning given by coverage which is a separate component.

---

<div class="post-metadata">

**Author:** ![chr\_sue](https://verificationacademy.com/forums/user_avatar/verificationacademy.com/chr_sue/32/1199_2.png) [@chr\_sue](https://verificationacademy.com/forums/u/chr_sue)\
**Post date:** [August 20, 2019, 6:22am UTC](https://verificationacademy.com/forums/t/can-i-disable-warning-message-during-compilation/36425/4 "2019-08-20T06:22:11Z")

</div>

_In reply to [tech\_savvy](https://verificationacademy.com/forums/t/can-i-disable-warning-message-during-compilation/36425/3):_

You should solve this issue. It seems to be important.  
If you want to suppress this warning, do not create this component, then the warning is away.
