This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/40097] inconsistent printf handling



------- Comment #4 from hp at gcc dot gnu dot org  2009-05-26 03:27 -------
When porting code such as in the description, it can be argued that
robustifying the code is an important part; that undefined code that just
happened to "work" for the initial target(s) is corrected to use defined
constructs that work everywhere.  If that's not an option here, perhaps you can
add application-specific printf and puts, versions that handles NULL arguments
such as the application expects.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40097


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]