Nicholas Clark wrote: >On Fri, Jul 01, 2005 at 03:10:01PM +0100, Steve Hay wrote: > > > >>No - the warning was there before those lines appeared, and there is no >>warning when compiling without PERL_IMPLICIT_SYS (which clearly still >>has those two lines at the end). >> >> > >Is it possible to define the function pointer inside the structure definition >to have the appropriate attributes? > Ah, of course. win32/perlhost.h's PerlProcExit() is what gets called when using PERL_IMPLICIT_SYS (I think), so we must put the "noreturn" attribute on that function too.
I hope change 25041 is the right way to go about doing this. It certainly made the warning go away, and didn't introduce any new ones :-) ------------------------------------------------ Radan Computational Ltd. The information contained in this message and any files transmitted with it are confidential and intended for the addressee(s) only. If you have received this message in error or there are any problems, please notify the sender immediately. The unauthorized use, disclosure, copying or alteration of this message is strictly forbidden. Note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of Radan Computational Ltd. The recipient(s) of this message should check it and any attached files for viruses: Radan Computational will accept no liability for any damage caused by any virus transmitted by this email.