[darcs-devel] darcs patch: Move conditional #include from Darcs.External to makef...

Eric Kow eric.kow at gmail.com
Tue Aug 7 13:34:06 PDT 2007


CC'ing to Dave Love because he might particularly want to comment on this.
This gets rid of an annoying compile warning I've been getting on MacOS X for
some time.

Tue Aug  7 22:30:37 CEST 2007  Eric Kow <eric.kow at gmail.com>
  * Move conditional #include from Darcs.External to makefile.
    
  The GHC manual says that this is *not* the preferred option, but for some
  reason, the include pragmas seem to get ignored.  Perhaps it is because the
  requirement that the pragmas be on the top of the file conflict with the #ifdef
  statements.
  
  In any case, this patch gets rid of the warning on MacOS X:
    warning: implicit declaration of function ‘tgetnum’

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 112769 bytes
Desc: A darcs patch for your repository!
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20070807/b3c1580c/attachment-0001.bin


More information about the darcs-devel mailing list