# Haxe3 to Haxe4 transition issue

**URL:** https://community.haxe.org/t/haxe3-to-haxe4-transition-issue/2488
**Category:** Haxe
**Created:** [May 29, 2020, 2:51pm UTC](https://community.haxe.org/t/haxe3-to-haxe4-transition-issue/2488 "2020-05-29T14:51:56Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![codeservice](https://community.haxe.org/user_avatar/community.haxe.org/codeservice/32/733_2.png) [@codeservice](https://community.haxe.org/u/codeservice)
#### Post date: [May 29, 2020, 2:51pm UTC](https://community.haxe.org/t/haxe3-to-haxe4-transition-issue/2488/1 "2020-05-29T14:51:56Z")

</div>

I installed Haxe 4.1.1 on top of Haxe 3.4.7. It was no any option to uninstall haxe3 during installation process.

Now, for code like  
#if haxe3  
trace(“haxe3”);  
#end  
#if haxe4  
trace(“haxe4”);  
#end

I have output:  
src/Main.hx:21: haxe3  
src/Main.hx:24: haxe4

Question, how can I remove haxe3 properly, where #haxe3 taking info, can I disable #haxe3 manually?

---

<div class="post-metadata">

### Author: ![Gama11](https://community.haxe.org/user_avatar/community.haxe.org/gama11/32/7_2.png) [@Gama11](https://community.haxe.org/u/Gama11)
#### Post date: [May 29, 2020, 2:59pm UTC](https://community.haxe.org/t/haxe3-to-haxe4-transition-issue/2488/2 "2020-05-29T14:59:10Z")

</div>

`haxe3` is supposed to mean `>= 3`. It should remain defined, otherwise libraries might break.

---

<div class="post-metadata">

### Author: ![codeservice](https://community.haxe.org/user_avatar/community.haxe.org/codeservice/32/733_2.png) [@codeservice](https://community.haxe.org/u/codeservice)
#### Post date: [May 29, 2020, 3:00pm UTC](https://community.haxe.org/t/haxe3-to-haxe4-transition-issue/2488/3 "2020-05-29T15:00:32Z")

</div>

I see, Thanks!
