Re: gcc 4.3.1 and gnucap 0.35: compile issues

Werner Hoch <[email protected]>
Newsgroups gmane.comp.gnu.gnucap.devel
Message-ID <[email protected]>
On Samstag, 21. Juni 2008, Werner Hoch wrote:
> Hi Al,
>
> the compilation of gnucap 0.35 fails on openSUSE_11.0 distro.
>
> The reason is a missing include for <cstring>
>
> patch attached.

Seems that the mailing list removes attachments.

Next try: patch pasted in
-------------
diff --git a/modelgen/md.h b/modelgen/md.h
index 58452f1..c09945e 100644
--- a/modelgen/md.h
+++ b/modelgen/md.h
@@ -46,7 +46,7 @@
 #include <iostream>
 // types
 #include <complex>
-#include <string>
+#include <cstring>
 // containers
 #include <list>
 #include <vector>
diff --git a/src/md.h b/src/md.h
index 58452f1..c09945e 100644
--- a/src/md.h
+++ b/src/md.h
@@ -46,7 +46,7 @@
 #include <iostream>
 // types
 #include <complex>
-#include <string>
+#include <cstring>
 // containers
 #include <list>
 #include <vector>
-------------

Regards
Werner
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.