Hi,

gcc on FreeBSD-9.1 has a problem in CPP. It does not handle undefined macros 
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örg

-- 
 EMail:[email protected] (home) Jörg Schilling D-13353 Berlin
       [email protected]                (uni)  
       [email protected] (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to