[Bug libgcc/67154] sscanf does not extract correct value when the format is "%c" and the location is of type int*

2015-08-07 Thread wondertx at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67154 --- Comment #2 from wondertx at gmail dot com --- You are right!

[Bug libgcc/67154] New: sscanf does not extract correct value when the format is "%c" and the location is of type int*

2015-08-07 Thread wondertx at gmail dot com
NCONFIRMED Severity: critical Priority: P3 Component: libgcc Assignee: unassigned at gcc dot gnu.org Reporter: wondertx at gmail dot com Target Milestone: --- #include #include #include using std::cout; using std::endl; int main() { std::str