Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <3716324C.5F76E9C5@classic-games.com> Date: Thu, 15 Apr 1999 13:39:08 -0500 From: Greg Miller X-Mailer: Mozilla 4.51 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: cygwin AT sourceware DOT cygnus DOT com Subject: Re: SERVICE_MAIN_FUNCTION wrong parameter? References: <002401be86ba$af77dde0$020f10ac AT antryg DOT b-soft DOT de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Sam Jost wrote: > Maybe some error in cygwin's headers? Which reminds me of a problem I ran into a few days ago: While attempting to compile a program that uses atexit() with -mno-cygwin, I received an error message due to the fact that egcs thought the function passed to atexit() should take (...) rather than (void) as a parameter list, which is a prohibited conversion. Changing the declaration to use (void) rather than () takes care of it. -- http://www.classic-games.com/ President Clinton was acquitted; then again, so was O. J. Simpson. *** NEWBIES: Limit signatures to four lines! No HTML mail or posts! *** -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com