pngconf.h

Witold Filipczyk witekfl w poczta.onet.pl
Sob, 11 Sty 2003, 11:17:59 CET


W pliku /usr/include/pngconf.h
jest taki fragment:

#  ifdef __linux__
#    ifdef _BSD_SOURCE
#      define PNG_SAVE_BSD_SOURCE
#      undef _BSD_SOURCE
#    endif
#    ifdef _SETJMP_H
      __png.h__ already includes setjmp.h;
      __dont__ include it again.;
#    endif
#  endif /* __linux__ */

Zdaję mi się, że coś jest nie tak.  links-hacked się nie chciał skompliować
przez to.
Proponuję taki patch na to:
--- pngconf.h.orig	Sat Jan 11 11:02:07 2003
+++ pngconf.h	Sat Jan 11 11:04:51 2003
@@ -252,8 +252,8 @@
 #      undef _BSD_SOURCE
 #    endif
 #    ifdef _SETJMP_H
-      __png.h__ already includes setjmp.h;
-      __dont__ include it again.;
+#warning      __png.h__ already includes setjmp.h;
+#warning      __dont__ include it again.;
 #    endif
 #  endif /* __linux__ */
 
Niech się wypowie w tej sprawie ktoś, kto wie o co tu chodzi.

-- 
Witold Filipczyk
<witekfl w poczta.onet.pl>



Więcej informacji o liście dyskusyjnej pld-devel-pl