Skip to content
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

having compilation issues with gcc 13 in a docker container #40

Open
stranda opened this issue Nov 10, 2024 · 0 comments
Open

having compilation issues with gcc 13 in a docker container #40

stranda opened this issue Nov 10, 2024 · 0 comments

Comments

@stranda
Copy link

stranda commented Nov 10, 2024

Hi I've been able to install ngsTools in a docker container in the past, but now I'm getting a compilation error in the

ngsUtils/GetSubGeno.cpp file.

A template structure named 'array' is declared in this file and when it is referenced in line 76, the compiler gives an "ambiguous reference" error.

This does not happen when I compile with gcc11 on a different machine but does when I use gcc13 in the docker container.

This is my hypothesis: It appears that there has been a change in the std library that now includes array as a template (std::array). Because of the 'using namespace std' line, the compiler is getting confused about what array template is being referenced. But I'm not a strong c++ programmer so I may be misunderstanding.

This is an issue for me because I am updating my docker containers for HPC usage

Thanks for any perspective
allan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant