samba-bugs at samba.org
2011-Apr-09 23:13 UTC
[Bug 8073] New: Regress: 3.0.8 cannot compile on freebsd
https://bugzilla.samba.org/show_bug.cgi?id=8073 Summary: Regress: 3.0.8 cannot compile on freebsd Product: rsync Version: 3.0.8 Platform: x86 OS/Version: FreeBSD Status: NEW Severity: blocker Priority: P5 Component: core AssignedTo: wayned at samba.org ReportedBy: grarpamp at gmail.com QAContact: rsync-qa at samba.org platform: i386 os: FreeBSD 4.11-STABLE gcc: 2.95.4 why: This is a compile failure regression against 3.0.7. from 3.0.8 (fails): gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c flist.c -o flist.o flist.c: In function `send_directory': flist.c:1653: syntax error before `unsigned' flist.c:1654: `name_len' undeclared (first use in this function) flist.c:1654: (Each undeclared identifier is reported only once flist.c:1654: for each function it appears in.) Other notes: from 3.0.8 (using flist.c from 3.0.7 for convenient reporting of other warnings herein): gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c rsync.c -o rsync.o rsync.c: In function `set_file_attrs': rsync.c:378: warning: unused parameter `fnamecmp' gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c generator.c -o generator.o generator.c: In function `delete_item': generator.c:216: warning: `desc' might be used uninitialized in this function generator.c: In function `unchanged_attrs': generator.c:622: warning: unused parameter `fname' generator.c: In function `itemize': generator.c:665: warning: unused parameter `fnamecmp' generator.c: In function `try_dests_non': generator.c:1112: warning: `type' might be used uninitialized in this function gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c sender.c -o sender.o sender.c: In function `write_ndx_and_attrs': sender.c:143: warning: unused parameter `fname' sender.c:143: warning: unused parameter `file' gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c io.c -o io.o io.c: In function `mplex_write': io.c:470: warning: unused parameter `convert' from 3.0.7 (works): gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c rsync.c -o rsync.o rsync.c: In function `set_file_attrs': rsync.c:380: warning: unused parameter `fnamecmp' gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c generator.c -o generator.o generator.c: In function `delete_item': generator.c:225: warning: `desc' might be used uninitialized in this function generator.c: In function `unchanged_attrs': generator.c:585: warning: unused parameter `fname' generator.c: In function `itemize': generator.c:628: warning: unused parameter `fnamecmp' generator.c: In function `try_dests_non': generator.c:1072: warning: `type' might be used uninitialized in this function gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c sender.c -o sender.o sender.c: In function `write_ndx_and_attrs': sender.c:143: warning: unused parameter `fname' sender.c:143: warning: unused parameter `file' gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt -c io.c -o io.o io.c: In function `mplex_write': io.c:470: warning: unused parameter `convert' from 3.0.8 (on freebsd 8.2, gcc 4.2.1): Works great :) -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
samba-bugs at samba.org
2011-Apr-10 22:15 UTC
[Bug 8073] Regress: 3.0.8 cannot compile on freebsd
https://bugzilla.samba.org/show_bug.cgi?id=8073 Wayne Davison <wayned at samba.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #1 from Wayne Davison <wayned at samba.org> 2011-04-10 22:15:35 UTC --- See the patch on bug 8053. *** This bug has been marked as a duplicate of bug 8053 *** -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Maybe Matching Threads
- DO NOT REPLY [Bug 5287] New: FreeBSD pre10 compilation warnings report
- Patch to not modify files in place unless "--inplace" option specified
- DO NOT REPLY [Bug 5022] New: FreeBSD 4.11 - Compilation Fails - uidlist.c - gcc2 / gcc3
- [PATCH] Add --omit-{device,special}-times options
- Revised flags patch