TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: DENNIS LEE BIEBER
date: 2020-03-06 11:07:00
subject: Re: self hosting on the P

On Fri, 06 Mar 2020 13:52:06 GMT, Jan Panteltje 
declaimed the following:


>
>Pi4 compiler gives a lot of weird warnings, I like clean compiles reads
faster,
>no idea what this is supposed to mean:
> /usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and
_SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
>

 Unless you have different compiler/OS versions running on the various
machines, I'd expect all R-Pi models to produce the same warnings for the
same input. What happens if you swap the SD card between the models and
repeat?

 As for the warning itself, I'd suspect the listed include file is
making use of something like

#ifdef xxxx

referencing either of those two definitions. Though... a quick google shows
a solution to be in a makefile (for something)
https://pagure.io/jss/issue/raw/files/18027bfb0e34eebcd4ebbc137c0443e2fdee90d53
94778f0d15fb961c1278cf9-fix4Warnings.patch
https://stackoverflow.com/questions/29201515/what-does-d-default-source-do


--
 Wulfraed                 Dennis Lee Bieber         AF6VN
 wlfraed@ix.netcom.com    http://wlfraed.microdiversity.freeddns.org/

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.