-
Notifications
You must be signed in to change notification settings - Fork 158
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
allow compilation of files with same names #141
base: master
Are you sure you want to change the base?
Conversation
NAR plugin for Maven » nar-maven-plugin #278 FAILURE |
The buildhive failure seems to be a problem not related with the pull request. The output console dumps the following output: Modules changed, recalculating dependency graph |
@ruimaranhao First of all: it is great that you contributed to this exciting project. Thank you! And do not worry about BuildHive; I just ran the integration tests successfully here. Sometimes BuildHive has problems. However, I would like to request a slight change that will make reviewing this commit much easier. Also, I would like to ask for an additional commit that, say, modifies Lastly, instead of using |
NAR plugin for Maven » nar-maven-plugin #279 FAILURE |
This time around, it seems that Jenkins actually picked up on a real problem:
So I fear that the strategy is not quite working: in order to prevent multiple files with identical file name from clashing, we would need to specify output names, but at the same time, we also need to pass the |
gonna check it how to make it work. Would it be possible to use the program that you're using to test ? |
The best strategy is probably to accumulate the paths of the clashing files and call the compiler individually on those, so that |
@ruimaranhao how's it going? |
I think the error gcc is kicking out is not because you're specifying -o with -c, so much as it's because you're specifying -o with a list of multiple files to compile. The error message is less than clear, but thinking about what you're asking gcc to do makes it pretty clear that it probably won't work... You're compiling two different objects, so they'll each need their own name... But with the -o argument there is no way to provide those names... It seems (to me) like the strategy needs a little refinement here... |
Enable compilation of files with the same name but different folders.