Changes between Version 1 and Version 2 of Ticket #7231, comment 3


Ignore:
Timestamp:
Feb 17, 2011, 7:12:25 PM (14 years ago)
Author:
phoudoin

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7231, comment 3

    v1 v2  
    1 The culprid is gcc, which optimized printf("%s\n", arg) call into puts(arg)
     1The culprid is gcc, which optimize '''printf("%s\n", arg)''' into '''puts(arg)'''.
    22
    33See here:
    4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15685
    5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25609
     4* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15685
     5* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25609
    66
    7 Can't be fixed by Haiku in libroot.
     7This can't be fixed in libroot. Sorry.
     8One workaround: use gcc's '''-fno-builtin-printf''' option.
    89
    9 One workaround: use gcc's -fno-builtin-printf option.
    10