# Broken compiling

**URL:** <https://discourse.cataclysmdda.org/t/broken-compiling/168>\
**Category:** The Garage\
**Created:** [February 3, 2013, 7:09pm UTC](https://discourse.cataclysmdda.org/t/broken-compiling/168 "2013-02-03T19:09:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SerLund](https://avatars.discourse-cdn.com/v4/letter/s/41988e/32.png) [@SerLund](https://discourse.cataclysmdda.org/u/SerLund)\
**Post date:** [February 3, 2013, 7:09pm UTC](https://discourse.cataclysmdda.org/t/broken-compiling/168/1 "2013-02-03T19:09:41Z")

</div>

Hey guys, I just came by to say that the items added in commit 5fbdd83ac052e25fb99d1ddf645e1884a3911441 gave me the error

`g++ -g -c itypedef.cpp -o obj/itypedef.o
itypedef.cpp:1118:69: error: macro "MELEE" requires 14 arguments, but only 13 given
itypedef.cpp:1123:23: error: macro "MELEE" requires 14 arguments, but only 13 given
itypedef.cpp:1127:46: error: macro "MELEE" requires 14 arguments, but only 13 given
itypedef.cpp:1131:48: error: macro "MELEE" requires 14 arguments, but only 13 given
itypedef.cpp:1135:65: error: macro "MELEE" requires 14 arguments, but only 13 given
itypedef.cpp:1139:57: error: macro "MELEE" requires 14 arguments, but only 13 given
itypedef.cpp:1143:30: error: macro "MELEE" requires 14 arguments, but only 13 given
itypedef.cpp:1147:63: error: macro "MELEE" requires 14 arguments, but only 13 given
itypedef.cpp:1151:55: error: macro "MELEE" requires 14 arguments, but only 13 given
itypedef.cpp:1155:46: error: macro "MELEE" requires 14 arguments, but only 13 given
itypedef.cpp:1159:61: error: macro "MELEE" requires 14 arguments, but only 13 given
itypedef.cpp: In member function ‘void game::init_itypes()’:
itypedef.cpp:1116:1: error: ‘MELEE’ was not declared in this scope
make: *** [obj/itypedef.o] Error 1
`  
After removing them the code compiles correctly, and only gives a debug warning on starting the game.  
I’m not a coder so i don’t know what this is about, just thought you’d want to know.

---

<div class="post-metadata">

**Author:** ![The\_Darkling\_Wolf](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/the_darkling_wolf/32/828_2.png) [@The\_Darkling\_Wolf](https://discourse.cataclysmdda.org/u/The_Darkling_Wolf)\
**Post date:** [February 3, 2013, 7:19pm UTC](https://discourse.cataclysmdda.org/t/broken-compiling/168/2 "2013-02-03T19:19:29Z")

</div>

Should be fixed already, I’ll be pushing some more changes in a few, so it’d definitely be fixed then.  
(Currently in the middle of a bunch of adding)

---

<div class="post-metadata">

**Author:** ![SerLund](https://avatars.discourse-cdn.com/v4/letter/s/41988e/32.png) [@SerLund](https://discourse.cataclysmdda.org/u/SerLund)\
**Post date:** [February 3, 2013, 7:26pm UTC](https://discourse.cataclysmdda.org/t/broken-compiling/168/3 "2013-02-03T19:26:12Z")

</div>

Wow you’re fast! 🙂  
I’ll keep an eye out for the new version.

---

<div class="post-metadata">

**Author:** ![The\_Darkling\_Wolf](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/the_darkling_wolf/32/828_2.png) [@The\_Darkling\_Wolf](https://discourse.cataclysmdda.org/u/The_Darkling_Wolf)\
**Post date:** [February 3, 2013, 7:35pm UTC](https://discourse.cataclysmdda.org/t/broken-compiling/168/4 "2013-02-03T19:35:55Z")

</div>

Just pushed it 😛  
It’s just that I’m currently literally right in the middle of adding stuff, and I tend to frequently push updates in order to back them up.
