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

From: Manu goswami <manugoswami_at_...32...>
Date: Sat, 9 Oct 2021 11:43:34 +0000
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<https://aka.ms/o0ukef>
________________________________
From: manugoswami_at_...127... <manugoswami_at_...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
Received on Sat Oct 09 2021 - 11:43:54 CEST

This archive was generated by hypermail 2.3.0 : Thu Feb 22 2024 - 18:13:20 CET