Re: [eclipse-clp-users] Eclipse C++ examples not compiling

From: Paulo Moura <pmoura_at_...342...>
Date: Mon, 21 Feb 2022 10:02:39 +0000
Dear Manu,

I find your mail upsetting, unfair, and completely missing the point on open source software. As the ECLiPSe license makes it clear:

7. DISCLAIMER OF WARRANTY.
COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS'' BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.

You can always try to contribute a solution or use the professional support described at:

http://eclipseclp.org/commercial.html

Have you tried either option?

Cheers,
Paulo


> On 9 Oct 2021, at 12:43, Manu goswami <manugoswami_at_...32...> wrote:
> 
> Hi Developers,
> 
> Eclipse clp is really creating great problems due to frequent fundamental changes causing what is perfectly working today completely breaking down next morning. Hopefully that was not the purpose of it being ‘open source’
> 
> Kindly please respond to below most urgently as a lot depends on it.
> 
> Warm regards,
> Manu
> 
> Get Outlook for iOS
> From: manugoswami_at_...127... <manugoswami@...127...>
> Sent: Saturday, October 9, 2021 4:17 PM
> To: kish_shen_at_...127...
> Cc: manugoswami_at_...127...
> Subject: Eclipse C++ examples not compiling
>  
> REPLY at https://sourceforge.net/u/manugoswami/profile/send_message
> 
> Hi Mr Kish,
> 
> I am unable to compile cc examples. Illustration below
> 
> eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
> 
> $ make eg_cc_external
> /bin/x86_64-w64-mingw32-c++ -g -D_REENTRANT -fPIC -fno-strict-overflow -Wno-logical-op-parentheses -Wno-bitwise-op-parentheses -Wno-pointer-sign -DPRINTAM -I. -I../src -I../../sys_include -isystem /usr/x86_64-w64-mingw32/sys-root/mingw/include -c ../src/eg_cc_external.cc
> cc1plus: warning: command-line option ‘-Wno-pointer-sign’ is valid for C/ObjC but not for C++
> cc1plus: note: unrecognized command-line option ‘-Wno-bitwise-op-parentheses’ may have been intended to silence earlier diagnostics
> cc1plus: note: unrecognized command-line option ‘-Wno-logical-op-parentheses’ may have been intended to silence earlier diagnostics
> /bin/x86_64-w64-mingw32-c++ -o eg_cc_external eg_cc_external.o \
> -L. -Wl,-rpath,. -leclipse \
> -L../../lib/x86_64_nt -L../../sys_lib/x86_64_nt -Wl,-rpath,../../lib/x86_64_nt \
> -lshm -L. -lgmp -lpthread -ldl -lws2_32 -lnetapi32 -lm
> /usr/bin/x86_64-w64-mingw32-ld: /usr/x86_64-w64-mingw32/sys-root/mingw/lib/../lib/libmingw32.a(lib64_libmingw32_a-crt0_c.o): in function main&#39;: /usr/src/debug/mingw64-x86_64-runtime-9.0.0-1/crt/crt0_c.c:18: undefined reference toWinMain'
> collect2: error: ld returned 1 exit status
> make: *** [Makefile:312: eg_cc_external] Error 1
> 
> manugoswami_at_...436... /cygdrive/d/ons_1/ons_eclipse/ons_eclipse_7055/kernel/x86_64_nt
> $ make eg_cc_test.cc
> make: Nothing to be done for '../src/eg_cc_test.cc'.
> 
> manugoswami_at_...436... /cygdrive/d/ons_1/ons_eclipse/ons_eclipse_7055/kernel/x86_64_nt
> $ make eg_cc_test
> /bin/x86_64-w64-mingw32-c++ -g -D_REENTRANT -fPIC -fno-strict-overflow -Wno-logical-op-parentheses -Wno-bitwise-op-parentheses -Wno-pointer-sign -DPRINTAM -I. -I../src -I../../sys_include -isystem /usr/x86_64-w64-mingw32/sys-root/mingw/include -c ../src/eg_cc_test.cc
> cc1plus: warning: command-line option ‘-Wno-pointer-sign’ is valid for C/ObjC but not for C++
> In file included from /lib/gcc/x86_64-w64-mingw32/11/include/c++/ext/string_conversions.h:41,
> from /lib/gcc/x86_64-w64-mingw32/11/include/c++/bits/basic_string.h:6607,
> from /lib/gcc/x86_64-w64-mingw32/11/include/c++/string:55,
> from /lib/gcc/x86_64-w64-mingw32/11/include/c++/bits/locale_classes.h:40,
> from /lib/gcc/x86_64-w64-mingw32/11/include/c++/bits/ios_base.h:41,
> from /lib/gcc/x86_64-w64-mingw32/11/include/c++/ios:42,
> from /lib/gcc/x86_64-w64-mingw32/11/include/c++/ostream:38,
> from /lib/gcc/x86_64-w64-mingw32/11/include/c++/iostream:39,
> from ../src/eg_cc_test.cc:37:
> /lib/gcc/x86_64-w64-mingw32/11/include/c++/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
> 75 | #include_next <stdlib.h>
> | ^~~~~~~~~~
> compilation terminated.
> make: *** [Makefile:210: eg_cc_test.o] Error 1
> 
> Warm Regards,
> Manu
> 
> This message was sent to you via the SourceForge web mail form.
> Replying to this email will not work, please send a message to Manu Goswami at https://sourceforge.net/u/manugoswami/profile/send_message
> 
> _______________________________________________
> ECLiPSe-CLP-Users mailing list
> ECLiPSe-CLP-Users_at_lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/eclipse-clp-users

-----------------------------------------------------------------
Paulo Moura
Logtalk developer
Received on Mon Feb 21 2022 - 10:57:49 CET

This archive was generated by hypermail 2.3.0 : Wed Sep 25 2024 - 15:13:21 CEST