drfrag666 / gzdoom

GZDoom adds an OpenGL renderer to the ZDoom source port.
http://gzdoom.drdteam.org
GNU General Public License v3.0
73 stars 15 forks source link

src/p_spec.cpp hexenScrollies array triggers multiple gcc errors #7

Closed OrdinaryMagician closed 5 years ago

OrdinaryMagician commented 5 years ago

Seeing various narrowing conversion from int to char errors in that array. Could just be worked around by adding -Wno-narrowing to the compiler flags in cmake. They array could also be made of ints and I doubt there'd be much consequence for this other than taking up 4 times the memory (which is relatively unnoticeable).

drfrag666 commented 5 years ago

You mean warnings right? I think those have been there almost since ever.

OrdinaryMagician commented 5 years ago

Dunno why but those specific warnings were treated as errors. I don't even know if this triggers anymore.

Edit: The errors are gone.