DOCGroup / ACE_TAO

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

fix for #2286 - avoid header compilation failure in %install phase #2288

Closed undergraver closed 1 month ago

undergraver commented 1 month ago

Adding -std=c++17 to avoid header compilation failure which removes them from the list of headers. Fixing #2286 - tested on openSUSE15.6 with gcc 7.5 compiler which is not c++17 or newer by default.

The explanation for working with g++ 14.2 (on openSUSE Tumbleweed) is that the compiler is by default c++17 while g++ 7.5 is c++14 even if the compiler is capable of handling c++17 specs - which is actually used in compilation.

jwillemsen commented 1 month ago

Thanks!