# Compile error vs everything works sdl\_net

**URL:** <https://discourse.libsdl.org/t/compile-error-vs-everything-works-sdl-net/18874>\
**Category:** SDL Development\
**Created:** [April 13, 2012, 8:05am UTC](https://discourse.libsdl.org/t/compile-error-vs-everything-works-sdl-net/18874 "2012-04-13T08:05:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![R\_Manard](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/r/46a35a/32.png) [@R\_Manard](https://discourse.libsdl.org/u/R_Manard)\
**Post date:** [April 13, 2012, 8:05am UTC](https://discourse.libsdl.org/t/compile-error-vs-everything-works-sdl-net/18874/1 "2012-04-13T08:05:58Z")

</div>

Hi, I decided to move to the newer lib versions without moving to the new  
sdl. I do this every year or two. Sometimes i skip a version because it  
does not work right instead of redownloading the fixed version. The short  
of it is that if I change the directory to sdl\_net 1.2.8 instead of 1.2.6 I  
get:  
‘SDL\_reinterpret\_cast’ : undeclared identifier

> > on this line of code:  
> > fout \<\< " port " \<\< SDLNet\_Read16(&serverIP.port) \<\< endl \<\< endl;  
> > so I changed it so it would just use string  
> > sp1=SDLNet\_Read16(&serverIP.port); and it did the same thing.  
> > This is on visual c++ 6.0 and windows to be specific. I looked at the noes  
> > and could not see anything that said they way it compiles has changed or  
> > anything.
