看板 FB_bugs 關於我們 聯絡資訊
Hi, gcc on FreeBSD-9.1 has a problem in CPP. It does not handle undefined macro= s = correctly. XXX > 2 = If ther is no #define XXX, the above code has to be evaluated as if XXX has= the = value 0. FreeBSD 9.1 introduced = #define __FreeBSD_kernel__ in sys/param.h which is wrong and breaks Debian kBSD compatibility. Note that Denbian has something like: #define __FreeBSD_kernel__ 8 If you however use: #if defined(_FreeBSD_kernel__) && (__FreeBSD_kernel > 2) this now fails on FreeeBSD with: operator '>' has no left operand This causes cdda2wav to fail to compile. BTW: the FreeBSD install CD: FreeBSD-9.1-RELEASE-i386-bootonly.iso uses NetBSD as system ID and in addition it seems that it has been created = with = a dubious mkisofs version: - Rock Ridge was withdrawn in favor of UDF, so there was never a IEEE P1282 standard. Thou should not use "IEEE_P1282" as ID in the extension record. - mkisofs got plenty of bug fixes in August 2006 and since then correctly hides the "/.rr_moved" directory. You should use a recent = mkisofs version for best results. J=F6rg -- = EMail:joerg@schily.isdn.cs.tu-berlin.de (home) J=F6rg Schilling D-13353 Be= rlin js@cs.tu-berlin.de (uni) = joerg.schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogs= pot.com/ URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"