[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-bugs
Subject:    [ net-snmp-Bugs-1039591 ] winservice.c doesn't compile on mingw
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2004-10-19 12:34:55
Message-ID: E1CJtCZ-0002rV-Hb () sc8-sf-web2 ! sourceforge ! net
[Download RAW message or body]

Bugs item #1039591, was opened at 2004-10-03 14:21
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1039591&group_id=12694

Category: library
Group: windows
Status: Open
Resolution: None
Priority: 5
Submitted By: Nythil (nythil)
Assigned to: Andy Smith (wasmith32)
Summary: winservice.c doesn't compile on mingw

Initial Comment:
I was trying to compile net-snmp using mingw and msys,
but I got an error about label declarations in
winservice.c. There was no error after changing the
following lines (near the top of the file):

#define FINALLY do { labelFIN: } while(0); if(1)

to:

#define FINALLY labelFIN: if(1)

I'm using mingw 3.4.1 and msys 1.0.10


----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2004-10-19 05:34

Message:
Logged In: NO 

I think this has been fixed in the main branch. I noticed
that this section did not compile under MinGW on Linux. The
fix is to add an empty statement since some versions of
MinGW gcc error out when there is a label followed by
nothing. Try the latest from CVS or change to:

#define FINALLY do { labelFIN:     ; } while(0); if(1)

----------------------------------------------------------------------

Comment By: Michael J. Slifcak (slif)
Date: 2004-10-07 06:56

Message:
Logged In: YES 
user_id=88697

Try the current version MinGW-3.1.0-1.exe


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=1039591&group_id=12694


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Net-snmp-bugs mailing list
Net-snmp-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic