Some scenarios:If I have a project that uses source code from a GPL 2 licensed project, and another set of source code from an MIT licensed project, what do I license my whole project as?What if I have a project with multiple modules where one module uses source code from a GPL2 project and another uses source code from MIT (or another license that states the whole project must be under the same license), but neither modules interact with one another?What should my project uses if I modify MIT licensed source code to use the source code of a GPL 2 licensed project (or let's say it's two licenses that state that both state the whole project must be under the same license)?
What do I choose if I use the source code from a GPL2 project, and another source code from MIT?
gpl;mit license
TLDR; assuming you are going to release it, you release your code under GPL.When mixing licenses the first question is generally, are they compatible - in this case (IIRC), yes they are. So using code from MIT and GPL are allowed in the same project.The second point is what duties do you have w.r.t. acknowledging the code being used - given the licenses in question, this is generally attribution and inclusion of the original license text.The third issue is what license can be the code be released under. Given the GPL, the code needs to be release under the same GPL license. The GPL is pretty clear on this. I believe this was also one of the original intents of the GPL - make sure code using the GPL remains GPL.