| Summary: | sys-apps/gentoo-functions-0.8 has a warning if compiled with -Wunused-parameter | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
| Component: | Current packages | Assignee: | William Hubbs <williamh> |
| Status: | RESOLVED FIXED | ||
| Severity: | trivial | CC: | base-system, blueness |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
This was actually fixed sometime back with commit 4832781 and will be part of gentoo-functions-0.9. |
Just a cosmetic bug: consoletype.c: In function 'main': consoletype.c:17:14: warning: unused parameter 'argc' [-Wunused-parameter] int main(int argc, char *argv[]) ^ consoletype.c:17:26: warning: unused parameter 'argv' [-Wunused-parameter] int main(int argc, char *argv[]) ^ -int main(int argc, char *argv[]) +int main() fixes the warning for me and the execution of the programs returns pty.