Re: Problem with vprintf () in Clang 3.4.2

2015-02-08 Thread Yaakov Selkowitz
On Wed, 2015-02-04 at 00:35 -0600, Yaakov Selkowitz wrote: > On Tue, 2015-02-03 at 16:50 -0300, Thomas Wuillemin wrote: > > While running some simple tests with the C vprintf function, I > > detected different results between Gcc and Clang , where Clang seems > > to be badly wrong. > > > > Here is

Re: Problem with vprintf () in Clang 3.4.2

2015-02-03 Thread Yaakov Selkowitz
On Tue, 2015-02-03 at 16:50 -0300, Thomas Wuillemin wrote: > While running some simple tests with the C vprintf function, I > detected different results between Gcc and Clang , where Clang seems > to be badly wrong. > > Here is the faulty code that leads to a reproducible error (at least > in my c

Re: Problem with vprintf () in Clang 3.4.2

2015-02-03 Thread Steven Hartland
On 03/02/2015 19:50, Thomas Wuillemin wrote: clang -Wall -Wextra -pedantic -g -O0 dummy.c -o dummy.exe As a reference point this works fine on FreeBSD with both:- FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 FreeBSD clang version 3.5.1 (tags/RELEASE_351/final 225668)

Problem with vprintf () in Clang 3.4.2

2015-02-03 Thread Thomas Wuillemin
Dear all, While running some simple tests with the C vprintf function, I detected different results between Gcc and Clang , where Clang seems to be badly wrong. Here is the faulty code that leads to a reproducible error (at least in my configuration):