On Sat, Mar 28, 2015 at 07:46:37PM +, Jean-Michel Nirgal Vourgère wrote:
I suppose it has been fixed.
scanf(3) now includes a note about specific '%a' behaviour when -std=c99
is used.
Yes, it looks like it's fixed (though your attached log does not show it); I
cannot reproduce the issue
Hello
I tried to reproduced the bug at
https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=15;att=0;bug=155835
you reported back in 2002, but I couldn't.
See attached log file.
I suppose it has been fixed.
scanf(3) now includes a note about specific '%a' behaviour when -std=c99
is used.
Can we
On 20041219T124113+0900, GOTO Masanori wrote:
This warning is come from gcc, not glibc. Gcc parses the first
argument of scanf. When gcc mets %as in C99 mode, GNU extension
should not be treated. This is gcc's expected behavior, so this is
not bug.
And you should reread the report if you
At Sun, 19 Dec 2004 16:23:44 +0200,
Antti-Juhani Kaijanaho wrote:
On 20041219T124113+0900, GOTO Masanori wrote:
This warning is come from gcc, not glibc. Gcc parses the first
argument of scanf. When gcc mets %as in C99 mode, GNU extension
should not be treated. This is gcc's expected
On 20041220T010216+0900, GOTO Masanori wrote:
GNU extension is GNU's feature, not a bug. Glibc provides %as with
the historical reasons. If you don't want to use it, you should just
remove it. If you have another opinion or point of view to improve
it, show us your proposal.
Well, if GNU
At Sun, 19 Dec 2004 18:16:30 +0200,
Antti-Juhani Kaijanaho wrote:
On 20041220T010216+0900, GOTO Masanori wrote:
GNU extension is GNU's feature, not a bug. Glibc provides %as with
the historical reasons. If you don't want to use it, you should just
remove it. If you have another opinion
On 20041220T013000+0900, GOTO Masanori wrote:
%as is GNU extension. Why don't you want to use %a instead of
%as? Note that C99 defines %a as signed floating-point number,
not modifier flag like l,L. Or am I missing something?
That is exactly the problem. In C99 mode %as means %a followed
At Sun, 19 Dec 2004 18:44:16 +0200,
Antti-Juhani Kaijanaho wrote:
On 20041220T013000+0900, GOTO Masanori wrote:
%as is GNU extension. Why don't you want to use %a instead of
%as? Note that C99 defines %a as signed floating-point number,
not modifier flag like l,L. Or am I missing
On 20041220T092820+0900, GOTO Masanori wrote:
Gcc -std=c99 warns because it's not part of C99 behavior.
Of course.
Glibc can switch between various standards. Read info libc.
I am aware of that. I was under the impression that on a Debian system
compiling stuff with gcc --std=c99 will give
At Wed, 07 Aug 2002 23:51:54 +0300,
Antti-Juhani Kaijanaho wrote:
The a flag to scanf (a GNU extension, used like %as) conflicts with
the C99 definition of the a conversion. GCC 3 already warns about the
use of %a with -std=c99 and -std=gnu99, but the libc version uses the
GNU semantics.
On 20041218T201450+0900, GOTO Masanori wrote:
Could you provide a sample test program for the latest sarge glibc/gcc?
I'm running sid, so this is tested on sid:
The following demonstrates that the bug is still valid:
[EMAIL PROTECTED]:43:18]:~$ dpkg -l libc6 gcc
Hi,
At Sat, 18 Dec 2004 14:06:24 +0200,
Antti-Juhani Kaijanaho wrote:
On 20041218T201450+0900, GOTO Masanori wrote:
Could you provide a sample test program for the latest sarge glibc/gcc?
I'm running sid, so this is tested on sid:
The following demonstrates that the bug is still valid:
12 matches
Mail list logo