>> 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
