This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
RE: 1.5.14-1 cygwin1.dll could not be found
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Dave Korn <dave dot korn at artimi dot com>
- Cc: cygwin-apps at cygwin dot com
- Date: Fri, 15 Apr 2005 14:42:17 -0400 (EDT)
- Subject: RE: 1.5.14-1 cygwin1.dll could not be found
- References: <SERRANO7ISMmYnBBfRn0000018f@SERRANO.CAM.ARTIMI.COM>
- Reply-to: cygwin-apps at cygwin dot com
On Fri, 15 Apr 2005, Dave Korn wrote:
> 5) Do I really need to worry about putting return statements after calling
> "LogSingleton::GetInstance().exit (1);" ? There was a reference in there to
> some kind of 'issue' with ::exit, but I haven't yet done an archive search
> to try and understand what's going on - does anyone remember?
IIRC, gcc needs to know that the exit() function never returns. It does
know for ::exit() (because there's an appropriate attribute on it), but it
doesn't for LogSingleton::exit(), and so will complain that the functions
are missing a return statement. So you need to put those in to quell the
warnings.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT