-
Notifications
You must be signed in to change notification settings - Fork 381
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TAO fails to compile using gcc12 #1832
Comments
To build and use ACE/TAO with GCC 12 you have to add
to your ACE/config.h https://www.gnu.org/software/gcc/gcc-12/changes.html https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 |
Please open a pull request to add this to the ACE specific config header file and to add gcc12 to github actions CI |
Does anyone have evidence of a build with What I'm seeing so far is that there are places in the compiler like |
And I forgot to mention... it may make a difference if versioned namespaces are enabled (MPC feature versioned_namespace=1). |
Not the combination as far as I know, TAOX11 uses versioned namespaces for the core of TAO but that is a limited set of types used and we don't support Solaris/Embarcadero C++ Builder which seem to require |
OK, based on what I learned over the past few days I'm abandoning efforts on Because some overloads of When |
Version
Master branch (and some of the versions used for OpenDDS)
Host machine and operating system
Fedora 36
Compiler name and version (including patch level)
gcc-12.0.1
clang-14.0.0
The $ACE_ROOT/ace/config.h file
config-linux.h
The $ACE_ROOT/include/makeinclude/platform_macros.GNU file
This was taken from the github workflow
AREA/CLASS/EXAMPLE AFFECTED:
Compilation fails here:
../../tao/Any_Insert_Policy_T.h:42:14: error: no viable overloaded '<<='
The problem effects:
Fails to compile
Synopsis
Compilation fails here:
../../tao/Any_Insert_Policy_T.h:42:14: error: no viable overloaded '<<='
Description
There's some more information in this issue on the OpenDDS:
OpenDDS/OpenDDS#3495
Repeat by
Seems to be an issue with gcc12
I'd like to help fix this but I'm not sure how to go about that with this one
The text was updated successfully, but these errors were encountered: