-
Notifications
You must be signed in to change notification settings - Fork 30
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
Duplicate files warning in compilation time #109
Comments
@iWangJiaxiang: I've seen that, too, during my local compile runs. So far I haven't noticed any problems that derived from that. The content in RIOT-OS/RIOT#6367 seems to be related, which would point to doxygen as origin. Maybe a configuration default changed. |
It's true the warnings come from doxygen, but it points to a deeper problem: there are several files with the same name, which actually are basically the same code, but with minor differences. Compare for example read_vhost_cred_dir.c in gsi/gssapi with read_vhost_cred_dir.c in gsi/gss_assist. |
The first one is also located in a From the history of these files (https://github.com/gridcf/gct/commits/master/gsi/gssapi/source/library/read_vhost_cred_dir.c and https://github.com/gridcf/gct/commits/master/gsi/gss_assist/source/read_vhost_cred_dir.c) the second one seems to be the older one. So it could be that the Globus team was about to move that functionality into a library but didn't yet remove the original file for compatibility or lack of time. |
@msalle |
@fscheiner I agree it's not fully trivial. For static functions it would be fine, for non-static functions we cannot remove them. But there will be issues probably if there are currently non-static functions with the same name... |
Ok, the let's try to fix the Doxygen configuration then instead. The Documentation for the \file command says:
So omitting the file name from the |
...by avoiding file names for the `\file` command in the files changed with this commit. See https://www.doxygen.nl/manual/commands.html#cmdfile for details. Fixes gridcf#109.
Fixed in GCT 6.2.20210826 maintenance release. |
Hi, I got the warning below when compile the latest release https://github.com/gridcf/gct/tree/v6.2.20190906
Do you have any idea?
The text was updated successfully, but these errors were encountered: