Menu

#34 Fix build with clang

Unstable_(example)
closed-accepted
nobody
None
5
2017-08-28
2017-08-27
Khem Raj
No

when compiling with clang and hardening flags. printf get replaced with printf_chk and errors happen when compiling it.

1 Attachments

Discussion

  • Corey Minyard

    Corey Minyard - 2017-08-28
    • status: open --> closed-accepted
     
  • Corey Minyard

    Corey Minyard - 2017-08-28

    Grumble, that's technically a violation of the Unix specifications (printf is not allowed to be a macro), but I guess this is better.

     

Log in to post a comment.