Andy Lester wrote: >>Initializing x silences the warning. I'm open to other suggestions of >>how to silence it, but I'd like it silenced somehow. >> >> > >You and me both. That's why I made it a macro, so that it would work >across all compilers. > >What if you change it in perl.h to: > >#ifndef PERL_UNUSED_VAR ># ifdef __BCC__ ># define PERL_UNUSED_VAR(x) (x)=1 ># else ># define PERL_UNUSED_VAR(x) ((void)x) ># endif >#endif > >Does that make BCC happy? > Doesn't quite work :-(
Error E2024 ..\universal.c 956: Cannot modify a const object in function XS_Internals_hash_seed Error E2024 ..\universal.c 966: Cannot modify a const object in function XS_Internals_rehash_seed ------------------------------------------------ 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.