From mboxrd@z Thu Jan 1 00:00:00 1970 X-Received: by 10.182.149.230 with SMTP id ud6mr7645581obb.36.1431625805367; Thu, 14 May 2015 10:50:05 -0700 (PDT) X-BeenThere: voidlinux@googlegroups.com Received: by 10.140.34.206 with SMTP id l72ls1435503qgl.85.gmail; Thu, 14 May 2015 10:50:05 -0700 (PDT) X-Received: by 10.140.96.137 with SMTP id k9mr101088qge.10.1431625805224; Thu, 14 May 2015 10:50:05 -0700 (PDT) Date: Thu, 14 May 2015 10:50:04 -0700 (PDT) From: norvegh To: voidlinux@googlegroups.com Message-Id: <8fdc5b57-3355-4496-909d-60cc46e6b7c3@googlegroups.com> Subject: Another build question and some other stuff MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_603_1930686949.1431625804928" ------=_Part_603_1930686949.1431625804928 Content-Type: multipart/alternative; boundary="----=_Part_604_577645673.1431625804928" ------=_Part_604_577645673.1431625804928 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hello, With kde programs I get these error messages all the time during compilation: /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" What is the correct way to get rid of these? I started to use void in earnest now, and really like it. Below are some potential improvements. 1. I think it would be good to have this in /etc/profile: MANPAGER="less -s" Less is part of the base-system, so this could not hurt. 2. I think adding this to /etc/hosts by default would be also good: 127.0.1.1 For example every time firefox is started it tries to do a DNS lookup for the hostname. If it is not configured in /etc/hosts, or in the DNS server, then it will wait a couple of seconds before it times out. It is annoying, and it took me some time and an strace to figure out what is happening. I guess there can be other programs that do this. Regards ------=_Part_604_577645673.1431625804928 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hello,

With kde programs I get these error messages= all the time during compilation:

/usr/include/features.h:148:3: war= ning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_S= OURCE [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecat= ed, use _DEFAULT_SOURCE"

What is the correct way to get rid of these= ?

I started to use void in earnest now, and really like it. Below ar= e some potential improvements.

1. I think it would be good to have t= his in /etc/profile:
MANPAGER=3D"less -s"
Less is part of the base-sy= stem, so this could not hurt.

2. I think adding this to /etc/hosts b= y default would be also good:
127.0.1.1 <hostname>
For example = every time firefox is started it tries to do a DNS lookup for the hostname.=
If it is not configured in /etc/hosts, or in the DNS server, then it wi= ll wait a couple of seconds before it times out. It is annoying, and
it= took me some time and an strace to figure out what is happening. I guess t= here can be other programs that do this.

Regards
------=_Part_604_577645673.1431625804928-- ------=_Part_603_1930686949.1431625804928--