# Silence \`const\` re-definition warning

**URL:** https://discourse.julialang.org/t/silence-const-re-definition-warning/51095
**Category:** General Usage
**Tags:** question
**Created:** [December 2, 2020, 9:34am UTC](https://discourse.julialang.org/t/silence-const-re-definition-warning/51095 "2020-12-02T09:34:24Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![Henrique\_Becker](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/henrique_becker/32/15443_2.png) [@Henrique\_Becker](https://discourse.julialang.org/u/Henrique_Becker)
#### Post date: [December 2, 2020, 1:50pm UTC](https://discourse.julialang.org/t/silence-const-re-definition-warning/51095/7 "2020-12-02T13:50:34Z")

</div>

Recently there was [a lengthy discussion about if redefining constants is undefined behavior or not](https://discourse.julialang.org/t/will-julia-ever-fix-its-using-performance-problems/50659/91), and the takeaway is that, at least for now, the Julia devs consider it to be undefined behavior. I do not really understand why are you worried about suppressing this message if your program has absolutely no guarantees of working as intended after this happens.

---

_[View the full topic](https://discourse.julialang.org/t/silence-const-re-definition-warning/51095)._
