Error in wm_types.h


#1

But the makefiles define [color=blue]REMOTETASKS - they do not define [color=red]REMOTETASKS !! :unamused:

Therefore the wrong definitions are created for NULL and _PROTO in Remote builds!

This doesn’t seem to upset MSVC 2003, but MSVC 2005 throws out loads of warnings:


#2

Oh yes it does!


#3

I have the habit of adding STDC in the Preprocessor Definitions in VS for the Project I work on, so I avoid the messages that way instead.


#4

Yes, that would avoid this particular instance - but you’d still be caught if there’s anywhere else that Wavecom have used REMOTETASKS when it should be REMOTETASKS :angry: