DOCGroup / ACE_TAO

ACE and TAO
https://www.dre.vanderbilt.edu/~schmidt/TAO.html
701 stars 380 forks source link

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

Closed navinagaraj closed 6 months ago

navinagaraj commented 8 months ago
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)
jwillemsen commented 8 months ago

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

mitza-oci commented 8 months ago

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

navinagaraj commented 8 months ago

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?

jwillemsen commented 8 months ago

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 commented 8 months ago

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 commented 6 months ago

Closing, gcc 5 isn't actively maintained anymore