Is it possible for the compiler to indicate which modules are causing the problem when it fails with the error "The same named entity from different modules and/or program units cannot be referenced". I have a source file of some 8,000 lines which the complier is taking nearly 15 minutes to process giving this error and pointing to the first line in the file which is a commented out compiler directive - which isn't very helpful.
Is there any way of getting some indication from the compiler as to what it is doing? The source file is one of a number of files that are similar in that they are linked with the same libraries and are used to build similar GUIs. Currently they are all built in debug mode and nine out of ten projects build in seconds while this one source file takes an age to compile. (Or, at the moment, fail to compile.)