[Bug c++/37765] Printf of typed null pointer causes a run-time error

2008-10-08 Thread hosoda-t at palette dot plala dot or dot jp
--- Comment #4 from hosoda-t at palette dot plala dot or dot jp 2008-10-09 02:40 --- Thank you for your time. I am sure that you are right, because the Null pointer does not point to a string which must have the terminator '\0' at the end. However, please kindly adivise

[Bug c++/37765] Printf of typed null pointer causes a run-time error

2008-10-08 Thread hosoda-t at palette dot plala dot or dot jp
--- Comment #2 from hosoda-t at palette dot plala dot or dot jp 2008-10-08 23:02 --- (In reply to comment #1) > "%s" requires a pointer to a string, which (char*)0 isn't. "%s" is a c-style string. try the code below, and please notice that the code works w

[Bug c++/37765] New: Printf of typed null pointer causes a run-time error

2008-10-07 Thread hosoda-t at palette dot plala dot or dot jp
ion: 4.3.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hosoda-t at palette dot plala dot or dot jp GCC host triplet: Microsoft Windows XP GCC target triplet: i686