Re: What is the preferred code style for uclibc?

2008-12-02 Thread Bernhard Reutner-Fischer
On Mon, Dec 01, 2008 at 08:44:55PM +0100, Denys Vlasenko wrote: Hi Bernhard, folks, Can you indicate what coding style you prefer in uclibc? Curretly we have a mixture of all kinds, GNU style with its uniquely difficult placement of {}s: if (set == NULL || signo = 0 || signo = NSIG) {

RE: testsuite: wcsxfrm

2008-12-02 Thread Filippo ARCIDIACONO
-Original Message- From: Carmelo Amoroso [mailto:[EMAIL PROTECTED] Sent: Saturday, November 29, 2008 3:25 PM To: Tobias Poschwatta Cc: Filippo ARCIDIACONO; 'Carmelo AMOROSO'; uclibc@uclibc.org Subject: Re: testsuite: wcsxfrm Tobias Poschwatta wrote: On Thu, Nov 27, 2008 at

Re: svn commit: branches/uClibc-nptl: include libc/misc/internals

2008-12-02 Thread Carmelo AMOROSO
[EMAIL PROTECTED] wrote: Author: kraj Date: 2008-12-01 19:11:25 -0800 (Mon, 01 Dec 2008) New Revision: 24225 Log: signed-off-by: Khem Raj [EMAIL PROTECTED] More merges from trunk to get nptl compiling for arm. Also fix some errno related linking problems. Added:

Re: What is the preferred code style for uclibc?

2008-12-02 Thread Bernd Schmidt
Denys Vlasenko wrote: I merely plan to follow the agreed-on style in the code I touch. IMO for code that is just touched, following the existing style in that file is best. Bernd -- This footer brought to you by insane German lawmakers. Analog Devices GmbH Wilhelm-Wagenfeld-Str. 6

include/bits/socket.h

2008-12-02 Thread Tobias Poschwatta
Hi, I think there's a problem with include/bits/socket.h when compiling with g++. My test program is trivial: #include sys/socket.h int main(int argc, char **argv) { return 0; } It compiles fine with gcc, but doesn't with g++: # g++ -Wall -o s socket.c .../include/bits/socket.h:271: error:

Re: svn commit: branches/uClibc-nptl: include libc/misc/internals

2008-12-02 Thread Carmelo AMOROSO
Carmelo AMOROSO wrote: [EMAIL PROTECTED] wrote: Author: kraj Date: 2008-12-01 19:11:25 -0800 (Mon, 01 Dec 2008) New Revision: 24225 Log: signed-off-by: Khem Raj [EMAIL PROTECTED] More merges from trunk to get nptl compiling for arm. Also fix some errno related linking problems. Added:

Re: What is the preferred code style for uclibc?

2008-12-02 Thread Khem Raj
On (02/12/08 16:27), Bernd Schmidt wrote: Denys Vlasenko wrote: I merely plan to follow the agreed-on style in the code I touch. IMO for code that is just touched, following the existing style in that file is best. may be we should mention reccomended style in the dev guide Thx -Khem

Re: include/bits/socket.h

2008-12-02 Thread Khem Raj
On (02/12/08 17:04), Tobias Poschwatta wrote: Hi, I think there's a problem with include/bits/socket.h when compiling with g++. My test program is trivial: #include sys/socket.h int main(int argc, char **argv) { return 0; } It compiles fine with gcc, but doesn't with g++: # g++

Re: testsuite: wcsxfrm

2008-12-02 Thread Carmelo AMOROSO
Filippo ARCIDIACONO wrote: -Original Message- From: Carmelo Amoroso [mailto:[EMAIL PROTECTED] Sent: Saturday, November 29, 2008 3:25 PM To: Tobias Poschwatta Cc: Filippo ARCIDIACONO; 'Carmelo AMOROSO'; uclibc@uclibc.org Subject: Re: testsuite: wcsxfrm Tobias Poschwatta wrote:

Re: include/bits/socket.h

2008-12-02 Thread Tobias Poschwatta
On Tue, Dec 02, 2008 at 10:30:21AM -0800, Khem Raj wrote: Its a bug. Can you try attached patch please. Works, thanks! Tobias ___ uClibc mailing list uClibc@uclibc.org http://busybox.net/cgi-bin/mailman/listinfo/uclibc