Skip to content
  • Ian Lynagh's avatar
    5f3ac526
    Various hsc2hs improvements · 5f3ac526
    Ian Lynagh authored
    * Fix GHC trac #2897: Generate a separate "utils" C file containing
      wrappers for functions like printf. This means template-hsc.h
      doesn't need to includes any headers, so we don't pollute the C
      environment.
      (actually, we still need to include stddef.h).
    
    * Use runProcess rather than system. It used to try to conditionally
      use runProcess if it was available, but never actually did. Now it
      uses it unconditionally.
    
    * Some tidying up
    5f3ac526
    Various hsc2hs improvements
    Ian Lynagh authored
    * Fix GHC trac #2897: Generate a separate "utils" C file containing
      wrappers for functions like printf. This means template-hsc.h
      doesn't need to includes any headers, so we don't pollute the C
      environment.
      (actually, we still need to include stddef.h).
    
    * Use runProcess rather than system. It used to try to conditionally
      use runProcess if it was available, but never actually did. Now it
      uses it unconditionally.
    
    * Some tidying up
Loading