octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #59159] [octave forge] (gsl) Installation erro


From: Carlo de Falco
Subject: [Octave-bug-tracker] [bug #59159] [octave forge] (gsl) Installation error using clang
Date: Wed, 16 Nov 2022 04:57:47 -0500 (EST)

Follow-up Comment #7, bug #59159 (project octave):

this patch seems to fix the compilations issues with clang++ on macosx for me



--- configure.ac.bak    2022-11-16 10:49:42.000000000 +0100
+++ configure.ac        2022-11-16 10:50:11.000000000 +0100
@@ -86,7 +86,7 @@ AC_COMPILE_IFELSE(
   [AC_LANG_SOURCE(
      [[
 #include "ov-scalar.h"
-main()
+int main()
 {
   octave_scalar x (1.234);
   bool y = x.isreal ();
@@ -106,7 +106,7 @@ AC_COMPILE_IFELSE(
 #include "ov-scalar.h"
 #include "ovl.h"
 #include "parse.h"
-main()
+int main()
 {
   octave_value_list ovl = octave::feval ("sin", octave_value (1.234));
   return 0;



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59159>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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