Bill Hoffman wrote:
Joachim Geiger wrote:
Bill Hoffman wrote:


So, does CVS cmake need the changes to curl.h and friends, or is it just 2.4.8?

No, the cvs-cmake does it alright.

Can you send me a patch?
I don't think there will be a 2.4.9 but I can put the patch on the branch...
I made a patch with the command
diff -Naur cmake-2.4.8 cmake-2.4.8_changed
and attached it to the e-mail.

I see it now:

The fortran issue is here:
http://public.kitware.com/CDash/testDetails.php?test=1651182&build=37538

..

Do you recognize the errors at all?  Is the code wrong?

-Bill
The code is ok and I think I can explain the behavior to a certain extent. Since the f95 command has set the default option -qfree=f90 , it expects free-formatted fortran code and naturally refuses with an error when given a fixed-formatted code. The failure occurs because fixed-formatted code allows comments with the letter "C" in the first column whereas free-formatted code accepts "!" as comment character. The xlf command works, however, I was not able to find the exact way how it works. So my guess is that xlf knows from the suffix .f90, that it may get free-formatted code and does accept it. If I find more, I will post it here. I accidentially make an Experimental-make with a gcc compiler version 3.1 on the sp-machine with the cvs-cmake. An experimental make with the IBM-compilers and xlf as Fortran compiler with the current cvs is in work.
Best regards,
Joachim

--
Joachim Geiger [EMAIL PROTECTED]
Max-Planck-Institute for Plasma Physics,        @\\
  Euratom Association                            \\\
Department Stellaratortheorie (ST)                \\\__
Wendelsteinstr. 1                                (  \\ \
D-17491 Greifswald, Germany                       \_ \\(_
Tel.: ++49 3834/88-2327   Fax: ++49 3834/88-2409    ) \\ \
e-mail: [EMAIL PROTECTED]                   \  -  |
---------------------------------------------------  \____/
diff -Naur cmake-2.4.8/Utilities/cmcurl/curl/curl.h 
cmake-2.4.8_changed/Utilities/cmcurl/curl/curl.h
--- cmake-2.4.8/Utilities/cmcurl/curl/curl.h    2008-01-21 19:59:57.000000000 
+0100
+++ cmake-2.4.8_changed/Utilities/cmcurl/curl/curl.h    2008-03-25 
16:41:37.000000000 +0100
@@ -1315,7 +1315,7 @@
  * into the equivalent human readable error string.  This is useful
  * for printing meaningful error messages.
  */
-const char *curl_easy_strerror(CURLcode);
+char *curl_easy_strerror(CURLcode);
 
 /*
  * NAME curl_share_strerror()
@@ -1326,7 +1326,7 @@
  * into the equivalent human readable error string.  This is useful
  * for printing meaningful error messages.
  */
-const char *curl_share_strerror(CURLSHcode);
+char *curl_share_strerror(CURLSHcode);
 
 #ifdef  __cplusplus
 }
diff -Naur cmake-2.4.8/Utilities/cmcurl/curl/multi.h 
cmake-2.4.8_changed/Utilities/cmcurl/curl/multi.h
--- cmake-2.4.8/Utilities/cmcurl/curl/multi.h   2008-01-21 19:59:57.000000000 
+0100
+++ cmake-2.4.8_changed/Utilities/cmcurl/curl/multi.h   2008-03-25 
16:40:56.000000000 +0100
@@ -212,7 +212,7 @@
  * into the equivalent human readable error string.  This is useful
  * for printing meaningful error messages.
  */
-const char *curl_multi_strerror(CURLMcode);
+char *curl_multi_strerror(CURLMcode);
 
 #ifdef __cplusplus
 } /* end of extern "C" */
diff -Naur cmake-2.4.8/Utilities/cmcurl/strerror.c 
cmake-2.4.8_changed/Utilities/cmcurl/strerror.c
--- cmake-2.4.8/Utilities/cmcurl/strerror.c     2008-01-21 19:59:58.000000000 
+0100
+++ cmake-2.4.8_changed/Utilities/cmcurl/strerror.c     2008-03-25 
16:41:17.000000000 +0100
@@ -41,7 +41,7 @@
 #endif
 #endif
 
-const char *
+char *
 curl_easy_strerror(CURLcode error)
 {
   switch (error) {
@@ -250,7 +250,7 @@
   return "unknown error";
 }
 
-const char *
+char *
 curl_multi_strerror(CURLMcode error)
 {
   switch (error) {
@@ -279,7 +279,7 @@
   return "unknown error";
 }
 
-const char *
+char *
 curl_share_strerror(CURLSHcode error)
 {
   switch (error) {
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to