ACE_TAO icon indicating copy to clipboard operation
ACE_TAO copied to clipboard

ACE_TAO is build in gcc 6 and above not in <5 gcc

Open navinagaraj opened this issue 2 years ago • 5 comments

Error log:
hort, CORBA::Short)':
ACExTAO-7.1.3/ACE_wrappers/TAO/examples/Simple/grid/Grid_i.cpp:26:14: error: call of overloaded 'unique_ptr(int)' is ambiguous
     array_ (0)

navinagaraj avatar Feb 05 '24 07:02 navinagaraj

ACE+TAO require C++14 or newer, gcc < 5 is ancient, please upgrade your compiler. Feel free to open a pull request with a proposed fix for the example

jwillemsen avatar Feb 05 '24 08:02 jwillemsen

Have you tried the latest 6.x version? https://github.com/DOCGroup/ACE_TAO/releases/tag/ACE%2BTAO-6_5_20

mitza-oci avatar Feb 05 '24 14:02 mitza-oci

Is ACE+TAO-7_1_3 the latest version? Can you explain why this version doesn't build in gcc 5 but builds in gcc 6?

navinagaraj avatar Feb 06 '24 05:02 navinagaraj

gcc5 is ancient and doesn't have full C++14 support. The current actively maintained platforms are listed on the scoreboard, see http://www.dre.vanderbilt.edu/scoreboard/integrated.html. The github action CI doees compile the core with various gcc versions, gcc 7 is the oldest version used there. When you depend on a certain platform consider sponsoring it, see https://github.com/DOCGroup/ACE_TAO/wiki/ACE-and-TAO-Commercial-support for the support providers who can assist with that

jwillemsen avatar Feb 06 '24 08:02 jwillemsen

You are welcome to open a PR to fix this compile error with gcc 5, but be aware that C++14 is the minimum required C++ level at this moment, we plan to move to C++17

jwillemsen avatar Feb 06 '24 08:02 jwillemsen

Closing, gcc 5 isn't actively maintained anymore

jwillemsen avatar Apr 05 '24 11:04 jwillemsen