Robert Eckhoff wrote on 05 April 2008 22:39: > directories. Winsup also had some source problems that I corrected. > > ~/cygwin-1.5.25-11/winsup/cygwin/winsup.h:276 > -extern bool wsock_started; > +extern "C" bool wsock_started; > > ~/cygwin-1.5.25-11/winsup/cygwin/winsup.h:156 > -extern int __api_fatal_exit_val; > +extern "C" int __api_fatal_exit_val; > > ~/cygwin-1.5.25-11/winsup/cygwin/environ.h:46 > -extern char **__cygwin_environ, ***main_environ; > +extern "C" char **__cygwin_environ, ***main_environ;
Last time I checked, putting extern "C" on a variable declaration was meaningless, since variable names don't get mangled anyway. What makes you think these changes are necessary? > ~/cygwin-1.5.25-11/winsup/cygwin/syscall.cc:3238 > Uses goto's which breaks the build with gcc4.3. I rewrote the function > to use if statements. What kind of problem does gcc4.3 have with gotos? There's nothing wrong with them in general and lots of other functions in that file have them, so maybe there's some underlying problem which is the actual thing that needs fixing? cheers, DaveK -- Can't think of a witty .sigline today.... -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/