Andy Lester wrote: >On Jun 24, 2005, at 2:48 AM, Steve Hay wrote: > > > >>24953 added some initializations to silence bcc32 compiler warnings >>24963 corrected the initialization (sorry!) >>24965 removed the initializations! >> >> > >Do the PERL_UNUSED_VAR() calls not make your BCC happy? > No - it was PERL_UNUSED_VAR() macro lines that the compiler was whining about.
It's easy to reproduce too: #define PERL_UNUSED_VAR(x) ((void)x) void main(void) { int x; PERL_UNUSED_VAR(x); } generates: Warning W8013 test.c 4: Possible use of 'x' before definition in function main Initializing x silences the warning. I'm open to other suggestions of how to silence it, but I'd like it silenced somehow. ------------------------------------------------ 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.