MantisBT - LibParserUtils
View Issue Details
0002290LibParserUtils[All Projects] Generalpublic2015-03-16 16:112016-11-22 22:03
Reporterrkd 
Assigned ToVincent Sanders 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
Platformi686OSLinuxOS Version
Product Version0.2.1 
Target VersionFixed in Version0.2.2 
Fixed in CI build #
Reported in CI build #
Summary0002290: Compilation with fresh glibc fails
DescriptionCompilation with glibc-2.21 fails because of -Werror and such warnings:
In file included from /usr/include/errno.h:28:0,
                 from src/input/filter.c:8:
/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"

The same applies to other netsurf libraries built with -Werror
TagsNo tags attached.
Attached Filesgz _DEFAULT_SOURCE.tar.gz (1,157) 2015-03-17 11:19
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=266&type=bug

Notes
(0000785)
rkd   
2015-03-17 11:18   
To quiet down warnings add -D_DEFAULT_SOURCE to CFLAGS.
In the uploaded file patches for a few netsurf libraries.
(0000800)
Vincent Sanders   
2015-03-22 16:57   
I have committed changes similar to your suggested solution to all NetSurf libraries and tools that define _BSD_SOURCE

Thanks for the report. The next release of netsurf will have these changes in by default.
(0001438)
Vincent Sanders   
2016-11-22 22:03   
this issue has been closed because it is included in the 3.6 release

Issue History
2015-03-16 16:11rkdNew Issue
2015-03-17 11:18rkdNote Added: 0000785
2015-03-17 11:19rkdFile Added: _DEFAULT_SOURCE.tar.gz
2015-03-22 16:57Vincent SandersNote Added: 0000800
2015-03-22 16:57Vincent SandersAssigned To => Vincent Sanders
2015-03-22 16:57Vincent SandersStatusnew => resolved
2015-03-22 16:57Vincent SandersResolutionopen => fixed
2015-03-22 17:02Vincent SandersProduct Version => 0.2.1
2015-03-22 17:02Vincent SandersFixed in Version => 0.2.2
2016-11-22 22:03Vincent SandersNote Added: 0001438
2016-11-22 22:03Vincent SandersStatusresolved => closed