DragonFly BSD
DragonFly users List (threaded) for 2005-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: A gcc puzzle for the experts


From: walt <wa1ter@xxxxxxxxxxxxx>
Date: Wed, 26 Jan 2005 10:08:53 -0800

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.



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]