From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <877fl6ronj.fsf@rudra.copyninja.info> Date: Thu, 26 Nov 2015 13:18:39 +0100 Message-ID: From: David du Colombier <0intro@gmail.com> To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Subject: Re: [9fans] Compiling ken-cc on Linux Topicbox-Message-UUID: 77c75a02-ead9-11e9-9d60-3106f5b1d025 >> In file included from >> /home/vasudev/Documents/C_programming/compilers/9-cc/Linux/386/include/lib9.h:9:0, >> from 9obj.c:5: >> /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and >> _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] >> # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use >> _DEFAULT_SOURCE" > > > Of course, that particular one is just the latest crud from the constantly > mutating gcc/clang environments. > Why "DEFAULT" if it's not in fact the default? Yes, that's a recent change. And since you want backward compatibility, you now have to define both _BSD_SOURCE/_SVID_SOURCE and _DEFAULT_SOURCE. -- David du Colombier