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

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

[Octave-bug-tracker] [bug #61668] [octave-forge] (gsl) configure tests f


From: Carlo de Falco
Subject: [Octave-bug-tracker] [bug #61668] [octave-forge] (gsl) configure tests fail because main is defined with no return type
Date: Mon, 13 Dec 2021 10:28:43 -0500 (EST)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:95.0) Gecko/20100101 Firefox/95.0

Follow-up Comment #1, bug #61668 (project octave):

[comment #0 original submission:]
> the following change fixes the problem for me

the patch didn't show in the original submission, trying again ...



$ diff -u configure.ac.in configure.ac.in.new 
--- configure.ac.in     2021-12-13 16:16:41.000000000 +0100
+++ configure.ac.in.new 2021-12-13 16:15:25.000000000 +0100
@@ -82,7 +82,7 @@
   [AC_LANG_SOURCE(
      [[
 #include "ov-scalar.h"
-main()
+int main()
 {
   octave_scalar x (1.234);
   bool y = x.isreal ();
@@ -102,7 +102,7 @@
 #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/?61668>

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




reply via email to

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