gnucap-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnucap-devel] gcc 4.3.1 and gnucap 0.35: compile issues


From: Werner Hoch
Subject: Re: [Gnucap-devel] gcc 4.3.1 and gnucap 0.35: compile issues
Date: Sun, 22 Jun 2008 12:38:52 +0200
User-agent: KMail/1.9.9

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]