Just replying to [EMAIL PROTECTED] does not seem to forward to the list. Ok, here once again to perl6-internals
Mike Lambert (via RT) <[EMAIL PROTECTED]> writes: > Looking at the patch, it seems rather GCC-specific. The checking for > "no-X" versus "X" in the warnings flags seems to be rather non-portable to > compilers like MSVC. Yes its gcc-specific. Thats why the -WX vs -Wno-X part is in gcc.pl The general part in progs.pl of this patch just sets the element cc_warn in Config::Data, which is used in the Makefile just behind ${ccflags}. An other way to do it is not to introduce a command-line option, and use ccflags for this, but then you need even more the gcc-specific part to switch of the automatic warnings, because the later warning option takes precedence over the former one. But the cc_warn mechanism was already there, I just made it accessible through Configure.pl. If this option is called --ccwarn or --cc_warn I have no strong preference, and I've chosen --ccwarn similar to --ccflags. > Unfortunately, I don't believe this is easily fixable. I think its easy. We need a file for MSVC too, and there we can do all the special cases for MSVC. Unfortunatly the only Visual compiler I've access too is a russian version, so i can't submit any patches on this. > Mike Lambert bye jürgen -- Juergen Boemmels [EMAIL PROTECTED] Fachbereich Physik Tel: ++49-(0)631-205-2817 Universitaet Kaiserslautern Fax: ++49-(0)631-205-3906 PGP Key fingerprint = 9F 56 54 3D 45 C1 32 6F 23 F6 C7 2F 85 93 DD 47