A gcc puzzle for the experts

walt wa1ter at myrealbox.com
Wed Jan 26 10:08:53 PST 2005


walt wrote:
...   I've replaced
every instance of __FreeBSD__ anywhere it occurs and I still get the
same error.
Aha!  I just found the source of many gcc3 headaches :o)

/usr/local/include has a number of headers (installed by ports) which
test for __FreeBSD__.  In this case the c code was pulling in one of
those headers (from cdparanoia) and of course the test failed.
I just went thru /usr/local/include/ and changed all the __FreeBSD__
references to __DragonFly__ and the port compiled perfectly.




More information about the Users mailing list