[Bug c/46907] New: printf width not properly working for negative numbers which are variables

2010-12-12 Thread adrian.hawryluk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46907 Summary: printf width not properly working for negative numbers which are variables Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/46908] New: printf not handling printing of double correctly in certain cases

2010-12-12 Thread adrian.hawryluk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46908 Summary: printf not handling printing of double correctly in certain cases Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 C

[Bug c/46908] printf not handling printing of double correctly in certain cases

2010-12-12 Thread adrian.hawryluk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46908 Adrian Hawryluk changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

[Bug c/46908] printf not handling printing of double correctly in certain cases

2010-12-12 Thread adrian.hawryluk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46908 --- Comment #4 from Adrian Hawryluk 2010-12-12 22:55:47 UTC --- But found that "L" is not a known conversion type character. When is "L" supposed to be implemented? C:\tmp>gcc -Wall -o tmp.exe file.c file.c: In function 'main': file.c:18:5: war

[Bug c/46908] printf not handling printing of double correctly in certain cases

2010-12-12 Thread adrian.hawryluk at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46908 --- Comment #5 from Adrian Hawryluk 2010-12-12 23:08:58 UTC --- Used flag -std=c99 and this reduced the number of warnings. They were limited to the scanf format string. C:\tmp>gcc -Wall -std=c99 -o tmp.exe file.c file.c: In function 'main': fi