[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #61668] [octave-forge] (gsl) configure tests f
From: |
Dmitri A. Sergatskov |
Subject: |
[Octave-bug-tracker] [bug #61668] [octave-forge] (gsl) configure tests fail because main is defined with no return type |
Date: |
Wed, 31 Jan 2024 09:37:20 -0500 (EST) |
Follow-up Comment #11, bug#61668 (group octave):
I also see warnings about main w/o return type, but those do not look
detrimental:
...
conftest.cpp:21:1: warning: ISO C++ forbids declaration of 'main' with no type
[-Wreturn-type]
21 | main()
| ^~~~
configure:3166: $? = 0
configure:3189: g++ -c -g -O2 -I/usr/local/include/octave-9.0.1/octave
conftest.cpp >&5
conftest.cpp:24:1: warning: ISO C++ forbids declaration of 'main' with no type
[-Wreturn-type]
24 | main()
| ^~~~
configure:3189: $? = 0
configure:3209: checking for cos in -lm
configure:3234: g++ -o conftest -g -O2 conftest.cpp -lm >&5
conftest.cpp:28:6: warning: declaration of 'char cos()' conflicts with
built-in declaration 'double cos(double)' [-Wbuiltin-declaration-mismatch]
28 | char cos ();
| ^~~
configure:3234: $? = 0
configure:3243: result: yes
...
Dmitri
--
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61668>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #61668] [octave-forge] (gsl) configure tests fail because main is defined with no return type, Marius Schamschula, 2024/01/30
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- [Octave-bug-tracker] [bug #61668] [octave-forge] (gsl) configure tests fail because main is defined with no return type,
Dmitri A. Sergatskov <=
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available
- Message not available