>>>>> "jjg" == Juan Jose Garcia-Ripoll <juanjose.garciarip...@googlemail.com> 
>>>>> writes:

  jjg> I would appreciate if you could test it and give me the ok.

  Hi Juanjo,

  When building with a C++ compiler, the attached tiny change to
  gmp fixes the following error when using ECL

,----
| ;;; End of Pass 1.In file included from /usr/local/include/ecl/config.h:58:0,
|                  from /usr/local/include/ecl/ecl.h:35,
|                  from /usr/local/include/ecl/ecl-cmp.h:18,
|                  from /tmp/ecl001LsOCzs.c:5:
| /usr/local/include/ecl/gmp.h:533:12: error: ‘std::FILE’ has not been declared
`----

diff --git a/src/gmp/gmp-h.in b/src/gmp/gmp-h.in
index 8a70b1e..4c2a398 100644
--- a/src/gmp/gmp-h.in
+++ b/src/gmp/gmp-h.in
@@ -24,6 +24,7 @@ MA 02110-1301, USA. */
 
 #if defined (__cplusplus)
 #include <iosfwd>   /* for std::istream, std::ostream, std::string */
+#include <cstdio>
 #endif
 
 
-- 
Eric Marsden
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to