[ros-dev] [ros-diffs] [cgutman] 44286: - Initialize SocketError to 0 to prevent a bogus error from GCC

Colin Finck mail at colinfinck.de
Wed Nov 25 19:18:44 CET 2009


cgutman at svn.reactos.org wrote:
> -        ULONG SocketError;
> +        ULONG SocketError = 0;

FYI, I've already reported this bug some days ago at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42145.
As it only occurs in GCC >= 4.3 and the necessary code changes for compiling
ReactOS with GCC 4.4.x are currently collected in a big separate patch (see
http://www.reactos.org/bugzilla/show_bug.cgi?id=4810), no hack from my side
has been committed so far.

If this hack is going to stay, please mark it as such and add a reference to
the GCC bug report.
Hopefully, it's properly resolved someday... :-)

Best regards,

Colin




More information about the Ros-dev mailing list