Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137134 - sys-libs/pwdb - silence noisy warnings
Summary: sys-libs/pwdb - silence noisy warnings
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-17 19:46 UTC by Ryan Hill (RETIRED)
Modified: 2006-06-18 09:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
pwdb-0.62-shaddupalready.patch (pwdb-0.62-shaddupalready.patch,461 bytes, patch)
2006-06-17 19:47 UTC, Ryan Hill (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hill (RETIRED) gentoo-dev 2006-06-17 19:46:16 UTC
building pwdb w/ gcc 4.1 generates a metric ton of traditional C warnings such as:

In file included from pwdb/interface/nis.c:10,
                 from pwdb/pwdb_module.c:45:
pwdb/interface/nis/user.c: In function '_pwdb_nis_locate':
pwdb/interface/nis/user.c:19: warning: traditional C rejects ISO C style function definitions
pwdb/interface/nis/user.c: In function '_pwdb_nis_request':
pwdb/interface/nis/user.c:163: warning: traditional C rejects ISO C style function definitions
pwdb/interface/nis/user.c: In function '_pwdb_nis_replace':
pwdb/interface/nis/user.c:176: warning: traditional C rejects ISO C style function definitions
pwdb/interface/nis/user.c: In function '_pwdb_nis_delete':
pwdb/interface/nis/user.c:399: warning: traditional C rejects ISO C style function definitions
pwdb/interface/nis/user.c: In function '_pwdb_nis_support':
pwdb/interface/nis/user.c:458: warning: traditional C rejects ISO C style function definitions
pwdb/interface/nis/user.c:468: warning: traditional C rejects automatic aggregate initialization
pwdb/interface/nis/user.c: In function '_pwdb_nis_flags':
pwdb/interface/nis/user.c:479: warning: traditional C rejects ISO C style function definitions

the attached patch cleans up the output by removing -Wtraditional from the Makefile.  this could be appended to pwdb-0.62-build.patch for simplicity's sake.
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2006-06-17 19:47:41 UTC
Created attachment 89437 [details, diff]
pwdb-0.62-shaddupalready.patch
Comment 2 SpanKY gentoo-dev 2006-06-18 09:21:05 UTC
merged your patch and fixed some socklen_t bugs

thanks