Bug 2634 - libsmbclient testsuite and gcc 4
Summary: libsmbclient testsuite and gcc 4
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: libsmbclient (show other bugs)
Version: 3.0.14a
Hardware: All Linux
: P3 enhancement
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2005-04-20 07:18 UTC by Lars Müller
Modified: 2005-08-24 10:27 UTC (History)
0 users

See Also:

Fix for the libsmbclient testsuite. (1.23 KB, patch)
2005-04-20 07:21 UTC, Lars Müller
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Müller 2005-04-20 07:18:05 UTC
It's impossible to run the libsmbclient testsuite with gcc 4.
Comment 1 Lars Müller 2005-04-20 07:21:12 UTC
Created attachment 1166 [details]
Fix for the libsmbclient testsuite.

Fix made by Ruediger Oertel <ro at SuSE dot de>
Comment 2 Lars Müller 2005-04-20 07:46:49 UTC
We're not sure if this fix is correct.
Comment 3 Tim Potter 2005-04-20 22:03:26 UTC
What's the error message you get when compiling with gcc4?
Comment 4 Lars Müller 2005-04-21 01:28:46 UTC
Compiling getdents/getdents_3.c
getdents/getdents_3.c: In function 'main':
getdents/getdents_3.c:138: error: invalid lvalue in assignment
getdents/getdents_3.c:139: error: invalid lvalue in assignment
ICECREAM[9185]: Compiled on
make: *** [getdents/getdents_3.o] Error 1
Comment 5 Derrell Lipman 2005-04-27 07:04:08 UTC
corrected deprecated use of lvalue casts.  supplied patch was not quite correct.
Comment 6 Gerald (Jerry) Carter (dead mail address) 2005-08-24 10:27:36 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.